-
Notifications
You must be signed in to change notification settings - Fork 103
Segmentation fault while loading local database #289
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
Comments
It looks like out of memory crash (like #110 and #277). I guess you got a lot of emails in your account. Can you try starting the app with |
That did the trick. Thanks for the fix! I've added that to the shortcuts I use so it'll automatically execute that argument each time. Yes, I have multiple accounts with far too many emails (some with large numbers of very small emails in them). I turned off local storage for several of the worst offenders just now and am hoping that will keep them from getting out of control. I'm planning on doing some more aggressive downloading and deleting of emails at some point, but I've had other projects take priority. I'm hoping to get those done before they get too much again! (I'm also hoping that turning off local storage for an account actually deletes all the email data stored on the hdd for that account? The local storage seemed to save all emails, even ones that had been later deleted on the account itself, so if it functioned thus, that would be a way of forcing a proper re-sync if desired…) |
If you turning off the local storage flag for the account then the respective records get removed from the local database on the next app start, not immediately. So while the app is still running you have a chance to turn it back on without a need to re-sync the stuff since data is still in the memory.
You can then increase that mem limit even more :) Hope the upstream/Electron issue gets resolved and so I could increase the default mem limit for everyone (the default value is ~2GB). Closing the issue as resolved with a workaround. |
I'm using the snap version on Linux Mint 18.1, installed about a week ago.
When I launch ElectronMail, it loads the "loading local database" screen. I have it set to automatically log in, so it attempts to do that, says it's loading the local database which can take up to 300 seconds… and then it segfaults. Every time. It worked the first few times, and I haven't done anything different or unusual that I can think of. No new accounts, etc. The last time I closed it it had the usual error I get when it's had some issue with the database, with 25000 ms timeout, but I've had that one before and it didn't crash the program. I can't remember what the exact words of that error were, unfortunately.
Launching it from terminal, this is what I get:
And the program's gone.
Note there's about a couple dozen lines of the ProtocolDeprecateCallback bit (I put the . . . vertically where they come in, as they're all identical) but that doesn't seem to really be the problem.
How do I get this to work again?
The text was updated successfully, but these errors were encountered: