Bug 461131 - Korganizer sometimes crashes on startup
Summary: Korganizer sometimes crashes on startup
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: general (show other bugs)
Version: 5.21.2
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-10-28 21:45 UTC by Thomas Murach
Modified: 2023-04-22 05:05 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Murach 2022-10-28 21:45:55 UTC
Application: korganizer (5.21.2 (22.08.2))

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.3-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.26.1 [KCrashBackend]

-- Information about the crash:
When booting my desktop machine and starting KDE, sometimes I'm greeted with DrKonqi telling me that Korganizer has crashed. Zero user interaction has happened until this point. Simply restarting the app has worked fine in all cases so far.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KOrganizer (korganizer), signal: Segmentation fault

[KCrash Handler]
#4  KJob::setError (this=this@entry=0x0, errorCode=errorCode@entry=100) at /usr/src/debug/kcoreaddons-5.99.0-1.1.x86_64/src/lib/jobs/kjob.cpp:254
#5  0x00007f9316bc6734 in Akonadi::SessionPrivate::serverStateChanged (this=<optimized out>, state=<optimized out>) at /usr/src/debug/akonadi-22.08.2/src/core/session.cpp:298
#6  0x00007f931531305d in QtPrivate::QSlotObjectBase::call (a=0x7ffeed012800, r=0x557b96de6d60, this=0x557b96dffc70) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x557b96e074b0, signal_index=5, argv=0x7ffeed012800) at kernel/qobject.cpp:3919
#8  0x00007f931530c4df in QMetaObject::activate (sender=<optimized out>, m=<optimized out>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffeed012800) at kernel/qobject.cpp:3979
#9  0x00007f9316bbdb31 in Akonadi::ServerManager::stateChanged (this=<optimized out>, _t1=<optimized out>, _t1@entry=Akonadi::ServerManager::Broken) at /usr/src/debug/akonadi-22.08.2/build/src/core/KF5AkonadiCore_autogen/include/moc_servermanager.cpp:180
#10 0x00007f9316bbdd9c in Akonadi::ServerManagerPrivate::setState (state=Akonadi::ServerManager::Broken, this=0x7f9316ca7300 <_ZZN12_GLOBAL__N_115Q_QGS_sInstance13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/akonadi-22.08.2/src/core/servermanager.cpp:73
#11 Akonadi::ServerManagerPrivate::timeout (this=0x7f9316ca7300 <_ZZN12_GLOBAL__N_115Q_QGS_sInstance13innerFunctionEvE6holder.lto_priv.0>) at /usr/src/debug/akonadi-22.08.2/src/core/servermanager.cpp:93
#12 Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}::operator()() const (__closure=<optimized out>) at /usr/src/debug/akonadi-22.08.2/src/core/servermanager.cpp:52
#13 QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}>::call(Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}&, void**) (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#14 QtPrivate::Functor<Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}, 0>::call<QtPrivate::List<>, void>(Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}&, void*, void**) (arg=<optimized out>, f=...) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#15 QtPrivate::QFunctorSlotObject<Akonadi::ServerManagerPrivate::ServerManagerPrivate()::{lambda()#1}, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#16 0x00007f931531305d in QtPrivate::QSlotObjectBase::call (a=0x7ffeed012910, r=0x557b96e074b0, this=0x557b96de0980) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#17 doActivate<false> (sender=0x7f93080150e0, signal_index=3, argv=0x7ffeed012910) at kernel/qobject.cpp:3919
#18 0x00007f931530c4df in QMetaObject::activate (sender=<optimized out>, m=m@entry=0x7f93155b39c0 <QTimer::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffeed012910) at kernel/qobject.cpp:3979
#19 0x00007f9315316e9a in QTimer::timeout (this=<optimized out>, _t1=...) at .moc/moc_qtimer.cpp:205
#20 0x00007f93153077ed in QObject::event (this=0x7f93080150e0, e=0x7ffeed012a60) at kernel/qobject.cpp:1369
#21 0x00007f9315fa53fe in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7f93080150e0, e=0x7ffeed012a60) at kernel/qapplication.cpp:3637
#22 0x00007f93152dc178 in QCoreApplication::notifyInternal2 (receiver=0x7f93080150e0, event=0x7ffeed012a60) at kernel/qcoreapplication.cpp:1064
#23 0x00007f9315332c01 in QTimerInfoList::activateTimers (this=0x557b96cd08c0) at kernel/qtimerinfo_unix.cpp:643
#24 0x00007f9315333494 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:183
#25 0x00007f9312d20a50 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#26 0x00007f9312d20e08 in ?? () from /lib64/libglib-2.0.so.0
#27 0x00007f9312d20e9c in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#28 0x00007f9315333806 in QEventDispatcherGlib::processEvents (this=0x557b96cd05a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#29 0x00007f93152dabeb in QEventLoop::exec (this=this@entry=0x7ffeed012ca0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#30 0x00007f93152e2d56 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#31 0x0000557b94d8d532 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/korganizer-22.08.2-1.1.x86_64/src/main.cpp:72
[Inferior 1 (process 2231) detached]

The reporter indicates this bug may be a duplicate of or related to bug 458315, bug 458497.

Reported using DrKonqi
Comment 1 Carl Schwan 2023-04-22 05:00:43 UTC
Git commit eca4fdbdf328883ae564b568c9ba13697cc90c4a by Carl Schwan, on behalf of Jiří Paleček.
Committed on 22/04/2023 at 04:54.
Pushed by carlschwan into branch 'master'.

Fix wrong for clause in Akonadi::Session
Related: bug 468343, bug 465245, bug 464275, bug 462213, bug 462169, bug 460653, bug 460586, bug 458497, bug 458315

M  +6    -3    src/core/session.cpp

https://invent.kde.org/pim/akonadi/commit/eca4fdbdf328883ae564b568c9ba13697cc90c4a
Comment 2 Carl Schwan 2023-04-22 05:05:55 UTC
Git commit 0ab418bacdaf8322771e41452a87d062a2449869 by Carl Schwan, on behalf of Jiří Paleček.
Committed on 22/04/2023 at 05:05.
Pushed by carlschwan into branch 'release/23.04'.

Fix wrong for clause in Akonadi::Session
Related: bug 468343, bug 465245, bug 464275, bug 462213, bug 462169, bug 460653, bug 460586, bug 458497, bug 458315
(cherry picked from commit eca4fdbdf328883ae564b568c9ba13697cc90c4a)

M  +6    -3    src/core/session.cpp

https://invent.kde.org/pim/akonadi/commit/0ab418bacdaf8322771e41452a87d062a2449869