1
0
mirror of https://github.com/abraunegg/onedrive.git synced 2026-10-24 15:19:18 +03:00
Files
abraunegg d07fa1f45e Fix Bug #3675: Fix SIGSEGV during shutdown caused by logging subsystem teardown race condition (#3676)
This PR resolves a segmentation fault (SIGSEGV) that occurs during application shutdown, specifically within the logging subsystem.

Under signal-triggered termination (e.g. SIGINT via CTRL-C), the application could crash while tearing down logging resources. The failure was traced to unsafe destructor ordering and concurrent access to logging internals during shutdown.

* Fix logging shutdown behaviour to ensure that all buffered log messages are flushed and the logging thread exits cleanly.
* Replace exit(...) with _Exit(...) when terminating the application from exitViaSignalHandler() after a signal-driven shutdown.
* Add smoke test badge
2026-04-05 07:36:15 +10:00
..