Bug 217330

Summary: Kontact crashes in regular intervals
Product: [Unmaintained] kmail Reporter: Steve <bugskdeorg>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: douglas, th
Priority: NOR    
Version: 1.12.2   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Steve 2009-12-04 14:01:29 UTC
Application that crashed: kontact
Version of the application: 4.3.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-15-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Kontact crashes in regular (~5 minute) intervals. Crash does not seem to be related to GUI, as it crashes in the background as well.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7f4602d26750 (LWP 6135))]

Thread 6 (Thread 0x7f45d7fff910 (LWP 6588)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007f45de3c8c91 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f45fa09ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f460038e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f45d68f9910 (LWP 6589)):
#0  0x00007f45fa2f022a in ?? () from /lib/libglib-2.0.so.0
#1  0x00007f45fa2f06b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f4600a9b1fe in QEventDispatcherGlib::processEvents (this=0x194f3d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:329
#3  0x00007f4600a71532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#4  0x00007f4600a71904 in QEventLoop::exec (this=0x7f45d68f9000, flags=) at kernel/qeventloop.cpp:201
#5  0x00007f46009896cb in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#6  0x00007f45de62356e in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#7  0x00007f460098c445 in QThreadPrivate::start (arg=0x3df9ec0) at thread/qthread_unix.cpp:188
#8  0x00007f45fa09ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f460038e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 4 (Thread 0x7f45d60f8910 (LWP 6590)):
#0  0x00007f4600382373 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f45dc26820f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007f45dc2585e6 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007f45dc259eb9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007f45dc259f70 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007f45dc26812b in ?? () from /usr/lib/libpulse.so.0
#6  0x00007f45d75eb050 in ?? () from /usr/lib/libpulsecommon-0.9.19.so
#7  0x00007f45fa09ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#8  0x00007f460038e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f45d18f6910 (LWP 6591)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007f45de3d9983 in ?? () from /usr/lib/libxine.so.1
#2  0x00007f45fa09ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007f460038e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 2 (Thread 0x7f45d0ad0910 (LWP 6592)):
#0  0x00007f46003873c2 in select () from /lib/libc.so.6
#1  0x00007f45de3f1725 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x00007f45de3d67e9 in ?? () from /usr/lib/libxine.so.1
#3  0x00007f45fa09ba04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f460038e7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 1 (Thread 0x7f4602d26750 (LWP 6135)):
[KCrash Handler]
#5  0x00007f45eae2dbfc in FolderStorage::rDict (this=0x2579770, msg=0x5f445c0, index=2565, newIndex=2564) at ../../kmail/folderstorage.h:596
#6  KMMsgDict::update (this=0x2579770, msg=0x5f445c0, index=2565, newIndex=2564) at ../../kmail/kmmsgdict.cpp:316
#7  0x00007f45eaea0a33 in KMMsgList::remove (this=0x253b168, idx=<value optimized out>) at ../../kmail/kmmsglist.cpp:151
#8  0x00007f45eaea0ab1 in KMMsgList::take (this=0x2579770, idx=2565) at ../../kmail/kmmsglist.cpp:165
#9  0x00007f45eae35e4d in FolderStorage::removeMsg (this=0x253b0f0, idx=1879) at ../../kmail/folderstorage.cpp:397
#10 0x00007f45eaf0da19 in KMFolderMaildir::removeMsg (this=0x253b0f0, idx=1879) at ../../kmail/kmfoldermaildir.cpp:894
#11 0x00007f45eafd5760 in KMMoveCommand::execute (this=0x5e81910) at ../../kmail/kmcommands.cpp:2140
#12 0x00007f45eafbb2ca in KMCommand::slotPostTransfer (this=0x5e81910, result=KMCommand::OK) at ../../kmail/kmcommands.cpp:274
#13 0x00007f45eafc54d3 in KMCommand::qt_metacall (this=0x5e81910, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff932593c0) at ./kmcommands.moc:87
#14 0x00007f45eafd6810 in KMMoveCommand::qt_metacall (this=0x2579770, _c=99894720, _id=2565, _a=0xa04) at ./kmcommands.moc:1706
#15 0x00007f4600a87ddc in QMetaObject::activate (sender=0x5e81910, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xa04) at kernel/qobject.cpp:3113
#16 0x00007f45eafb844e in KMCommand::messagesTransfered (this=0x2579770, _t1=KMCommand::OK) at ./kmcommands.moc:102
#17 0x00007f45eafd3648 in KMCommand::transferSelectedMsgs (this=0x5e81910) at ../../kmail/kmcommands.cpp:368
#18 0x00007f45eafd386f in KMCommand::slotStart (this=0x5e81910) at ../../kmail/kmcommands.cpp:266
#19 0x00007f45eafc54b6 in KMCommand::qt_metacall (this=0x5e81910, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff93259620) at ./kmcommands.moc:86
#20 0x00007f45eafd6810 in KMMoveCommand::qt_metacall (this=0x2579770, _c=99894720, _id=2565, _a=0xa04) at ./kmcommands.moc:1706
#21 0x00007f4600a87ddc in QMetaObject::activate (sender=0x5e7dd50, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0xa04) at kernel/qobject.cpp:3113
#22 0x00007f4600a8ce1f in QSingleShotTimer::timerEvent (this=0x5e7dd50) at kernel/qtimer.cpp:298
#23 0x00007f4600a81d83 in QObject::event (this=0x5e7dd50, e=0x5f445c0) at kernel/qobject.cpp:1075
#24 0x00007f4601392efc in QApplicationPrivate::notify_helper (this=0x19042a0, receiver=0x5e7dd50, e=0x7fff93259c30) at kernel/qapplication.cpp:4056
#25 0x00007f460139a1ce in QApplication::notify (this=0x7fff93259f90, receiver=0x5e7dd50, e=0x7fff93259c30) at kernel/qapplication.cpp:4021
#26 0x00007f4601fc9ab6 in KApplication::notify (this=0x7fff93259f90, receiver=0x5e7dd50, event=0x7fff93259c30) at ../../kdeui/kernel/kapplication.cpp:302
#27 0x00007f4600a72c2c in QCoreApplication::notifyInternal (this=0x7fff93259f90, receiver=0x5e7dd50, event=0x7fff93259c30) at kernel/qcoreapplication.cpp:610
#28 0x00007f4600a9d862 in QCoreApplication::sendEvent (this=0x18fed10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#29 QTimerInfoList::activateTimers (this=0x18fed10) at kernel/qeventdispatcher_unix.cpp:572
#30 0x00007f4600a9b25d in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:165
#31 0x00007f45fa2ecbbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#32 0x00007f45fa2f0588 in ?? () from /lib/libglib-2.0.so.0
#33 0x00007f45fa2f06b0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#34 0x00007f4600a9b1a6 in QEventDispatcherGlib::processEvents (this=0x18cfcb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#35 0x00007f46014274be in QGuiEventDispatcherGlib::processEvents (this=0x2579770, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#36 0x00007f4600a71532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#37 0x00007f4600a71904 in QEventLoop::exec (this=0x7fff93259ed0, flags=) at kernel/qeventloop.cpp:201
#38 0x00007f4600a73ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#39 0x0000000000403f47 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Christophe Marin 2009-12-04 23:38:00 UTC
maybe related to bug 197559
Comment 2 Björn Ruberg 2010-03-14 22:36:21 UTC
*** Bug 230183 has been marked as a duplicate of this bug. ***
Comment 3 Christophe Marin 2011-07-08 09:02:02 UTC
*** Bug 276512 has been marked as a duplicate of this bug. ***
Comment 4 Myriam Schweingruber 2012-08-19 10:49:14 UTC
Thank you for your report. Kmail1 is currently unmaintained and the code has changed sufficiently in Kmail2 so the backtraces are not really useful anymore. Should you experience the same crash in Kmail 4.8.5 or later, please open a new report for Kmail2. Thank you for your understanding