Are you sure itās the OS?
In my case, the application began to randomly crash both on macOS Big Sur and on Windows 10 (and without memory dumps, which means it exits correctly).
Thank you for the reports, Phil and Dmitry.
According to the crash reports, it looks like itās a memory-related issue in Electron.
Thatās weird since there are not many changes in v5.5.2. Just some bugfixes.
Maybe upgrading Electron solves it. Iāll work on it.
In v5.5.2, node-sqlite3
has been bumped up from 4.2.0 to 5.1.1.
So, it could be causing the issue if there were internal breaking changes in the native scope.
Can you please try rebuilding the full-text index?
- Menu ā Developer ā Rebuild FTS Index
And letās see if it solves it.
Done, Iāll report if it still crashes. Thanks!
After Rebuild FTS Index the app not crashed all day (Windows 10).
I was having this absolutely same issue on my M2 Air on Ventura.
Rebuilt the FTS and will also report if it crashes.
Alas, it just crashed. Note that those crashes are infrequent for me ā maybe once or twice a week. And data is never lost, so re-opening the app means that all my work is there.
The application began to close spontaneously again. This happened twice in 2 hours. After that I applied āRebuild FTS Indexā again and this behavior stopped.
In the log only this:
[bugsnag] Loaded!
2022-12-01T07:52:23.423Z app:info Initializing inkdrop app..
2022-12-01T07:52:23.425Z app:info Arguments: C:\Users\USER_NAME\AppData\Local\inkdrop\app-5.5.2\Inkdrop.exe
2022-12-01T07:52:23.425Z app:info Arguments: --enable-logging
2022-12-01T07:52:23.453Z app:info Starting inkdrop app..
2022-12-01T07:52:23.475Z app:info axios default config: { proxy: false, httpAgent: undefined, httpsAgent: undefined }
2022-12-01T07:52:23.563Z app:info Starting a session
After restarting, all data is saved. There are no crash dumps, so exit is correct.
Iāve been testing with Electron v21 this week and itās been working without crashes in my environment.
Iāll push a beta release next week.
Iāve built it with Electron 21 for macOS. Can you try it? @Phil_Camus @Aleksis_K
https://inkdrop-dist.s3.ap-northeast-1.amazonaws.com/tmp/Inkdrop-5.5.2-arm64-Mac-patch-1.zip
I just crashed again this morning.
Iāll try this build and will report back.
Iāve also built for Windows. @anon11742380 Could you try it?
https://inkdrop-dist.s3.ap-northeast-1.amazonaws.com/tmp/Inkdrop-5.5.2-Windows-patch-1.zip
Yes, today I will start using this build.
Itās been a week. Have you guys got any crashes so far?
If not, I guess itās been resolved with Electron 21.
Iāll roll it out next week!
No crash so far for me. Thanks for the quick fix!
Awesome, thanks for letting me know, Phil!
There were no crashes during the 3 days of the test.
Great! Thanks Dmitry!
v5.5.3 is out! Thanks so much for your helpš
Iāll also reply, after testing the build for 19 days, zero crashes or any other issues.
Fix was a success!