Bug 321981 - Kontact crashed while doing something else
Summary: Kontact crashed while doing something else
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-05 09:16 UTC by Samuele Kaplun
Modified: 2017-01-07 22:42 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (12.40 KB, text/plain)
2013-11-27 20:15 UTC, Lassi Väätämöinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuele Kaplun 2013-07-05 09:16:37 UTC
Application: kontact (4.10.4)
KDE Platform Version: 4.10.4
Qt Version: 4.8.4
Operating System: Linux 3.8.0-19-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
I headed my mouse over to the K-menu, and all of a sudden Kontact crashed.

-- Backtrace:
Application: Kontact (kontact), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f1aba0fd7c0 (LWP 25221))]

Thread 6 (Thread 0x7f1a9b8f5700 (LWP 25222)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1ab687b585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1ab687b5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1ab12d2f8e in start_thread (arg=0x7f1a9b8f5700) at pthread_create.c:311
#4  0x00007f1ab7673e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f1a5b0f2700 (LWP 25223)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1ab65c1a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f1ab68a9cee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f1ab12d2f8e in start_thread (arg=0x7f1a5b0f2700) at pthread_create.c:311
#4  0x00007f1ab7673e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f1a4d061700 (LWP 25274)):
#0  0x00007f1ab76673cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1ab0c101dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1ab0c10304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1ab8a99036 in QEventDispatcherGlib::processEvents (this=0x7f1a400008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1ab8a6938f in QEventLoop::processEvents (this=this@entry=0x7f1a4d060d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1ab8a69618 in QEventLoop::exec (this=this@entry=0x7f1a4d060d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1ab896b410 in QThread::exec (this=this@entry=0x1197970) at thread/qthread.cpp:542
#7  0x00007f1ab8a4aedf in QInotifyFileSystemWatcherEngine::run (this=0x1197970) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f1ab896dbec in QThreadPrivate::start (arg=0x1197970) at thread/qthread_unix.cpp:338
#9  0x00007f1ab12d2f8e in start_thread (arg=0x7f1a4d061700) at pthread_create.c:311
#10 0x00007f1ab7673e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f1a475d9700 (LWP 25290)):
#0  0x00007f1ab76673cd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1ab0c101dc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1ab0c10304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1ab8a99036 in QEventDispatcherGlib::processEvents (this=0x7f1a340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1ab8a6938f in QEventLoop::processEvents (this=this@entry=0x7f1a475d8dc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1ab8a69618 in QEventLoop::exec (this=this@entry=0x7f1a475d8dc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1ab896b410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#7  0x00007f1ab896dbec in QThreadPrivate::start (arg=0xd35770) at thread/qthread_unix.cpp:338
#8  0x00007f1ab12d2f8e in start_thread (arg=0x7f1a475d9700) at pthread_create.c:311
#9  0x00007f1ab7673e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f1a2ffff700 (LWP 25542)):
#0  0x00007f1ab0c0f980 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f1ab0c100fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1ab0c10304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1ab8a99036 in QEventDispatcherGlib::processEvents (this=0x7f1a280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f1ab8a6938f in QEventLoop::processEvents (this=this@entry=0x7f1a2fffed90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1ab8a69618 in QEventLoop::exec (this=this@entry=0x7f1a2fffed90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1ab896b410 in QThread::exec (this=this@entry=0x44760a0) at thread/qthread.cpp:542
#7  0x00007f1ab8a4aedf in QInotifyFileSystemWatcherEngine::run (this=0x44760a0) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f1ab896dbec in QThreadPrivate::start (arg=0x44760a0) at thread/qthread_unix.cpp:338
#9  0x00007f1ab12d2f8e in start_thread (arg=0x7f1a2ffff700) at pthread_create.c:311
#10 0x00007f1ab7673e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f1aba0fd7c0 (LWP 25221)):
[KCrash Handler]
#6  0x00007f1ab75b1037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f1ab75b4698 in __GI_abort () at abort.c:90
#8  0x00007f1ab89635c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0x730f578 "Fatal Error: Accessed global static 'CodecManagerPrivate *sInstance()' after destruction. Defined at ../../kmail/codecmanager.cpp:50") at global/qglobal.cpp:2347
#9  0x00007f1ab8963938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f1a52defe18 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffff81c1598) at global/qglobal.cpp:2393
#10 0x00007f1ab8963ac4 in qFatal (msg=msg@entry=0x7f1a52defe18 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2576
#11 0x00007f1a52d9acef in operator-> (this=<optimized out>) at ../../kmail/codecmanager.cpp:50
#12 CodecManager::self () at ../../kmail/codecmanager.cpp:73
#13 0x00007f1a52d9a14a in CodecAction::mimeCharsets (this=0x6a72d40) at ../../kmail/codecaction.cpp:82
#14 0x00007f1a52daa1cb in KMComposeWin::applyComposerSetting (this=this@entry=0x6989840, mComposerBase=0x5b90270) at ../../kmail/kmcomposewin.cpp:2739
#15 0x00007f1a52daa3d0 in KMComposeWin::autoSaveMessage (this=0x6989840, force=<optimized out>) at ../../kmail/kmcomposewin.cpp:1887
#16 0x00007f1a52d32a89 in KMKernel::dumpDeadLetters (this=0x6285) at ../../kmail/kmkernel.cpp:1347
#17 0x00007f1a52d33df7 in kmCrashHandler (sigId=<optimized out>) at ../../kmail/kmkernel.cpp:1189
#18 0x00007f1ab950efe8 in KCrash::defaultCrashHandler (sig=6) at ../../kdeui/util/kcrash.cpp:307
#19 <signal handler called>
#20 0x00007f1ab75b1037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#21 0x00007f1ab75b4698 in __GI_abort () at abort.c:90
#22 0x00007f1ab89635c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xfbd4be8 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:55") at global/qglobal.cpp:2347
#23 0x00007f1ab8963938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7f1a52a01dd8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7ffff81c2278) at global/qglobal.cpp:2393
#24 0x00007f1ab8963ac4 in qFatal (msg=msg@entry=0x7f1a52a01dd8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2576
#25 0x00007f1a529b4c67 in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:55
#26 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:71
#27 0x00007f1a529a6419 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x1830020) at ../../mailcommon/foldercollection.cpp:209
#28 0x00007f1a529a6eea in MailCommon::FolderCollection::~FolderCollection (this=0x1830020, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:84
#29 0x00007f1a529a6f69 in MailCommon::FolderCollection::~FolderCollection (this=0x1830020, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:86
#30 0x00007f1a529a52e4 in deref (value=0x1830020, d=0xfb0fb0) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#31 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#32 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#33 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#34 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x1415080, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#35 0x00007f1ab75b6121 in __run_exit_handlers (status=255, listp=0x7f1ab793b6a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#36 0x00007f1ab75b61a5 in __GI_exit (status=<optimized out>) at exit.c:99
#37 0x00007f1ab8efccd2 in KCmdLineArgs::isSet (this=this@entry=0xc9df940, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#38 0x0000000000403d67 in KontactApp::newInstance (this=0x7ffff81c3890) at ../../../kontact/src/main.cpp:130
#39 0x00007f1ab94b6d92 in KUniqueApplicationAdaptor::newInstance (this=0xcdb3d0, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#40 0x00007f1ab94b6e14 in qt_static_metacall (_a=0x7ffff81c2ad0, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#41 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7ffff81c2ad0) at ./kuniqueapplication_p.moc:52
#42 0x00007f1ab94b6f4b in KUniqueApplicationAdaptor::qt_metacall (this=0xcdb3d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7ffff81c2ad0) at ./kuniqueapplication_p.moc:102
#43 0x00007f1ab3fdd063 in QDBusConnectionPrivate::deliverCall (this=this@entry=0xb70200, object=object@entry=0xcdb3d0, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#44 0x00007f1ab3fdd955 in QDBusConnectionPrivate::activateCall (this=this@entry=0xb70200, object=0xcdb3d0, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#45 0x00007f1ab3fde2cf in QDBusConnectionPrivate::activateObject (this=0xb70200, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#46 0x00007f1ab3fde3ab in QDBusActivateObjectEvent::placeMetaCall (this=0x6bfb810) at qdbusintegrator.cpp:1541
#47 0x00007f1ab8a845be in QObject::event (this=this@entry=0x7ffff81c3890, e=e@entry=0x6bfb810) at kernel/qobject.cpp:1194
#48 0x00007f1ab8a6ef8c in QCoreApplication::event (this=this@entry=0x7ffff81c3890, e=e@entry=0x6bfb810) at kernel/qcoreapplication.cpp:1758
#49 0x00007f1ab7e18314 in QApplication::event (this=0x7ffff81c3890, e=0x6bfb810) at kernel/qapplication.cpp:2549
#50 0x00007f1ab7e108ec in QApplicationPrivate::notify_helper (this=this@entry=0xb8ad50, receiver=receiver@entry=0x7ffff81c3890, e=e@entry=0x6bfb810) at kernel/qapplication.cpp:4567
#51 0x00007f1ab7e1325b in QApplication::notify (this=this@entry=0x7ffff81c3890, receiver=receiver@entry=0x7ffff81c3890, e=e@entry=0x6bfb810) at kernel/qapplication.cpp:4428
#52 0x00007f1ab94b3af6 in KApplication::notify (this=0x7ffff81c3890, receiver=0x7ffff81c3890, event=0x6bfb810) at ../../kdeui/kernel/kapplication.cpp:311
#53 0x00007f1ab8a6a63e in QCoreApplication::notifyInternal (this=0x7ffff81c3890, receiver=receiver@entry=0x7ffff81c3890, event=event@entry=0x6bfb810) at kernel/qcoreapplication.cpp:946
#54 0x00007f1ab8a6e171 in sendEvent (event=0x6bfb810, receiver=0x7ffff81c3890) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#55 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xb436a0) at kernel/qcoreapplication.cpp:1570
#56 0x00007f1ab8a6e4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#57 0x00007f1ab8a98e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#58 postEventSourceDispatch (s=0xb7bed0) at kernel/qeventdispatcher_glib.cpp:279
#59 0x00007f1ab0c0ff05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#60 0x00007f1ab0c10248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#61 0x00007f1ab0c10304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#62 0x00007f1ab8a99016 in QEventDispatcherGlib::processEvents (this=0xb44b60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#63 0x00007f1ab7eb613e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#64 0x00007f1ab8a6938f in QEventLoop::processEvents (this=this@entry=0x7ffff81c3700, flags=...) at kernel/qeventloop.cpp:149
#65 0x00007f1ab8a69618 in QEventLoop::exec (this=this@entry=0x7ffff81c3700, flags=...) at kernel/qeventloop.cpp:204
#66 0x00007f1ab8a6ecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#67 0x00007f1ab7e0effc in QApplication::exec () at kernel/qapplication.cpp:3828
#68 0x00000000004033a9 in main (argc=1, argv=0x7ffff81c39d8) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 321414, bug 317216, bug 315113, bug 313084, bug 309981.

Reported using DrKonqi
Comment 1 Lassi Väätämöinen 2013-11-27 20:15:51 UTC
Created attachment 83796 [details]
New crash information added by DrKonqi

kontact (4.11.2) on KDE Platform 4.11.2 using Qt 4.8.5

Two composer window open, both with recipient address filled . Kontact crashed when closing the first opened window from the taskbar.

-- Backtrace (Reduced):
#11 0x00007fee94755288 in operator-> (this=<optimized out>) at /usr/src/debug/kdepim-4.11.2/kmail/editor/codecmanager.cpp:50
#12 CodecManager::self () at /usr/src/debug/kdepim-4.11.2/kmail/editor/codecmanager.cpp:73
#13 0x00007fee9475456d in CodecAction::mimeCharsets (this=0x982aa20) at /usr/src/debug/kdepim-4.11.2/kmail/editor/codecaction.cpp:82
#14 0x00007fee94762ef2 in KMComposeWin::applyComposerSetting (this=this@entry=0x811bc30, mComposerBase=0x4787140) at /usr/src/debug/kdepim-4.11.2/kmail/editor/kmcomposewin.cpp:2764
#15 0x00007fee947630f8 in KMComposeWin::autoSaveMessage (this=0x811bc30, force=<optimized out>) at /usr/src/debug/kdepim-4.11.2/kmail/editor/kmcomposewin.cpp:1912
Comment 2 Denis Kurz 2016-09-24 19:21:27 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:42:41 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.