Bug 347526 - crash restart kmail after config change
Summary: crash restart kmail after config change
Status: RESOLVED DUPLICATE of bug 315568
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-10 17:46 UTC by Markus Frommherz
Modified: 2017-01-20 22:19 UTC (History)
1 user (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 Markus Frommherz 2015-05-10 17:46:37 UTC
Application: kmail (4.14.6)
KDE Platform Version: 4.14.6 (Compiled from sources)
Qt Version: 4.8.6
Operating System: Linux 3.19.0-16-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed: restarted kmail after adding "clear trash on application exit"

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f6609d97800 (LWP 15260))]

Thread 6 (Thread 0x7f65e219a700 (LWP 15263)):
#0  0x00007f66048d1da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f65fb3fe81d in  () at /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f65fb3fe859 in  () at /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f66048cc6aa in start_thread (arg=0x7f65e219a700) at pthread_create.c:333
#4  0x00007f6607029eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f65a0fef700 (LWP 15264)):
#0  0x00007f66048d1da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f65fb13f20d in  () at /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f65fb42dfd6 in  () at /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f66048cc6aa in start_thread (arg=0x7f65a0fef700) at pthread_create.c:333
#4  0x00007f6607029eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f659bfff700 (LWP 15265)):
#0  0x00007f660701e8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f65fec91ebc in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f65940013e0, timeout=9909, context=0x7f65940009a0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:4103
#2  0x00007f65fec91ebc in g_main_context_iterate (context=context@entry=0x7f65940009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3803
#3  0x00007f65fec91fcc in g_main_context_iteration (context=0x7f65940009a0, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#4  0x00007f66086c282e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f65940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6608691cd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f659bffedd0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6608692035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f659bffedd0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6608585e89 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f66085886ff in QThreadPrivate::start(void*) (arg=0x1d789a0) at thread/qthread_unix.cpp:349
#9  0x00007f66048cc6aa in start_thread (arg=0x7f659bfff700) at pthread_create.c:333
#10 0x00007f6607029eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f659aa1b700 (LWP 15266)):
#0  0x00007f65fec8ef2f in g_source_iter_next (iter=iter@entry=0x7f659aa1abc0, source=source@entry=0x7f659aa1abb8) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:923
#1  0x00007f65fec917ef in g_main_context_check (context=context@entry=0x7f658c0009a0, max_priority=2147483647, fds=fds@entry=0x7f658c003210, n_fds=n_fds@entry=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3629
#2  0x00007f65fec91e60 in g_main_context_iterate (context=context@entry=0x7f658c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3805
#3  0x00007f65fec91fcc in g_main_context_iteration (context=0x7f658c0009a0, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#4  0x00007f66086c282e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f658c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f6608691cd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f659aa1ad80, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f6608692035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f659aa1ad80, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f6608585e89 in QThread::exec() (this=this@entry=0x1c62a00) at thread/qthread.cpp:538
#8  0x00007f6608672443 in QInotifyFileSystemWatcherEngine::run() (this=0x1c62a00) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007f66085886ff in QThreadPrivate::start(void*) (arg=0x1c62a00) at thread/qthread_unix.cpp:349
#10 0x00007f66048cc6aa in start_thread (arg=0x7f659aa1b700) at pthread_create.c:333
#11 0x00007f6607029eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f658b954700 (LWP 15681)):
#0  0x00007f66048d1da0 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f65f2897a7a in  () at /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007f65f2897aa9 in  () at /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007f66048cc6aa in start_thread (arg=0x7f658b954700) at pthread_create.c:333
#4  0x00007f6607029eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f6609d97800 (LWP 15260)):
[KCrash Handler]
#6  0x00007f66098d3411 in KStatusNotifierItem::setStatus(KStatusNotifierItem::ItemStatus) (this=this@entry=0x4882b00, status=KStatusNotifierItem::Active) at ../../kdeui/notifications/kstatusnotifieritem.cpp:156
#7  0x00007f6608aa82e0 in KMail::KMSystemTray::setMode(int) (this=0x4882b00, newMode=1) at ../../kmail/kmsystemtray.cpp:171
#8  0x00007f6608ab2ad3 in KMKernel::toggleSystemTray() (this=0x7ffe052b3e10) at ../../kmail/kmkernel.cpp:2047
#9  0x00007f6608ae231f in KMMainWidget::readConfig() (this=this@entry=0x4330510) at ../../kmail/kmmainwidget.cpp:862
#10 0x00007f6608af18cc in KMMainWidget::KMMainWidget(QWidget*, KXMLGUIClient*, KActionCollection*, KSharedPtr<KSharedConfig>) (this=0x4330510, parent=<optimized out>, aGUIClient=0x3fa4dc0, actionCollection=0x3cd17d0, config=...) at ../../kmail/kmmainwidget.cpp:258
#11 0x00007f6608aa07a8 in KMMainWin::KMMainWin(QWidget*) (this=0x3fa4d60, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../kmail/kmmainwin.cpp:63
#12 0x00007f6608ab1617 in KMKernel::openReader(bool) (this=this@entry=0x7ffe052b3e10, onlyCheck=onlyCheck@entry=false) at ../../kmail/kmkernel.cpp:536
#13 0x00007f6608ab5db4 in KMKernel::action(bool, bool, QString const&, QString const&, QString const&, QString const&, QString const&, KUrl const&, KUrl::List const&, QStringList const&, QString const&, QString const&) (this=this@entry=0x7ffe052b3e10, mailto=mailto@entry=false, check=check@entry=false, to=..., cc=..., bcc=..., subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=..., replyTo=..., inReplyTo=...) at ../../kmail/kmkernel.cpp:1352
#14 0x00007f6608ab6d79 in KMKernel::handleCommandLine(bool) (this=0x7ffe052b3e10, noArgsOpensReader=noArgsOpensReader@entry=true) at ../../kmail/kmkernel.cpp:445
#15 0x000000000040343b in KMailApplication::newInstance() (this=0x7ffe052b3de0) at ../../kmail/main.cpp:87
#16 0x00007f66097af06a in KUniqueApplicationAdaptor::newInstance(QByteArray const&, QByteArray const&) (this=0x19ed450, asn_id=..., args=...) at ../../kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f66097af14d in KUniqueApplicationAdaptor::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) (_o=_o@entry=0x19ed450, _id=_id@entry=0, _a=_a@entry=0x7ffe052b3130, _c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#18 0x00007f66097af353 in KUniqueApplicationAdaptor::qt_metacall(QMetaObject::Call, int, void**) (_a=0x7ffe052b3130, _id=0, _c=QMetaObject::InvokeMetaMethod, _o=0x19ed450) at ./kuniqueapplication_p.moc:100
#19 0x00007f66097af353 in KUniqueApplicationAdaptor::qt_metacall(QMetaObject::Call, int, void**) (this=0x19ed450, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffe052b3130) at ./kuniqueapplication_p.moc:101
#20 0x00007f660545c6a6 in QDBusConnectionPrivate::deliverCall(QObject*, int, QDBusMessage const&, QList<int> const&, int) (this=this@entry=0x188e5a0, object=object@entry=0x19ed450, msg=..., metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f660545d8bb in QDBusConnectionPrivate::activateCall(QObject*, int, QDBusMessage const&) (this=this@entry=0x188e5a0, object=0x19ed450, flags=flags@entry=337, msg=...) at qdbusintegrator.cpp:863
#22 0x00007f660545e2b0 in QDBusConnectionPrivate::activateObject(QDBusConnectionPrivate::ObjectTreeNode&, QDBusMessage const&, int) (this=0x188e5a0, node=..., msg=..., pathStartPos=<optimized out>) at qdbusintegrator.cpp:1427
#23 0x00007f660545e43b in QDBusActivateObjectEvent::placeMetaCall(QObject*) (this=0x28489b0) at qdbusintegrator.cpp:1541
#24 0x00007f66086ac891 in QObject::event(QEvent*) (this=this@entry=0x7ffe052b3de0, e=e@entry=0x28489b0) at kernel/qobject.cpp:1222
#25 0x00007f66086979fc in QCoreApplication::event(QEvent*) (this=this@entry=0x7ffe052b3de0, e=e@entry=0x28489b0) at kernel/qcoreapplication.cpp:1767
#26 0x00007f66079dfcd3 in QApplication::event(QEvent*) (this=0x7ffe052b3de0, e=0x28489b0) at kernel/qapplication.cpp:2549
#27 0x00007f66079da9bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x18b5a90, receiver=receiver@entry=0x7ffe052b3de0, e=e@entry=0x28489b0) at kernel/qapplication.cpp:4570
#28 0x00007f66079e14d8 in QApplication::notify(QObject*, QEvent*) (this=this@entry=0x7ffe052b3de0, receiver=receiver@entry=0x7ffe052b3de0, e=e@entry=0x28489b0) at kernel/qapplication.cpp:4356
#29 0x00007f66097a7b4a in KApplication::notify(QObject*, QEvent*) (this=0x7ffe052b3de0, receiver=0x7ffe052b3de0, event=0x28489b0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f660869317d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe052b3de0, receiver=receiver@entry=0x7ffe052b3de0, event=event@entry=0x28489b0) at kernel/qcoreapplication.cpp:955
#31 0x00007f6608696a21 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (event=0x28489b0, receiver=0x7ffe052b3de0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 0x00007f6608696a21 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1825220) at kernel/qcoreapplication.cpp:1579
#33 0x00007f6608696eb3 in QCoreApplication::sendPostedEvents(QObject*, int) (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#34 0x00007f66086c269e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 0x00007f66086c269e in postEventSourceDispatch(GSource*, GSourceFunc, gpointer) (s=0x18b5f80) at kernel/qeventdispatcher_glib.cpp:300
#36 0x00007f65fec91c3d in g_main_context_dispatch (context=0x18a24b0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3122
#37 0x00007f65fec91c3d in g_main_context_dispatch (context=context@entry=0x18a24b0) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3737
#38 0x00007f65fec91f20 in g_main_context_iterate (context=context@entry=0x18a24b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3808
#39 0x00007f65fec91fcc in g_main_context_iteration (context=0x18a24b0, may_block=1) at /build/buildd/glib2.0-2.44.0/./glib/gmain.c:3869
#40 0x00007f66086c280e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1847320, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#41 0x00007f6607a82c66 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007f6608691cd1 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe052b3a20, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007f6608692035 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe052b3a20, flags=...) at kernel/qeventloop.cpp:204
#44 0x00007f6608697ab9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1227
#45 0x00007f66079d8c1c in QApplication::exec() () at kernel/qapplication.cpp:3828
#46 0x0000000000402d82 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

The reporter indicates this bug may be a duplicate of or related to bug 344270.

Possible duplicates by query: bug 347236, bug 344270.

Reported using DrKonqi
Comment 1 Denis Kurz 2017-01-20 22:19:50 UTC

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