https://bugs.kde.org/show_bug.cgi?id=499859
--- Comment #5 from Ingo Klöcker <kloec...@kde.org> --- It also crashes with a completely empty session file. I built v24.12.1 and v24.12.0 and they also crash so it's not a (recent) regression in kalarm and since I use 24.12.x before it doesn't seem to be a bug in kalarm. The crash seems to happen in RemoteLogger::~RemoteLogger() (from Akonadi). This is a singleton that tries to self-destruct when the application is about to quit: https://invent.kde.org/pim/akonadi/-/blob/release/24.12/src/shared/akremotelog.cpp#L39 Maybe QLoggingCategory is already half destroyed when ~RemoteLogger runs. Although this doesn't happen when kalarm is quit after being started with `kalarm --tray`. Weird. Anyway. The question is why does kalarm seem to quit in the first place when it's session-restored? I have put a breakpoint in QCoreApplication::aboutToQuit. That gives: #0 QCoreApplication::aboutToQuit (this=0x694130, _t1=...) at /usr/src/debug/qtbase-everywhere-src-6.8.2/build/src/corelib/Core_autogen/include/moc_qcoreapplication.cpp:264 #1 0x00007ffff4fb5e15 in QCoreApplication::exit (returnCode=returnCode@entry=0) at /usr/src/debug/qtbase-everywhere-src-6.8.2/src/corelib/kernel/qcoreapplication.cpp:1574 #2 0x000000000050369c in KAlarmApp::quitIf (this=this@entry=0x694130, exitCode=exitCode@entry=0, force=force@entry=false) at /home/ingo/dev/kde/kalarm/src/kalarmapp.cpp:796 #3 0x000000000050993b in KAlarmApp::activateInstance (this=this@entry=0x694130, args=..., workingDirectory=..., outputText=outputText@entry=0x7fffffffd350) at /home/ingo/dev/kde/kalarm/src/kalarmapp.cpp:704 #4 0x0000000000459de4 in main (argc=<optimized out>, argv=<optimized out>) at /home/ingo/dev/kde/kalarm/src/main.cpp:76 I have added a few qWarnings to KAlarmApp::activateInstance to debug why kalarm quits. It seems quitIf thinks it should quit. 22:04:13.286 W default: KAlarmApp::activateInstance 22:04:13.286 W default: KAlarmApp::activateInstance - exitCode: 0 22:04:13.286 W default: KAlarmApp::activateInstance - if (firstInstance && !dontRedisplay && !exitCode) 22:04:13.286 W default: KAlarmApp::activateInstance - if (ResourcesCalendar::instance()) 22:04:13.286 W default: KAlarmApp::activateInstance - if (quitIf(exitCode >= 0 ? exitCode : 0)) Looks like there's no main window or no tray window. Maybe you have an idea. -- You are receiving this mail because: You are watching all bug changes.