[kontact] [Bug 343923] New: Konract crash on startup when existing instance running

Lukáš Karas lukas.karas at centrum.cz
Sun Feb 8 08:03:41 GMT 2015


https://bugs.kde.org/show_bug.cgi?id=343923

            Bug ID: 343923
           Summary: Konract crash on startup when existing instance
                    running
           Product: kontact
           Version: unspecified
          Platform: Kubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: mail
          Assignee: kdepim-bugs at kde.org
          Reporter: lukas.karas at centrum.cz

Application: kontact (4.14.1)
KDE Platform Version: 4.14.1
Qt Version: 4.8.6
Operating System: Linux 3.18.6 x86_64
Distribution: Ubuntu 14.10

- What I was doing when the application crashed:

Short time after system resume from sleep, I started kontact when previous
instance running already (I just want to activate existing one). Existing
instance exits and DrKonqi show me crash window. I'm not sure if new instance
crash old the old one.


Reproducible: Couldn't Reproduce




-- 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 0x7faae5b338c0 (LWP 7240))]

Thread 5 (Thread 0x7faac5dc3700 (LWP 7259)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faae083681d in WTF::TCMalloc_PageHeap::scavengerThread() () from
/usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007faae0836859 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007faadcf500a5 in start_thread (arg=0x7faac5dc3700) at
pthread_create.c:309
#4  0x00007faae306088d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7faa854c0700 (LWP 7261)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007faae057720d in JSC::BlockAllocator::blockFreeingThreadMain() () from
/usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007faae0865fd6 in WTF::wtfThreadEntryPoint(void*) () from
/usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007faadcf500a5 in start_thread (arg=0x7faa854c0700) at
pthread_create.c:309
#4  0x00007faae306088d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7faa71407700 (LWP 7393)):
#0  0x00007faae30563dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faadca6aee4 in g_main_context_poll (priority=2147483647, n_fds=1,
fds=0x7faa6c0013e0, timeout=5762, context=0x7faa6c0009a0) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:4076
#2  g_main_context_iterate (context=context at entry=0x7faa6c0009a0,
block=block at entry=1, dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3776
#3  0x00007faadca6affc in g_main_context_iteration (context=0x7faa6c0009a0,
may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#4  0x00007faae37e304e in QEventDispatcherGlib::processEvents
(this=0x7faa6c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007faae37b44f1 in QEventLoop::processEvents
(this=this at entry=0x7faa71406d20, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007faae37b4805 in QEventLoop::exec (this=this at entry=0x7faa71406d20,
flags=...) at kernel/qeventloop.cpp:204
#7  0x00007faae36b2c39 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#8  0x00007faae36b539f in QThreadPrivate::start (arg=0x12f2fc0) at
thread/qthread_unix.cpp:349
#9  0x00007faadcf500a5 in start_thread (arg=0x7faa71407700) at
pthread_create.c:309
#10 0x00007faae306088d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7faa6bdf3700 (LWP 10722)):
#0  0x00007faae30520ed in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007faadcaaded0 in read (__nbytes=16, __buf=0x7faa6bdf2ad0,
__fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#2  g_wakeup_acknowledge (wakeup=0x7faa64002220) at
/build/buildd/glib2.0-2.42.1/./glib/gwakeup.c:210
#3  0x00007faadca6a96c in g_main_context_check
(context=context at entry=0x7faa64002e00, max_priority=2147483647,
fds=fds at entry=0x7faa640012b0, n_fds=n_fds at entry=1) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3579
#4  0x00007faadca6ae83 in g_main_context_iterate
(context=context at entry=0x7faa64002e00, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3778
#5  0x00007faadca6affc in g_main_context_iteration (context=0x7faa64002e00,
may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#6  0x00007faae37e304e in QEventDispatcherGlib::processEvents
(this=0x7faa640048c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007faae37b44f1 in QEventLoop::processEvents
(this=this at entry=0x7faa6bdf2ce0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007faae37b4805 in QEventLoop::exec (this=this at entry=0x7faa6bdf2ce0,
flags=...) at kernel/qeventloop.cpp:204
#9  0x00007faae36b2c39 in QThread::exec (this=this at entry=0x5539f50) at
thread/qthread.cpp:538
#10 0x00007faae3796033 in QInotifyFileSystemWatcherEngine::run (this=0x5539f50)
at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007faae36b539f in QThreadPrivate::start (arg=0x5539f50) at
thread/qthread_unix.cpp:349
#12 0x00007faadcf500a5 in start_thread (arg=0x7faa6bdf3700) at
pthread_create.c:309
#13 0x00007faae306088d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7faae5b338c0 (LWP 7240)):
[KCrash Handler]
#6  0x00007faae2f9ce37 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007faae2f9e528 in __GI_abort () at abort.c:89
#8  0x00007faae36aac22 in qt_message_output (msgType=msgType at entry=QtFatalMsg,
buf=0xef4c228 "Fatal Error: Accessed global static 'KernelPrivate *sInstance()'
after destruction. Defined at ../../mailcommon/kernel/mailkernel.cpp:57") at
global/qglobal.cpp:2386
#9  0x00007faae36aaf89 in qt_message(QtMsgType, const char *, typedef
__va_list_tag __va_list_tag *) (msgType=msgType at entry=QtFatalMsg,
msg=msg at entry=0x7faa7ae8d3c8 "Fatal Error: Accessed global static '%s *%s()'
after destruction. Defined at %s:%d", ap=ap at entry=0x7fff221b9918) at
global/qglobal.cpp:2432
#10 0x00007faae36ab794 in qFatal (msg=msg at entry=0x7faa7ae8d3c8 "Fatal Error:
Accessed global static '%s *%s()' after destruction. Defined at %s:%d") at
global/qglobal.cpp:2615
#11 0x00007faa7add274f in operator-> (this=<optimized out>) at
../../mailcommon/kernel/mailkernel.cpp:57
#12 MailCommon::Kernel::self () at ../../mailcommon/kernel/mailkernel.cpp:73
#13 0x00007faa7ae1c263 in MailCommon::FolderCollection::writeConfig
(this=this at entry=0x1d8e960) at ../../mailcommon/folder/foldercollection.cpp:218
#14 0x00007faa7ae1ca82 in MailCommon::FolderCollection::~FolderCollection
(this=0x1d8e960, __in_chrg=<optimized out>) at
../../mailcommon/folder/foldercollection.cpp:84
#15 0x00007faa7ae1cb8f in ~FolderCollection (this=0x1d8e960,
__in_chrg=<optimized out>) at ../../mailcommon/folder/foldercollection.cpp:86
#16 deref (value=0x1d8e960, d=0x28ad730) 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=0x27f2f20, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:652
#21 0x00007faae2fa06a9 in __run_exit_handlers (status=255, listp=0x7faae33246c8
<__exit_funcs>, run_list_atexit=run_list_atexit at entry=true) at exit.c:82
#22 0x00007faae2fa06f5 in __GI_exit (status=<optimized out>) at exit.c:104
#23 0x00007faae3c597c6 in KCmdLineArgs::isSet (this=this at entry=0x575f400,
_opt=...) at ../../kdecore/kernel/kcmdlineargs.cpp:1520
#24 0x0000000000403dd7 in KontactApp::newInstance (this=0x7fff221ba930) at
../../../kontact/src/main.cpp:130
#25 0x00007faae4eeea5a in KUniqueApplicationAdaptor::newInstance
(this=0xf958b0, asn_id=..., args=...) at
../../kdeui/kernel/kuniqueapplication.cpp:442
#26 0x00007faae4eeeb3d in KUniqueApplicationAdaptor::qt_static_metacall
(_o=_o at entry=0xf958b0, _id=_id at entry=0, _a=_a at entry=0x7fff221b9ff0,
_c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#27 0x00007faae4eeed43 in qt_static_metacall (_a=0x7fff221b9ff0, _id=0,
_c=QMetaObject::InvokeMetaMethod, _o=0xf958b0) at
./kuniqueapplication_p.moc:100
#28 KUniqueApplicationAdaptor::qt_metacall (this=0xf958b0,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff221b9ff0) at
./kuniqueapplication_p.moc:101
#29 0x00007faae23aebf6 in QDBusConnectionPrivate::deliverCall
(this=this at entry=0xf6a280, object=object at entry=0xf958b0, msg=...,
metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#30 0x00007faae23afdab in QDBusConnectionPrivate::activateCall
(this=this at entry=0xf6a280, object=0xf958b0, flags=flags at entry=337, msg=...) at
qdbusintegrator.cpp:863
#31 0x00007faae23b0798 in QDBusConnectionPrivate::activateObject
(this=0xf6a280, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1427
#32 0x00007faae23b091b in QDBusActivateObjectEvent::placeMetaCall
(this=0x7f653e0) at qdbusintegrator.cpp:1541
#33 0x00007faae37cdf41 in QObject::event (this=this at entry=0x7fff221ba930,
e=e at entry=0x7f653e0) at kernel/qobject.cpp:1222
#34 0x00007faae37b9ebc in QCoreApplication::event
(this=this at entry=0x7fff221ba930, e=e at entry=0x7f653e0) at
kernel/qcoreapplication.cpp:1765
#35 0x00007faae41c4203 in QApplication::event (this=0x7fff221ba930,
e=0x7f653e0) at kernel/qapplication.cpp:2549
#36 0x00007faae41bf11c in QApplicationPrivate::notify_helper
(this=this at entry=0xf913f0, receiver=receiver at entry=0x7fff221ba930,
e=e at entry=0x7f653e0) at kernel/qapplication.cpp:4570
#37 0x00007faae41c5870 in QApplication::notify (this=this at entry=0x7fff221ba930,
receiver=receiver at entry=0x7fff221ba930, e=e at entry=0x7f653e0) at
kernel/qapplication.cpp:4356
#38 0x00007faae4ee757a in KApplication::notify (this=0x7fff221ba930,
receiver=0x7fff221ba930, event=0x7f653e0) at
../../kdeui/kernel/kapplication.cpp:311
#39 0x00007faae37b586d in QCoreApplication::notifyInternal
(this=0x7fff221ba930, receiver=receiver at entry=0x7fff221ba930,
event=event at entry=0x7f653e0) at kernel/qcoreapplication.cpp:953
#40 0x00007faae37b8f41 in sendEvent (event=0x7f653e0, receiver=0x7fff221ba930)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0xf48140) at
kernel/qcoreapplication.cpp:1577
#42 0x00007faae37b93d3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1470
#43 0x00007faae37e2ed3 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=0xf72f30) at
kernel/qeventdispatcher_glib.cpp:287
#45 0x00007faadca6ac5d in g_main_dispatch (context=0xf91880) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3111
#46 g_main_context_dispatch (context=context at entry=0xf91880) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3710
#47 0x00007faadca6af48 in g_main_context_iterate
(context=context at entry=0xf91880, block=block at entry=1,
dispatch=dispatch at entry=1, self=<optimized out>) at
/build/buildd/glib2.0-2.42.1/./glib/gmain.c:3781
#48 0x00007faadca6affc in g_main_context_iteration (context=0xf91880,
may_block=1) at /build/buildd/glib2.0-2.42.1/./glib/gmain.c:3842
#49 0x00007faae37e3031 in QEventDispatcherGlib::processEvents (this=0xf49a40,
flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0x00007faae42624e6 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007faae37b44f1 in QEventLoop::processEvents
(this=this at entry=0x7fff221ba860, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007faae37b4805 in QEventLoop::exec (this=this at entry=0x7fff221ba860,
flags=...) at kernel/qeventloop.cpp:204
#53 0x00007faae37b9f67 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1225
#54 0x00007faae41bd4dc in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x0000000000403509 in main (argc=3, argv=0x7fff221baa88) at
../../../kontact/src/main.cpp:219

Possible duplicates by query: bug 335225, bug 335224.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list