Bug 323323 - korganizer crashes when restarting the akonadi server
Summary: korganizer crashes when restarting the akonadi server
Status: RESOLVED WORKSFORME
Alias: None
Product: korgac
Classification: Applications
Component: general (show other bugs)
Version: 4.12 pre
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
: 323324 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-08-09 21:38 UTC by Jan Binder
Modified: 2016-10-12 09:25 UTC (History)
3 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 Jan Binder 2013-08-09 21:38:09 UTC
Application: korgac (4.12 pre)
KDE Platform Version: 4.11.60 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.7.1 x86_64
Distribution: Debian GNU/Linux unstable (sid)

-- Information about the crash:
- What I was doing when the application crashed:
Restarted the akonadi server via akonadiconsole.

KDE SC compiled from yesterday's git master.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KOrganizer-Erinnerungsmodul (korgac), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f0e3b9111e5 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f0e3b914398 in __GI_abort () at abort.c:90
#8  0x00007f0e3c50f912 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x166a668 "ASSERT: \"m_collections.contains( collectionId )\" in file /media/wares/kdesrc/kde/kdepimlibs/akonadi/entitytreemodel_p.cpp, line 1217") at global/qglobal.cpp:2347
#9  0x00007f0e3c50fc79 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f0e3c67aee0 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fff229d4e98) at global/qglobal.cpp:2393
#10 0x00007f0e3c510484 in qFatal (msg=msg@entry=0x7f0e3c67aee0 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2576
#11 0x00007f0e3c5104c6 in qt_assert (assertion=assertion@entry=0x7f0e41aef3b8 "m_collections.contains( collectionId )", file=file@entry=0x7f0e41aeef70 "/media/wares/kdesrc/kde/kdepimlibs/akonadi/entitytreemodel_p.cpp", line=line@entry=1217) at global/qglobal.cpp:2021
#12 0x00007f0e41a2d2a4 in Akonadi::EntityTreeModelPrivate::monitoredItemLinked (this=0xd2cab0, item=..., collection=...) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/entitytreemodel_p.cpp:1217
#13 0x00007f0e3c62dcf8 in QMetaObject::activate (sender=0xf22730, m=m@entry=0x7f0e41db2e20 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=7, argv=argv@entry=0x7fff229d5110) at kernel/qobject.cpp:3547
#14 0x00007f0e41a5ec2a in Akonadi::Monitor::itemLinked (this=<optimized out>, _t1=..., _t2=...) at /media/wares/kdesrc/build/kde/kdepimlibs/akonadi/moc_monitor.cpp:257
#15 0x00007f0e41a64a68 in Akonadi::MonitorPrivate::emitItemsNotification (this=this@entry=0xf3d1c0, msg=..., items=..., collection=..., collectionDest=...) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/monitor_p.cpp:765
#16 0x00007f0e41a655db in Akonadi::MonitorPrivate::emitNotification (this=this@entry=0xf3d1c0, msg=...) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/monitor_p.cpp:420
#17 0x00007f0e419e01b1 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xf3d1c0, msg=...) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/changerecorder_p.cpp:60
#18 0x00007f0e41a62602 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0xf3d1c0) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/monitor_p.cpp:618
#19 0x00007f0e41a62749 in Akonadi::MonitorPrivate::dataAvailable (this=0xf3d1c0) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/monitor_p.cpp:627
#20 0x00007f0e3c62dcf8 in QMetaObject::activate (sender=sender@entry=0xd2a4d0, m=m@entry=0x7f0e41db0b80 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#21 0x00007f0e41a187b0 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0xd2a4d0) at /media/wares/kdesrc/build/kde/kdepimlibs/akonadi/moc_entitycache_p.cpp:101
#22 0x00007f0e419e7b07 in Akonadi::EntityListCache<Akonadi::Item, Akonadi::ItemFetchJob, Akonadi::ItemFetchScope>::processResult (this=0xd2a4d0, job=<optimized out>) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/entitycache_p.h:451
#23 0x00007f0e3c62dcf8 in QMetaObject::activate (sender=sender@entry=0x10cc060, m=m@entry=0x7f0e3d5f7dc0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff229d58a0) at kernel/qobject.cpp:3547
#24 0x00007f0e3d245db2 in KJob::result (this=this@entry=0x10cc060, _t1=_t1@entry=0x10cc060) at /media/wares/kdesrc/build/kde/kdelibs/kdecore/kjob.moc:207
#25 0x00007f0e3d245df5 in KJob::emitResult (this=this@entry=0x10cc060) at /media/wares/kdesrc/kde/kdelibs/kdecore/jobs/kjob.cpp:318
#26 0x00007f0e41a599e2 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/job.cpp:66
#27 0x00007f0e41a9142a in Akonadi::SessionPrivate::dataReceived (this=0xed87c0) at /media/wares/kdesrc/kde/kdepimlibs/akonadi/session.cpp:231
#28 0x00007f0e3c62dcf8 in QMetaObject::activate (sender=0xf23d90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#29 0x00007f0e3c62dcf8 in QMetaObject::activate (sender=sender@entry=0xf535c8, m=m@entry=0x7f0e3c97c540 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#30 0x00007f0e3c676bd0 in QIODevice::readyRead (this=this@entry=0xf535c8) at .moc/release-shared/moc_qiodevice.cpp:104
#31 0x00007f0e3e811c8d in QAbstractSocketPrivate::canReadNotification (this=0xf240e0) at socket/qabstractsocket.cpp:654
#32 0x00007f0e3e81acdd in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#33 0x00007f0e3da2970c in QApplicationPrivate::notify_helper (this=this@entry=0xc5bb80, receiver=receiver@entry=0x1063a00, e=e@entry=0x7fff229d5e50) at kernel/qapplication.cpp:4567
#34 0x00007f0e3da2fd80 in QApplication::notify (this=this@entry=0x7fff229d6220, receiver=receiver@entry=0x1063a00, e=e@entry=0x7fff229d5e50) at kernel/qapplication.cpp:4353
#35 0x00007f0e40a97e96 in KApplication::notify (this=0x7fff229d6220, receiver=0x1063a00, event=0x7fff229d5e50) at /media/wares/kdesrc/kde/kdelibs/kdeui/kernel/kapplication.cpp:311
#36 0x00007f0e3c619b5d in QCoreApplication::notifyInternal (this=0x7fff229d6220, receiver=0x1063a00, event=event@entry=0x7fff229d5e50) at kernel/qcoreapplication.cpp:949
#37 0x00007f0e3c647940 in sendEvent (event=0x7fff229d5e50, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#38 socketNotifierSourceDispatch (source=source@entry=0xc5bd80) at kernel/qeventdispatcher_glib.cpp:110
#39 0x00007f0e35403166 in g_main_dispatch (context=0xc5bec0) at /build/glib2.0-PxVEuL/glib2.0-2.37.5/./glib/gmain.c:3065
#40 g_main_context_dispatch (context=context@entry=0xc5bec0) at /build/glib2.0-PxVEuL/glib2.0-2.37.5/./glib/gmain.c:3641
#41 0x00007f0e354034b8 in g_main_context_iterate (context=context@entry=0xc5bec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-PxVEuL/glib2.0-2.37.5/./glib/gmain.c:3712
#42 0x00007f0e3540355c in g_main_context_iteration (context=0xc5bec0, may_block=1) at /build/glib2.0-PxVEuL/glib2.0-2.37.5/./glib/gmain.c:3773
#43 0x00007f0e3c646d06 in QEventDispatcherGlib::processEvents (this=0xc18b00, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#44 0x00007f0e3dac7846 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x00007f0e3c6187bf in QEventLoop::processEvents (this=this@entry=0x7fff229d60a0, flags=...) at kernel/qeventloop.cpp:149
#46 0x00007f0e3c618ab5 in QEventLoop::exec (this=this@entry=0x7fff229d60a0, flags=...) at kernel/qeventloop.cpp:204
#47 0x00007f0e3c61e0fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#48 0x00007f0e3da27ecc in QApplication::exec () at kernel/qapplication.cpp:3828
#49 0x000000000040f79d in main (argc=3, argv=0x7fff229d6368) at /media/wares/kdesrc/kde/kdepim/korganizer/korgac/korgacmain.cpp:96

Possible duplicates by query: bug 321758, bug 316495, bug 313194, bug 313047, bug 311441.

Reported using DrKonqi
Comment 1 Sergio Martins 2013-08-09 23:55:27 UTC
I think I saw david commiting something related to this... David ?
Comment 2 Jekyll Wu 2013-08-10 05:33:29 UTC
*** Bug 323324 has been marked as a duplicate of this bug. ***
Comment 3 Denis Kurz 2016-09-24 21:04:42 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of korgac (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 4 Jan Binder 2016-10-01 15:55:07 UTC
This does not happen anymore on korgac 5.2.3/Qt 5.6.1/Frameworks 5.25.0.
As a replacement, it now crashes differently, see #369452.
Comment 5 Denis Kurz 2016-10-12 09:25:10 UTC
Jan, thanks for your feedback. Also, the other bug you mentioned is fixed in the most recent versions (since the KDE Applications 16.08.0 release).