Bug 458315

Summary: App crashes upon starting (possibly as its trying to start a server)
Product: [Applications] korganizer Reporter: sashank.karri
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: bedwards, fabricio47526245, grishka, jothamwebsite, jpalecek, sashank.karri, troytjh98, zieloo
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description sashank.karri 2022-08-25 21:12:24 UTC
Application: korganizer (5.21.0 (22.08.0))

Qt Version: 5.15.5
Frameworks Version: 5.97.0
Operating System: Linux 5.19.3-arch1-1 x86_64
Windowing System: X11
Distribution: EndeavourOS
DrKonqi: 5.25.4 [KCrashBackend]

-- Information about the crash:
It keeps crashing as soon as I start it.  I did not have this problem before.  The bug report stated it was a segmentation fault, but it crashes after the application has launched and it reads "PIM" is starting.  I'm running EndeavourOS with yay -Syu having been run a day or two ago.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007f870444d124 in KJob::setError(int) () from /usr/lib/libKF5CoreAddons.so.5
#5  0x00007f870486f46d in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /usr/lib/libKF5AkonadiCore.so.5
#6  0x00007f8703404341 in ?? () from /usr/lib/libQt5Core.so.5
#7  0x00007f8704865fd6 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /usr/lib/libKF5AkonadiCore.so.5
#8  0x00007f870486bbda in ?? () from /usr/lib/libKF5AkonadiCore.so.5
#9  0x00007f87033f7440 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f8703e49b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007f87033d3ad8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007f87033d45e3 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQt5Core.so.5
#13 0x00007f870341a548 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007f8700c0dc6b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007f8700c64001 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007f8700c0b392 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007f870341e32c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#18 0x00007f87033cc27c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007f87033d6da9 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#20 0x00005651ca1b9be8 in ?? ()
#21 0x00007f8702d2a2d0 in ?? () from /usr/lib/libc.so.6
#22 0x00007f8702d2a38a in __libc_start_main () from /usr/lib/libc.so.6
#23 0x00005651ca1ba065 in ?? ()
[Inferior 1 (process 253743) detached]

The reporter indicates this bug may be a duplicate of or related to bug 397428.

Reported using DrKonqi
Comment 1 sashank.karri 2022-08-25 21:20:51 UTC
Created attachment 151593 [details]
New crash information added by DrKonqi

korganizer (5.21.0 (22.08.0)) using Qt 5.15.5

I just ran yay -Syu.  It updated haskell stuff, libtiff stuff,  intel-oneapi stuff, kwallet, kaccounts-integration, kaccounts-providers, libwpe, python stuff, slang, system-config-printer, webki2gtk stuff, iana-etc, and grub.  The crash still is occuring after getting the system up to date.

-- Backtrace (Reduced):
#4  0x00007f1b36db4124 in KJob::setError(int) () from /usr/lib/libKF5CoreAddons.so.5
#5  0x00007f1b371d646d in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /usr/lib/libKF5AkonadiCore.so.5
[...]
#7  0x00007f1b371ccfd6 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /usr/lib/libKF5AkonadiCore.so.5
[...]
#9  0x00007f1b35d5e440 in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#10 0x00007f1b367b0b3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
Comment 2 Grrrishka 2023-01-17 09:24:53 UTC
Operating System: SparkyLinux 7
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.8
Kernel Version: 6.0.0-2-rt-amd64 (64-bit)
Distribution: SparkyLinux7 / Debian Testing


Same problem with Kalendar.

--- Run gdb:

Thread 1 "kalendar" received signal SIGSEGV, Segmentation fault.
Akonadi::IncidenceChanger::history (this=0x0) at /usr/include/c++/12/bits/unique_ptr.h:191
warning: Source file is more recent than executable.
191           pointer    _M_ptr() const noexcept { return std::get<0>(_M_t); }

-- Backtrace:

#0  Akonadi::IncidenceChanger::history (this=0x0) at /usr/include/c++/12/bits/unique_ptr.h:191
#1  0x000055555559f653 in CalendarManager::undoRedoData (
    this=this@entry=0x555555645140 <(anonymous namespace)::Q_QGS_calendarManagerGlobalInstance::innerFunction()::holder>) at ./src/calendarmanager.cpp:398
#2  0x0000555555588890 in CalendarManager::qt_static_metacall (_o=0x555555645140 <(anonymous namespace)::Q_QGS_calendarManagerGlobalInstance::innerFunction()::holder>, 
    _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./obj-x86_64-linux-gnu/src/kalendar_autogen/EWIEGA46WW/moc_calendarmanager.cpp:362
#3  0x00007ffff6adc430 in QQmlPropertyData::readProperty (property=<optimized out>, 
    target=0x555555645140 <(anonymous namespace)::Q_QGS_calendarManagerGlobalInstance::innerFunction()::holder>, this=0x555555e6f8d8)
    at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/qml/qqmlpropertydata_p.h:373
#4  loadProperty (v4=0x5555559c9050, object=0x555555645140 <(anonymous namespace)::Q_QGS_calendarManagerGlobalInstance::innerFunction()::holder>, property=...)
    at jsruntime/qv4qobjectwrapper.cpp:204
#5  0x00007ffff6c2ee79 in QV4::QObjectWrapper::lookupGetterImpl<QV4::QQmlTypeWrapper::lookupSingletonProperty(QV4::Lookup*, QV4::ExecutionEngine*, const QV4::Value&)::<lam--Type <RET> for more, q to quit, c to continue without paging--
bda()> > (useOriginalProperty=true, revertLookup=..., object=..., engine=0x5555559c9050, lookup=0x555555cbf330)
    at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4qobjectwrapper_p.h:262
#6  QV4::QQmlTypeWrapper::lookupSingletonProperty (l=0x555555cbf330, engine=0x5555559c9050, object=...) at qml/qqmltypewrapper.cpp:544
#7  0x00007ffff6c309b3 in QV4::QQmlTypeWrapper::virtualResolveLookupGetter (object=0x7fffe433b510, engine=0x5555559c9050, lookup=0x555555cbf330)
    at qml/qqmltypewrapper.cpp:464
#8  0x00007ffff6afcb96 in QV4::Moth::VME::interpret (frame=0x0, engine=0x5555559c9050, code=0x7fffaef4415d <incomplete sequence \364>) at jsruntime/qv4vme_moth.cpp:641
#9  0x00007ffff6b013df in QV4::Moth::VME::exec (frame=frame@entry=0x7fffffffd230, engine=engine@entry=0x5555559c9050) at jsruntime/qv4vme_moth.cpp:466
#10 0x00007ffff6a93c2e in QV4::Function::call (this=this@entry=0x555555b189e0, thisObject=<optimized out>, argv=argv@entry=0x7fffe433b500, argc=<optimized out>, 
    context=<optimized out>) at jsruntime/qv4function.cpp:69
#11 0x00007ffff6c1d44d in QQmlJavaScriptExpression::evaluate (this=this@entry=0x555555b9bd50, callData=0x7fffe433b4d0, isUndefined=isUndefined@entry=0x7fffffffd3ff)
    at qml/qqmljavascriptexpression.cpp:212
#12 0x00007ffff6c23604 in QQmlBinding::evaluate (this=this@entry=0x555555b9bd50, isUndefined=isUndefined@entry=0x7fffffffd3ff)
    at ../../include/QtQml/5.15.8/QtQml/private/../../../../../src/qml/jsruntime/qv4jscall_p.h:95
#13 0x00007ffff6c27813 in QQmlNonbindingBinding::doUpdate (this=0x555555b9bd50, watcher=..., flags=..., scope=...) at qml/qqmlbinding.cpp:254
#14 0x00007ffff6c25354 in QQmlBinding::update (this=0x555555b9bd50, flags=...) at qml/qqmlbinding.cpp:194
#15 0x00007ffff6c32872 in QQmlObjectCreator::finalize (this=0x5555559fee60, interrupt=...) at qml/qqmlobjectcreator.cpp:1393
#16 0x00007ffff6bc2b2c in QQmlComponentPrivate::complete (state=0x5555559d5268, enginePriv=0x555555848df0)
    at /usr/include/x86_64-linux-gnu/qt5/QtCore/qscopedpointer.h:116
#17 QQmlComponentPrivate::complete (enginePriv=0x555555848df0, state=0x5555559d5268) at qml/qqmlcomponent.cpp:996
#18 0x00007ffff6bc50a1 in QQmlComponentPrivate::completeCreate (this=0x5555559d51e0) at qml/qqmlcomponent.cpp:1092
#19 0x00007ffff6bc523d in QQmlComponent::completeCreate (this=0x5555559d50c0) at qml/qqmlcomponent.cpp:1079
#20 QQmlComponent::create (this=0x5555559d50c0, context=<optimized out>) at qml/qqmlcomponent.cpp:825
#21 0x00007ffff6c28d95 in QQmlApplicationEnginePrivate::finishLoad (this=0x555555848df0, c=0x5555559d50c0) at qml/qqmlapplicationengine.cpp:148
#22 0x00007ffff6c29380 in QQmlApplicationEnginePrivate::startLoad (this=<optimized out>, url=..., data=..., dataFlag=<optimized out>) at qml/qqmlapplicationengine.cpp:132
#23 0x00007ffff6c2948d in QQmlApplicationEngine::load (this=this@entry=0x7fffffffd880, url=...) at qml/qqmlapplicationengine.cpp:287
#24 0x0000555555582089 in main (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:151
(gdb)
Comment 3 Carl Schwan 2023-04-22 05:00:37 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 461131, bug 460653, bug 460586, bug 458497

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

https://invent.kde.org/pim/akonadi/commit/eca4fdbdf328883ae564b568c9ba13697cc90c4a
Comment 4 Carl Schwan 2023-04-22 05:06:11 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 461131, bug 460653, bug 460586, bug 458497
(cherry picked from commit eca4fdbdf328883ae564b568c9ba13697cc90c4a)

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

https://invent.kde.org/pim/akonadi/commit/0ab418bacdaf8322771e41452a87d062a2449869
Comment 5 fabriciocybershell 2024-04-02 15:30:04 UTC
Created attachment 168060 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

Erro ao simplesmente clicar em "+ adicionar" no calendário

-- Backtrace (Reduced):
#4  0x00007f9d597cc500 in KJob::setError(int) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007f9d59b16da4 in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#7  0x00007f9d59b11ce1 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#9  0x00007f9d584dd6f0 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f9d59162fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 6 Badley 2024-07-23 13:27:27 UTC
Created attachment 171928 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

Under Debian Live USB with KDE, just attempting to run the program, it crashes.

-- Backtrace (Reduced):
#4  0x00007f5e87e1d500 in KJob::setError(int) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007f5e882aeda4 in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#7  0x00007f5e882a9ce1 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#9  0x00007f5e86d58730 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f5e87800fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 7 Jotham Simiyu 2025-01-17 21:26:01 UTC
Created attachment 177470 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

The app {korganizer} crashes everytime i launch it through calender the plus button for adding reminders.

-- Backtrace (Reduced):
#4  0x00007f894c293500 in KJob::setError(int) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007f894c716da4 in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#7  0x00007f894c711ce1 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#9  0x00007f894aedd730 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f894bb62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 8 fabriciocybershell 2025-02-11 17:36:42 UTC
Created attachment 178156 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

apenas tentando criar um evento no K lendário.

-- Backtrace (Reduced):
#4  0x00007f428263c500 in KJob::setError(int) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007f4282916da4 in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#7  0x00007f4282911ce1 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#9  0x00007f42812dd730 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f4281f62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
Comment 9 zieloo 2025-03-27 09:00:32 UTC
Created attachment 179778 [details]
New crash information added by DrKonqi

korganizer (5.22.3 (22.12.3)) using Qt 5.15.8

Crashes every single time when trying to see the meetings.

-- Backtrace (Reduced):
#4  0x00007f060223c500 in KJob::setError(int) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#5  0x00007f0602516da4 in Akonadi::SessionPrivate::serverStateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#7  0x00007f0602511ce1 in Akonadi::ServerManager::stateChanged(Akonadi::ServerManager::State) () from /lib/x86_64-linux-gnu/libKF5AkonadiCore.so.5abi2
[...]
#9  0x00007f0600edd730 in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f0601b62fae in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5