Bug 296059

Summary: Kontact segfaults on KDE shutdown
Product: [Applications] kontact Reporter: Andrew <homers>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: ps_ml
Priority: NOR    
Version: 4.7.2   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: complete stacktrace

Description Andrew 2012-03-15 12:04:36 UTC
Application: kontact (4.7.2)
KDE Platform Version: 4.7.2 (4.7.2) "release 5"
Qt Version: 4.7.4
Operating System: Linux 3.1.9-1.4-desktop x86_64
Distribution: "openSUSE 12.1 (x86_64)"

-- Information about the crash:
Every time KDE is shut down, Kontact segfaults (i.e. it is left running so that it will restart at next login, but fails to exit cleanly).

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f67179d4760 (LWP 4429))]

Thread 4 (Thread 0x7f66ff74f700 (LWP 4453)):
#0  0x00007f670f912e6c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f671425b9dc in ?? () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f671425bb09 in ?? () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f670f90ef05 in start_thread () from /lib64/libpthread.so.0
#4  0x00007f6714f6363d in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f66fee4e700 (LWP 4456)):
#0  0x00007f670f912105 in __pthread_mutex_unlock_usercnt () from /lib64/libpthread.so.0
#1  0x00007f670e597b14 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f670e59892d in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f670e598f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f671634f586 in QEventDispatcherGlib::processEvents (this=0x7f66f80008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f6716323a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6716323c2f in QEventLoop::exec (this=0x7f66fee4de20, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f671623b5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f671623e025 in QThreadPrivate::start (arg=0x7b14e0) at thread/qthread_unix.cpp:331
#9  0x00007f670f90ef05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6714f6363d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f66a9c72700 (LWP 6641)):
#0  0x00007f6714f5a523 in poll () from /lib64/libc.so.6
#1  0x00007f670e598a98 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f670e598f59 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f671634f586 in QEventDispatcherGlib::processEvents (this=0x7f66a40008c0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f6716323a32 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6716323c2f in QEventLoop::exec (this=0x7f66a9c71df0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f671623b5df in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f6716306aff in QInotifyFileSystemWatcherEngine::run (this=0x1fe33b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f671623e025 in QThreadPrivate::start (arg=0x1fe33b0) at thread/qthread_unix.cpp:331
#9  0x00007f670f90ef05 in start_thread () from /lib64/libpthread.so.0
#10 0x00007f6714f6363d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f67179d4760 (LWP 4429)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f6714c7584e in KParts::StatusBarExtension::statusBar (this=0xde2ff0) at /usr/src/debug/kdelibs-4.7.2/kparts/statusbarextension.cpp:149
#8  0x00007f6714c75d54 in KParts::StatusBarExtension::~StatusBarExtension (this=0xde2ff0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kparts/statusbarextension.cpp:99
#9  0x00007f6714c76109 in KParts::StatusBarExtension::~StatusBarExtension (this=0xde2ff0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kparts/statusbarextension.cpp:110
#10 0x00007f6716336465 in QObjectPrivate::deleteChildren (this=0xdd4fd0) at kernel/qobject.cpp:1964
#11 0x00007f671633ba09 in QObject::~QObject (this=0xdf3aa0, __in_chrg=<optimized out>) at kernel/qobject.cpp:946
#12 0x00007f6714c5aa98 in KParts::Part::~Part (this=0xdf3aa0, __vtt_parm=0x7f66aa90b8f0, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/kparts/part.cpp:190
#13 0x00007f66aa6d3427 in ?? () from /usr/lib64/kde4/kwebkitpart.so
#14 0x00007f66aa6d3469 in ?? () from /usr/lib64/kde4/kwebkitpart.so
#15 0x00007f66b17f6af0 in Akregator::BrowserFrame::Private::~Private() () from /usr/lib64/libakregatorprivate.so.4
#16 0x00007f66b17f6be9 in Akregator::BrowserFrame::Private::~Private() () from /usr/lib64/libakregatorprivate.so.4
#17 0x00007f66b17f363a in Akregator::BrowserFrame::~BrowserFrame() () from /usr/lib64/libakregatorprivate.so.4
#18 0x00007f66b17f36a9 in Akregator::BrowserFrame::~BrowserFrame() () from /usr/lib64/libakregatorprivate.so.4
#19 0x00007f66b17f156a in Akregator::FrameManager::slotRemoveFrame(int) () from /usr/lib64/libakregatorprivate.so.4
#20 0x00007f66b17f25dc in Akregator::FrameManager::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib64/libakregatorprivate.so.4
#21 0x00007f67163375aa in QMetaObject::activate (sender=0xe21220, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbd6418b0) at kernel/qobject.cpp:3287
#22 0x00007f66b1c897b1 in ?? () from /usr/lib64/kde4/akregatorpart.so
#23 0x00007f66b1c99586 in Akregator::MainWidget::slotOnShutdown() () from /usr/lib64/kde4/akregatorpart.so
#24 0x00007f66b1c921e0 in ?? () from /usr/lib64/kde4/akregatorpart.so
#25 0x00007f66b1c96c44 in ?? () from /usr/lib64/kde4/akregatorpart.so
#26 0x00007f67163375aa in QMetaObject::activate (sender=0x7fffbd641a60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3287
#27 0x00007f6716327e4d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1069
#28 0x0000000000403919 in main (argc=3, argv=0x7fffbd642088) at /usr/src/debug/kdepim-4.7.2/kontact/src/main.cpp:218

Possible duplicates by query: bug 295910, bug 295822, bug 294476, bug 294138, bug 293551.

Reported using DrKonqi
Comment 1 Patrick Spendrin 2012-03-19 18:59:21 UTC
The crash also happens if you just close kontact - but you must have visited akregator before.
Comment 2 Patrick Spendrin 2012-03-19 19:09:42 UTC
Created attachment 69740 [details]
complete stacktrace
Comment 3 Patrick Spendrin 2012-03-19 19:23:13 UTC
found another bug report, the problem got fixed there already. I will make a new opensuse bug report instead.

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