[kmail2] [Bug 344270] kmail crashed on restart

Joshua Clayton stillcompiling at gmail.com
Wed May 6 15:52:49 BST 2015


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

Joshua Clayton <stillcompiling at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stillcompiling at gmail.com

--- Comment #2 from Joshua Clayton <stillcompiling at gmail.com> ---
In my case, a mailing-list filter hung, so I stopped akonadi, closed kmail.
kmail crashed on restart. Logging completely out is the only way to get it back
into a working state.

Another possible clue: when started from the command line, I get the following
warning:

me at my-pc:~$ kmail
QDBusConnection: session D-Bus connection created before QCoreApplication.
Application may misbehave.

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 0x7f47a25c3800 (LWP 3296))]

Thread 5 (Thread 0x7f477ac14700 (LWP 3383)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f4793c3981d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4793c39859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f479d1076aa in start_thread (arg=0x7f477ac14700) at
pthread_create.c:333
#4  0x00007f479f864eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f4739a81700 (LWP 3421)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f479397a20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f4793c68fd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f479d1076aa in start_thread (arg=0x7f4739a81700) at
pthread_create.c:333
#4  0x00007f479f864eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f4738e23700 (LWP 3425)):
#0  0x00007f479f8598dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f47974ccebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f47974ccfcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f47a0efd82e in QEventDispatcherGlib::processEvents
(this=0x7f472c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f47a0ecccd1 in QEventLoop::processEvents
(this=this at entry=0x7f4738e22dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f47a0ecd035 in QEventLoop::exec (this=this at entry=0x7f4738e22dd0,
flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f47a0dc0e89 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:538
#7  0x00007f47a0dc36ff in QThreadPrivate::start (arg=0x288fc30) at
thread/qthread_unix.cpp:349
#8  0x00007f479d1076aa in start_thread (arg=0x7f4738e23700) at
pthread_create.c:333
#9  0x00007f479f864eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f47313f7700 (LWP 3688)):
#0  0x00007ffd9e3eec2e in clock_gettime ()
#1  0x00007f479f87338d in __GI___clock_gettime (clock_id=<optimized out>,
tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f47a0e1aac5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic
pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007f47a0efe635 in updateCurrentTime (this=0x7f4728002ee0) at
kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7f4728002ee0, tm=...) at
kernel/qeventdispatcher_unix.cpp:460
#6  0x00007f47a0efceec in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f47313f6bb4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007f47a0efcfb5 in timerSourcePrepare (source=<optimized out>,
timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007f47974cc3fd in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f47974ccde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f47974ccfcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f47a0efd82e in QEventDispatcherGlib::processEvents
(this=0x7f47280008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007f47a0ecccd1 in QEventLoop::processEvents
(this=this at entry=0x7f47313f6d80, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007f47a0ecd035 in QEventLoop::exec (this=this at entry=0x7f47313f6d80,
flags=...) at kernel/qeventloop.cpp:204
#14 0x00007f47a0dc0e89 in QThread::exec (this=this at entry=0x468dfa0) at
thread/qthread.cpp:538
#15 0x00007f47a0ead443 in QInotifyFileSystemWatcherEngine::run (this=0x468dfa0)
at io/qfilesystemwatcher_inotify.cpp:265
#16 0x00007f47a0dc36ff in QThreadPrivate::start (arg=0x468dfa0) at
thread/qthread_unix.cpp:349
#17 0x00007f479d1076aa in start_thread (arg=0x7f47313f7700) at
pthread_create.c:333
#18 0x00007f479f864eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f47a25c3800 (LWP 3296)):
[KCrash Handler]
#6  0x00007f47a210e411 in KStatusNotifierItem::setStatus
(this=this at entry=0x2b13d50, status=status at entry=KStatusNotifierItem::Active) at
../../kdeui/notifications/kstatusnotifieritem.cpp:156
#7  0x00007f47a12e3315 in KMail::KMSystemTray::setMode (this=0x2b13d50,
newMode=0) at ../../kmail/kmsystemtray.cpp:168
#8  0x00007f47a12edad3 in KMKernel::toggleSystemTray (this=0x7ffd9e3e6bf0) at
../../kmail/kmkernel.cpp:2047
#9  0x00007f47a131d31f in KMMainWidget::readConfig (this=this at entry=0x27d8050)
at ../../kmail/kmmainwidget.cpp:862
#10 0x00007f47a132c8cc in KMMainWidget::KMMainWidget (this=0x27d8050,
parent=<optimized out>, aGUIClient=0x265cca0, actionCollection=0x264ae60,
config=...) at ../../kmail/kmmainwidget.cpp:258
#11 0x00007f47a12db7a8 in KMMainWin::KMMainWin (this=0x265cc40,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
../../kmail/kmmainwin.cpp:63
#12 0x00007f47a12ec617 in KMKernel::openReader (this=this at entry=0x7ffd9e3e6bf0,
onlyCheck=onlyCheck at entry=false) at ../../kmail/kmkernel.cpp:536
#13 0x00007f47a12f0db4 in KMKernel::action (this=this at entry=0x7ffd9e3e6bf0,
mailto=mailto at entry=false, check=check at entry=false, to=..., cc=..., bcc=...,
subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...,
replyTo=..., inReplyTo=...) at ../../kmail/kmkernel.cpp:1352
#14 0x00007f47a12f1d79 in KMKernel::handleCommandLine (this=0x7ffd9e3e6bf0,
noArgsOpensReader=noArgsOpensReader at entry=true) at ../../kmail/kmkernel.cpp:445
#15 0x000000000040343b in KMailApplication::newInstance (this=0x7ffd9e3e6bc0)
at ../../kmail/main.cpp:87
#16 0x00007f47a1fea06a in KUniqueApplicationAdaptor::newInstance
(this=0x24d9260, asn_id=..., args=...) at
../../kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00007f47a1fea14d in KUniqueApplicationAdaptor::qt_static_metacall
(_o=_o at entry=0x24d9260, _id=_id at entry=0, _a=_a at entry=0x7ffd9e3e5f10,
_c=QMetaObject::InvokeMetaMethod) at ./kuniqueapplication_p.moc:57
#18 0x00007f47a1fea353 in qt_static_metacall (_a=0x7ffd9e3e5f10, _id=0,
_c=QMetaObject::InvokeMetaMethod, _o=0x24d9260) at
./kuniqueapplication_p.moc:100
#19 KUniqueApplicationAdaptor::qt_metacall (this=0x24d9260,
_c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7ffd9e3e5f10) at
./kuniqueapplication_p.moc:101
#20 0x00007f479dc976a6 in QDBusConnectionPrivate::deliverCall
(this=this at entry=0x238b690, object=object at entry=0x24d9260, msg=...,
metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00007f479dc988bb in QDBusConnectionPrivate::activateCall
(this=this at entry=0x238b690, object=0x24d9260, flags=flags at entry=337, msg=...)
at qdbusintegrator.cpp:863
#22 0x00007f479dc992b0 in QDBusConnectionPrivate::activateObject
(this=0x238b690, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1427
#23 0x00007f479dc9943b in QDBusActivateObjectEvent::placeMetaCall
(this=0x4451ee0) at qdbusintegrator.cpp:1541
#24 0x00007f47a0ee7891 in QObject::event (this=this at entry=0x7ffd9e3e6bc0,
e=e at entry=0x4451ee0) at kernel/qobject.cpp:1222
#25 0x00007f47a0ed29fc in QCoreApplication::event
(this=this at entry=0x7ffd9e3e6bc0, e=e at entry=0x4451ee0) at
kernel/qcoreapplication.cpp:1767
#26 0x00007f47a021acd3 in QApplication::event (this=0x7ffd9e3e6bc0,
e=0x4451ee0) at kernel/qapplication.cpp:2549
#27 0x00007f47a02159bc in QApplicationPrivate::notify_helper
(this=this at entry=0x23af2e0, receiver=receiver at entry=0x7ffd9e3e6bc0,
e=e at entry=0x4451ee0) at kernel/qapplication.cpp:4570
#28 0x00007f47a021c4d8 in QApplication::notify (this=this at entry=0x7ffd9e3e6bc0,
receiver=receiver at entry=0x7ffd9e3e6bc0, e=e at entry=0x4451ee0) at
kernel/qapplication.cpp:4356
#29 0x00007f47a1fe2b4a in KApplication::notify (this=0x7ffd9e3e6bc0,
receiver=0x7ffd9e3e6bc0, event=0x4451ee0) at
../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f47a0ece17d in QCoreApplication::notifyInternal
(this=0x7ffd9e3e6bc0, receiver=receiver at entry=0x7ffd9e3e6bc0,
event=event at entry=0x4451ee0) at kernel/qcoreapplication.cpp:955
#31 0x00007f47a0ed1a21 in sendEvent (event=0x4451ee0, receiver=0x7ffd9e3e6bc0)
at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver at entry=0x0,
event_type=event_type at entry=0, data=0x2323220) at
kernel/qcoreapplication.cpp:1579
#33 0x00007f47a0ed1eb3 in QCoreApplication::sendPostedEvents
(receiver=receiver at entry=0x0, event_type=event_type at entry=0) at
kernel/qcoreapplication.cpp:1472
#34 0x00007f47a0efd69e in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x239efc0) at
kernel/qeventdispatcher_glib.cpp:300
#36 0x00007f47974ccc3d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f47974ccf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f47974ccfcc in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f47a0efd80e in QEventDispatcherGlib::processEvents (this=0x2324b20,
flags=...) at kernel/qeventdispatcher_glib.cpp:450
#40 0x00007f47a02bdc66 in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f47a0ecccd1 in QEventLoop::processEvents
(this=this at entry=0x7ffd9e3e6800, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f47a0ecd035 in QEventLoop::exec (this=this at entry=0x7ffd9e3e6800,
flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f47a0ed2ab9 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1227
#44 0x00007f47a0213c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x0000000000402d82 in main (argc=<optimized out>, argv=<optimized out>) at
../../kmail/main.cpp:145

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



More information about the Kdepim-bugs mailing list