Bug 199712 - Kontact crashes while quitting application
Summary: Kontact crashes while quitting application
Status: RESOLVED DUPLICATE of bug 196215
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.3
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Volker Krause
URL:
Keywords:
: 199867 199880 200053 200105 200128 200211 200331 200363 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-07-10 21:18 UTC by Kristof L.
Modified: 2009-07-18 14:11 UTC (History)
11 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 Kristof L. 2009-07-10 21:18:19 UTC
Application that crashed: kontact
Version of the application: 4.3.0 rc2
KDE Version: 4.2.96 (KDE 4.2.96 (KDE 4.3 RC2))
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH i686

What I was doing when the application crashed:
Kontact crashes when I close it, no matter what part is selected or clicked on.
This is always reproducable.

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 0 (LWP 32168)]

Thread 4 (Thread 0xaf94bb70 (LWP 32184)):
#0  0xb8071424 in __kernel_vsyscall ()
#1  0xb6bf0ea1 in select () from /lib/libc.so.6
#2  0xb780e7a5 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb7741032 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb571968c in start_thread () from /lib/libpthread.so.0
#5  0xb6bf7e2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb057db70 (LWP 32186)):
#0  0xb8071424 in __kernel_vsyscall ()
#1  0xb571def2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c05404 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb7741fcf in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb773781e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb7741032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb571968c in start_thread () from /lib/libpthread.so.0
#7  0xb6bf7e2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xaf004b70 (LWP 32190)):
#0  0xb8071424 in __kernel_vsyscall ()
#1  0xb571def2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6c05404 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb7741fcf in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb773781e in ?? () from /usr/lib/libQtCore.so.4
#5  0xb7741032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb571968c in start_thread () from /lib/libpthread.so.0
#7  0xb6bf7e2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb4917710 (LWP 32168)):
[KCrash Handler]
#6  0xb8071424 in __kernel_vsyscall ()
#7  0xb6b54461 in raise () from /lib/libc.so.6
#8  0xb6b55c62 in abort () from /lib/libc.so.6
#9  0xb7738df4 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb7738ede in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb06a7e5c in Akonadi::Control::start () from /usr/lib/libakonadi-kde.so.4
#12 0xb07a2b87 in ResourcePrivateBase::startAkonadi () from /usr/lib/kde4/kabc_akonadi.so
#13 0xb07a7d47 in ResourcePrivateBase::doOpen () from /usr/lib/kde4/kabc_akonadi.so
#14 0xb0783360 in KABC::ResourceAkonadi::doOpen () from /usr/lib/kde4/kabc_akonadi.so
#15 0xb5c2a2dc in KRES::Resource::open () from /usr/lib/libkresources.so.4
#16 0xb5bed11c in KABC::StdAddressBook::Private::init () from /usr/lib/libkabc.so.4
#17 0xb5beea3d in KABC::StdAddressBook::self () from /usr/lib/libkabc.so.4
#18 0xb5beebb2 in KABC::StdAddressBook::self () from /usr/lib/libkabc.so.4
#19 0xafd14d2e in KOPrefs::instance () from /usr/lib/libkorganizer_core.so.4
#20 0xafbb1682 in FreeBusyManager::slotPerhapsUploadFB () from /usr/lib/libkorganizerprivate.so.4
#21 0xafbb2dbb in FreeBusyManager::qt_metacall () from /usr/lib/libkorganizerprivate.so.4
#22 0xb784598c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb78465c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb5af1277 in KCal::Calendar::calendarChanged () from /usr/lib/libkcal.so.4
#25 0xb5af12dd in KCal::Calendar::qt_metacall () from /usr/lib/libkcal.so.4
#26 0xb5b588da in KCal::CalendarResources::qt_metacall () from /usr/lib/libkcal.so.4
#27 0xb784598c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb78465c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb5b45c03 in KCal::ResourceCalendar::resourceChanged () from /usr/lib/libkcal.so.4
#30 0xb05d4ce8 in KCal::ResourceAkonadi::Private::clearResource () from /usr/lib/kde4/kcal_akonadi.so
#31 0xb05eff9b in ResourcePrivateBase::clear () from /usr/lib/kde4/kcal_akonadi.so
#32 0xb05cf9b5 in KCal::ResourceAkonadi::doClose () from /usr/lib/kde4/kcal_akonadi.so
#33 0xb5c2a6d7 in KRES::Resource::close () from /usr/lib/libkresources.so.4
#34 0xb5b5bfe5 in KCal::CalendarResources::close () from /usr/lib/libkcal.so.4
#35 0xb5b5c354 in KCal::CalendarResources::~CalendarResources () from /usr/lib/libkcal.so.4
#36 0xb1c5cfb3 in KOrg::StdCalendar::~StdCalendar () from /usr/lib/libkorganizer_calendar.so.4
#37 0xb1c5ecff in K3StaticDeleter<KOrg::StdCalendar>::destructObject () from /usr/lib/libkorganizer_calendar.so.4
#38 0xb60b7094 in K3StaticDeleterPrivate::deleteStaticDeleters () from /usr/lib/libkde3support.so.4
#39 0xb78304e0 in qt_call_post_routines () from /usr/lib/libQtCore.so.4
#40 0xb6e8b258 in QApplication::~QApplication () from /usr/lib/libQtGui.so.4
#41 0xb7d3740a in KApplication::~KApplication () from /usr/lib/libkdeui.so.5
#42 0xb7d3e548 in KUniqueApplication::~KUniqueApplication () from /usr/lib/libkdeui.so.5
#43 0x0804b521 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2009-07-11 15:10:52 UTC
> 
> What I was doing when the application crashed:
> Kontact crashes when I close it, no matter what part is selected or clicked on.
> This is always reproducable.
> 

Fine. Please install the debug packages for kdepim and kdepimlibs and paste a better backtrace.

Thanks.
Comment 2 Christoph Berg 2009-07-12 11:24:47 UTC
I'm not the original author of the bug report, but I have also experienced the problem of Kontact crashing while quitting. I'm also using an Arch Linux system with the KDE 4.3rc2. Attached is a stack trace, which should be more helpful. Well, the qFatal method is directly telling what went wrong.

Application: Kontact (kontact), signal: Aborted
[Current thread is 0 (LWP 3566)]

Thread 3 (Thread 0xafcf9b70 (LWP 3584)):
#0  0xb7f67424 in __kernel_vsyscall ()
#1  0xb6a5dea1 in select () from /lib/libc.so.6
#2  0xb7679745 in QProcessManager::run (this=0x89dcf50) at io/qprocess_unix.cpp:296
#3  0xb75ac022 in QThreadPrivate::start (arg=0x89dcf50) at thread/qthread_unix.cpp:188
#4  0xb551068c in start_thread () from /lib/libpthread.so.0
#5  0xb6a64e2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb063cb70 (LWP 3586)):
#0  0xb7f67424 in __kernel_vsyscall ()
#1  0xb5514ef2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb6a72404 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb75acfbf in QWaitCondition::wait (this=0x94eb240, mutex=0x94eb23c, time=30000) at thread/qwaitcondition_unix.cpp:85
#4  0xb75a281e in QThreadPoolThread::run (this=0x94fc050) at concurrent/qthreadpool.cpp:140
#5  0xb75ac022 in QThreadPrivate::start (arg=0x94fc050) at thread/qthread_unix.cpp:188
#6  0xb551068c in start_thread () from /lib/libpthread.so.0
#7  0xb6a64e2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb46f4a90 (LWP 3566)):
[KCrash Handler]
#6  0xb7f67424 in __kernel_vsyscall ()
#7  0xb69c1461 in raise () from /lib/libc.so.6
#8  0xb69c2c62 in abort () from /lib/libc.so.6
#9  0xb75a3df4 in qt_message_output (msgType=QtFatalMsg, 
    buf=0x8cd02e8 "Fatal Error: Accessed global static 'StaticControl *s_instance()' after destruction. Defined at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/akonadi/control.cpp:120")
    at global/qglobal.cpp:2042
#10 0xb75a3ede in qFatal (msg=0xb07b7f34 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2241
#11 0xb074de5c in Akonadi::Control::start () at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/akonadi/control.cpp:120
#12 0xb0840b87 in ResourcePrivateBase::startAkonadi () from /usr/lib/kde4/kabc_akonadi.so
#13 0xb0845d47 in ResourcePrivateBase::doOpen () from /usr/lib/kde4/kabc_akonadi.so
#14 0xb0821360 in KABC::ResourceAkonadi::doOpen () from /usr/lib/kde4/kabc_akonadi.so
#15 0xb5a4a2fc in KRES::Resource::open (this=0x96f2658) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kresources/resource.cpp:122
#16 0xb5a0113c in KABC::StdAddressBook::Private::init (this=0x93b1380, asynchronous=false) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kabc/stdaddressbook.cpp:151
#17 0xb5a02a5d in KABC::StdAddressBook::self (asynchronous=false) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kabc/stdaddressbook.cpp:92
#18 0xb5a02bd2 in KABC::StdAddressBook::self () at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kabc/stdaddressbook.cpp:81
#19 0xafdd9d4e in KOPrefs::instance () at /home/jan/kdemod/testing/kdepim/src/kdepim-4.2.96/korganizer/koprefs.cpp:99
#20 0xaf47e6a2 in FreeBusyManager::slotPerhapsUploadFB (this=0x93277f8) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.2.96/korganizer/freebusymanager.cpp:157
#21 0xaf47fddb in FreeBusyManager::qt_metacall (this=0x93277f8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf9dc30c)
    at /home/jan/kdemod/testing/kdepim/src/kdepim-4.2.96/korganizer/freebusymanager.moc:147
#22 0xb76b08bc in QMetaObject::activate (sender=0x932e1f8, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#23 0xb76b14f2 in QMetaObject::activate (sender=0x932e1f8, m=0xb59a0e6c, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3186
#24 0xb58f2297 in KCal::Calendar::calendarChanged (this=0x932e1f8) at /home/jan/kdemod/testing/kdepimlibs/src/build/kcal/calendar.moc:86
#25 0xb58f22fd in KCal::Calendar::qt_metacall (this=0x932e1f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9dc4b8) at /home/jan/kdemod/testing/kdepimlibs/src/build/kcal/calendar.moc:73
#26 0xb59598fa in KCal::CalendarResources::qt_metacall (this=0x932e1f8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf9dc4b8)
    at /home/jan/kdemod/testing/kdepimlibs/src/build/kcal/calendarresources.moc:76
#27 0xb76b08bc in QMetaObject::activate (sender=0x935e578, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3112
#28 0xb76b14f2 in QMetaObject::activate (sender=0x935e578, m=0xb59a17f4, local_signal_index=0, argv=0xbf9dc4b8) at kernel/qobject.cpp:3186
#29 0xb5946c23 in KCal::ResourceCalendar::resourceChanged (this=0x935e578, _t1=0x935e578) at /home/jan/kdemod/testing/kdepimlibs/src/build/kcal/resourcecalendar.moc:117
#30 0xb067bce8 in KCal::ResourceAkonadi::Private::clearResource () from /usr/lib/kde4/kcal_akonadi.so
#31 0xb0696f7b in ResourcePrivateBase::clear () from /usr/lib/kde4/kcal_akonadi.so
#32 0xb06769b5 in KCal::ResourceAkonadi::doClose () from /usr/lib/kde4/kcal_akonadi.so
#33 0xb5a4a6f7 in KRES::Resource::close (this=0x935e578) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kresources/resource.cpp:141
#34 0xb595d005 in KCal::CalendarResources::close (this=0x932e1f8) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kcal/calendarresources.cpp:350
#35 0xb595d374 in ~CalendarResources (this=0x932e1f8) at /home/jan/kdemod/testing/kdepimlibs/src/kdepimlibs-4.2.96/kcal/calendarresources.cpp:247
#36 0xb192cfd3 in ~StdCalendar (this=0x932e1f8) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.2.96/korganizer/stdcalendar.cpp:112
#37 0xb192ed1f in K3StaticDeleter<KOrg::StdCalendar>::destructObject (this=0xb1930a38) at /usr/include/k3staticdeleter.h:174
#38 0xb5ed80b4 in K3StaticDeleterPrivate::deleteStaticDeleters () at /home/jan/kdemod/testing/kdelibs/src/kdelibs-4.2.96/kde3support/kdecore/k3staticdeleter.cpp:56
#39 0xb769b410 in qt_call_post_routines () at kernel/qcoreapplication.cpp:163
#40 0xb6cf8208 in ~QApplication (this=0xbf9dc824) at kernel/qapplication.cpp:971
#41 0xb7bd642a in ~KApplication (this=0xbf9dc824) at /home/jan/kdemod/testing/kdelibs/src/kdelibs-4.2.96/kdeui/kernel/kapplication.cpp:893
#42 0xb7bdd568 in ~KUniqueApplication (this=0xbf9dc824) at /home/jan/kdemod/testing/kdelibs/src/kdelibs-4.2.96/kdeui/kernel/kuniqueapplication.cpp:371
#43 0x0804b541 in main (argc=1, argv=0xbf9dca44) at /home/jan/kdemod/testing/kdepim/src/kdepim-4.2.96/kontact/src/main.cpp:67
Comment 3 Christophe Marin 2009-07-12 12:50:36 UTC
Thanks for the feedback.
Comment 4 Christophe Marin 2009-07-12 16:24:58 UTC
*** Bug 199867 has been marked as a duplicate of this bug. ***
Comment 5 Christophe Marin 2009-07-12 16:25:15 UTC
*** Bug 199880 has been marked as a duplicate of this bug. ***
Comment 6 Sergei Andreev 2009-07-12 17:24:26 UTC
In my case Kontact crashing only if I viewed Summary part.
Comment 7 Christophe Marin 2009-07-13 19:24:29 UTC
*** Bug 200053 has been marked as a duplicate of this bug. ***
Comment 8 Christophe Marin 2009-07-14 00:34:53 UTC
*** Bug 200105 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-07-14 11:01:31 UTC
*** Bug 200128 has been marked as a duplicate of this bug. ***
Comment 10 Dario Andres 2009-07-14 20:12:46 UTC
*** Bug 200211 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-07-15 17:55:00 UTC
*** Bug 200331 has been marked as a duplicate of this bug. ***
Comment 12 Christophe Marin 2009-07-15 21:33:03 UTC
*** Bug 200363 has been marked as a duplicate of this bug. ***
Comment 13 Kevin Krammer 2009-07-18 14:11:27 UTC

*** This bug has been marked as a duplicate of bug 196215 ***