Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] App crashes when closing #11

Closed
medokin opened this issue May 5, 2014 · 6 comments
Closed

[Windows] App crashes when closing #11

medokin opened this issue May 5, 2014 · 6 comments

Comments

@medokin
Copy link

medokin commented May 5, 2014

Sometimes if all servers are shut down, it does not crash.

@coreybutler
Copy link
Owner

Where did you install the program and when did you download Fenix? If it's the most recent version, you are given a choice of where to install the application. Older versions do not.

@medokin
Copy link
Author

medokin commented May 5, 2014

I have downloaded it today and I did not change the path.

C:\ProgramData\Fenix

@coreybutler
Copy link
Owner

OK - that eliminates one potential problem point. Does your system user account have admin privileges?

I don't think this has to do with the servers running or not. I suspect a possible permissions issue with saving the state of the servers though. When the app closes, it attempts to write a file called servers.fnx to %APPDATA%/Fenix (on Windows). This file is just a JSON file containing the list of server metadata, including whether they should be automatically started or not. If the directory does not exist, Fenix attempts to create it.

To test, I'd suggest right-clicking on Fenix and selecting "Run as admin". This should provide elevated permissions, assuming your account has admin privileges. If this fixes the problem, then we know it's a matter of elevating permissions.

Thanks, and sorry for the troubles.

@medokin
Copy link
Author

medokin commented May 6, 2014

image

Thats odd, I cannot reproduce the issue today. The file exists and the app closes without a crash.
As admin, it works as well.

Do you log crashes anywhere?

@coreybutler
Copy link
Owner

Unfortunately, the app can't log crashes without a substantial addition that I didn't want to ship (node-webkit crashdump). There is a debug mode... I'm afraid it will close before you can see anything though. If you want to send me an email at corey@coreybutler.com, I can send you instructions if you'd like to take a look at the debugger.

In the meantime, I'm going to mark this as wontfix since it's uncertain if there is an actual problem or if it was just a glitch. If the behavior surfaces again. If any other users experience this, I hope they'll post their experience here so we can squish a bug if there actually is one.

@coreybutler
Copy link
Owner

I did come across some glitchy behavior... granted it was on the Mac version, but I applied the same fixes to the Windows version. So, I think this issue is closed now, but if you continue to experience the problem, please send me a note and I'll reopen it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants