Bug 324949 - Kontact crashed on restart after changing threading settings
Summary: Kontact crashed on restart after changing threading settings
Status: RESOLVED DUPLICATE of bug 309981
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.10.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-09-16 07:45 UTC by Jussi Schultink
Modified: 2013-10-17 02:32 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jussi Schultink 2013-09-16 07:45:11 UTC
Application: kontact (4.10.5)
KDE Platform Version: 4.10.5 (Compiled from sources)
Qt Version: 4.8.4
Operating System: Linux 3.8.0-29-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:

The application crashed when I restarted it after changing the threading settings. To be specific, I cloned one of the settings, and changed some part, then saved, closed and re-opened the app, at which point it crashed.
 
- Custom settings of the application:
I cloned the activity by date, threaded and played, however, the settings were left the same as activity by date, threaded, so we had 2 of the same. I then clicked ok, clicked a mail or 2, and closed kmail. after this, on reopenening, it 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 0x7fdec1afa7c0 (LWP 2414))]

Thread 6 (Thread 0x7fdea3926700 (LWP 2418)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdebe28b585 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fdebe28b5d9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fdeb8ce0f8e in start_thread (arg=0x7fdea3926700) at pthread_create.c:311
#4  0x00007fdebf083e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7fde63113700 (LWP 2421)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fdebdfd1a09 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fdebe2b9cee in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fdeb8ce0f8e in start_thread (arg=0x7fde63113700) at pthread_create.c:311
#4  0x00007fdebf083e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7fde55a6b700 (LWP 2873)):
#0  0x00007fff757feaf7 in ?? ()
#1  0x00007fdec1b2aaa8 in ?? ()
#2  0x0000000250002f00 in ?? ()
#3  0x00007fde50002860 in ?? ()
#4  0x00007fde55a6ab80 in ?? ()
#5  0x00007fde55a6ac38 in ?? ()
#6  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fde54989700 (LWP 2884)):
#0  0x00007fdeb865d359 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdeb865d5e9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdeb861dd1a in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdeb861e175 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdeb861e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdec04a9036 in QEventDispatcherGlib::processEvents (this=0x7fde480008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fdec047938f in QEventLoop::processEvents (this=this@entry=0x7fde54988dc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdec0479618 in QEventLoop::exec (this=this@entry=0x7fde54988dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdec037b410 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007fdec037dbec in QThreadPrivate::start (arg=0x1782d60) at thread/qthread_unix.cpp:338
#10 0x00007fdeb8ce0f8e in start_thread (arg=0x7fde54989700) at pthread_create.c:311
#11 0x00007fdebf083e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7fde4e7dd700 (LWP 30063)):
#0  0x00007fff757feaf7 in ?? ()
#1  0x00007fdec19445c6 in check_match (sym=0x1) at dl-lookup.c:150
#2  0x00007fdebf098ead in clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#3  0x00007fdec03d3a74 in do_gettime (frac=0x7fde4e7dcad8, sec=0x7fde4e7dcad0) at tools/qelapsedtimer_unix.cpp:123
#4  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#5  0x00007fdec04a99ed in QTimerInfoList::updateCurrentTime (this=this@entry=0x7fde44005960) at kernel/qeventdispatcher_unix.cpp:354
#6  0x00007fdec04a9d33 in QTimerInfoList::timerWait (this=0x7fde44005960, tm=...) at kernel/qeventdispatcher_unix.cpp:461
#7  0x00007fdec04a879c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fde4e7dcbc4) at kernel/qeventdispatcher_glib.cpp:136
#8  0x00007fdec04a8845 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#9  0x00007fdeb861d900 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fdeb861e0fe in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fdeb861e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007fdec04a9036 in QEventDispatcherGlib::processEvents (this=0x7fde44002c20, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#13 0x00007fdec047938f in QEventLoop::processEvents (this=this@entry=0x7fde4e7dcd90, flags=...) at kernel/qeventloop.cpp:149
#14 0x00007fdec0479618 in QEventLoop::exec (this=this@entry=0x7fde4e7dcd90, flags=...) at kernel/qeventloop.cpp:204
#15 0x00007fdec037b410 in QThread::exec (this=this@entry=0x890f870) at thread/qthread.cpp:542
#16 0x00007fdec045aedf in QInotifyFileSystemWatcherEngine::run (this=0x890f870) at io/qfilesystemwatcher_inotify.cpp:256
#17 0x00007fdec037dbec in QThreadPrivate::start (arg=0x890f870) at thread/qthread_unix.cpp:338
#18 0x00007fdeb8ce0f8e in start_thread (arg=0x7fde4e7dd700) at pthread_create.c:311
#19 0x00007fdebf083e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7fdec1afa7c0 (LWP 2414)):
[KCrash Handler]
#6  0x00007fdebefc1037 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007fdebefc4698 in __GI_abort () at abort.c:90
#8  0x00007fdec03735c2 in qt_message_output (msgType=msgType@entry=QtFatalMsg, buf=0xaf9b208 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()' after destruction. Defined at ../../mailcommon/mailkernel.cpp:55") at global/qglobal.cpp:2347
#9  0x00007fdec0373938 in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, msg=msg@entry=0x7fde5ac0be18 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=ap@entry=0x7fff757a8af8) at global/qglobal.cpp:2393
#10 0x00007fdec0373ac4 in qFatal (msg=msg@entry=0x7fde5ac0be18 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at global/qglobal.cpp:2576
#11 0x00007fde5abbecb7 in operator-> (this=<optimized out>) at ../../mailcommon/mailkernel.cpp:55
#12 MailCommon::Kernel::self () at ../../mailcommon/mailkernel.cpp:71
#13 0x00007fde5abb0419 in MailCommon::FolderCollection::writeConfig (this=this@entry=0x1e615b0) at ../../mailcommon/foldercollection.cpp:209
#14 0x00007fde5abb0eea in MailCommon::FolderCollection::~FolderCollection (this=0x1e615b0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:84
#15 0x00007fde5abb0f69 in MailCommon::FolderCollection::~FolderCollection (this=0x1e615b0, __in_chrg=<optimized out>) at ../../mailcommon/foldercollection.cpp:86
#16 0x00007fde5abaf2e4 in deref (value=0x1e615b0, d=0x1c7bb90) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:342
#17 deref (this=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:336
#18 ~ExternalRefCount (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:401
#19 ~QSharedPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qsharedpointer_impl.h:466
#20 QMap<long long, QSharedPointer<MailCommon::FolderCollection> >::freeData (x=0x22c8720, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#21 0x00007fdebefc6121 in __run_exit_handlers (status=255, listp=0x7fdebf34b6a8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:77
#22 0x00007fdebefc61a5 in __GI_exit (status=<optimized out>) at exit.c:99
#23 0x00007fdec090d262 in KCmdLineArgs::isSet (this=this@entry=0x5d54fe0, _opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#24 0x0000000000403d67 in KontactApp::newInstance (this=0x7fff757aa110) at ../../../kontact/src/main.cpp:130
#25 0x00007fdec0ec6442 in KUniqueApplicationAdaptor::newInstance (this=0x1684f20, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007fdec0ec64c4 in qt_static_metacall (_a=0x7fff757a9350, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at ./kuniqueapplication_p.moc:58
#27 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=0x7fff757a9350) at ./kuniqueapplication_p.moc:52
#28 0x00007fdec0ec65fb in KUniqueApplicationAdaptor::qt_metacall (this=0x1684f20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff757a9350) at ./kuniqueapplication_p.moc:102
#29 0x00007fdebb9ec063 in QDBusConnectionPrivate::deliverCall (this=this@entry=0x14d7540, object=object@entry=0x1684f20, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#30 0x00007fdebb9ec955 in QDBusConnectionPrivate::activateCall (this=this@entry=0x14d7540, object=0x1684f20, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#31 0x00007fdebb9ed2cf in QDBusConnectionPrivate::activateObject (this=0x14d7540, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#32 0x00007fdebb9ed3ab in QDBusActivateObjectEvent::placeMetaCall (this=0xa5161f0) at qdbusintegrator.cpp:1541
#33 0x00007fdec04945be in QObject::event (this=this@entry=0x7fff757aa110, e=e@entry=0xa5161f0) at kernel/qobject.cpp:1194
#34 0x00007fdec047ef8c in QCoreApplication::event (this=this@entry=0x7fff757aa110, e=e@entry=0xa5161f0) at kernel/qcoreapplication.cpp:1758
#35 0x00007fdebf828314 in QApplication::event (this=0x7fff757aa110, e=0xa5161f0) at kernel/qapplication.cpp:2549
#36 0x00007fdebf8208ec in QApplicationPrivate::notify_helper (this=this@entry=0x14f0e50, receiver=receiver@entry=0x7fff757aa110, e=e@entry=0xa5161f0) at kernel/qapplication.cpp:4567
#37 0x00007fdebf82325b in QApplication::notify (this=this@entry=0x7fff757aa110, receiver=receiver@entry=0x7fff757aa110, e=e@entry=0xa5161f0) at kernel/qapplication.cpp:4428
#38 0x00007fdec0ec31a6 in KApplication::notify (this=0x7fff757aa110, receiver=0x7fff757aa110, event=0xa5161f0) at ../../kdeui/kernel/kapplication.cpp:311
#39 0x00007fdec047a63e in QCoreApplication::notifyInternal (this=0x7fff757aa110, receiver=receiver@entry=0x7fff757aa110, event=event@entry=0xa5161f0) at kernel/qcoreapplication.cpp:946
#40 0x00007fdec047e171 in sendEvent (event=0xa5161f0, receiver=0x7fff757aa110) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x14aa6a0) at kernel/qcoreapplication.cpp:1570
#42 0x00007fdec047e4a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#43 0x00007fdec04a8e83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0x14f12c0) at kernel/qeventdispatcher_glib.cpp:279
#45 0x00007fdeb861df05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#46 0x00007fdeb861e248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007fdeb861e304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fdec04a9016 in QEventDispatcherGlib::processEvents (this=0x14abb60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#49 0x00007fdebf8c61ae in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#50 0x00007fdec047938f in QEventLoop::processEvents (this=this@entry=0x7fff757a9f80, flags=...) at kernel/qeventloop.cpp:149
#51 0x00007fdec0479618 in QEventLoop::exec (this=this@entry=0x7fff757a9f80, flags=...) at kernel/qeventloop.cpp:204
#52 0x00007fdec047ecf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#53 0x00007fdebf81effc in QApplication::exec () at kernel/qapplication.cpp:3828
#54 0x00000000004033a9 in main (argc=3, argv=0x7fff757aa258) at ../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 322594, bug 321981, bug 321414, bug 317216, bug 315113.

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-10-17 02:32:10 UTC

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