[kmail2] [Bug 323277] New: Lockup/crash when marking mails as read

Volker Kuhlmann list0570 at paradise.net.nz
Thu Aug 8 04:00:39 BST 2013


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

            Bug ID: 323277
           Summary: Lockup/crash when marking mails as read
    Classification: Unclassified
           Product: kmail2
           Version: 4.10.5
          Platform: openSUSE RPMs
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: kdepim-bugs at kde.org
          Reporter: list0570 at paradise.net.nz

Application: kmail (4.10.5)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

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

Enter local mail folder, select all emails with ^A, mark all as read with ^R.
The whole box was unread emails, the first email was selected when selecting
box.
There are just over 2000 emails in this box.

- Custom settings of the application:

The local mailbox in question is a kmail mail directory, the box an mbox file.
New emails are marked as "read" after 5 seconds.

kmail is quiet slow at processing the status flags of 200 emails, I have
observed this kind of problem repeatedly. Changing mail boxes quickly doesn't
help, although this time I avoided this AFAICR until all kmail operations were
completed.

At a wild guess, the 5s timeout for the selected email hit before the update
for the lot was completed, and status updating has a concurrency problem.

The crash can be reproduced sometimes.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x2b6f551a3c00 (LWP 22477))]

Thread 3 (Thread 0x2b6f5bb60700 (LWP 22481)):
#0  0x00002b6f4137e964 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib64/libpthread.so.0
#1  0x00002b6f4c61b7c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from
/usr/lib64/libQtWebKit.so.4
#2  0x00002b6f4c61b7f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) ()
from /usr/lib64/libQtWebKit.so.4
#3  0x00002b6f4137ae0f in start_thread () from /lib64/libpthread.so.0
#4  0x00002b6f3f1d47dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x2b6f5be79700 (LWP 22482)):
#0  0x00002b6f3f1cb87d in poll () from /lib64/libc.so.6
#1  0x00002b6f46eeeaa4 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00002b6f46eeebc4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x00002b6f3e89e2e6 in QEventDispatcherGlib::processEvents
(this=0x2b6f5c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00002b6f3e86eadf in QEventLoop::processEvents
(this=this at entry=0x2b6f5be78e00, flags=...) at kernel/qeventloop.cpp:149
#5  0x00002b6f3e86ed68 in QEventLoop::exec (this=0x2b6f5be78e00, flags=...) at
kernel/qeventloop.cpp:204
#6  0x00002b6f3e7710f0 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:542
#7  0x00002b6f3e7740cc in QThreadPrivate::start (arg=0x2189d90) at
thread/qthread_unix.cpp:338
#8  0x00002b6f4137ae0f in start_thread () from /lib64/libpthread.so.0
#9  0x00002b6f3f1d47dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x2b6f551a3c00 (LWP 22477)):
[KCrash Handler]
#6  0x00002b6f3cc1c1fb in KStatusNotifierItem::setStatus (this=0x20880c0,
status=KStatusNotifierItem::Active) at
/usr/src/debug/kdelibs-4.10.5/kdeui/notifications/kstatusnotifieritem.cpp:161
#7  0x00002b6f3d6ea4fd in KMail::KMSystemTray::setMode (this=0x20880c0,
newMode=0) at /usr/src/debug/kdepim-4.10.5/kmail/kmsystemtray.cpp:162
#8  0x00002b6f3d6f80c6 in KMKernel::toggleSystemTray (this=0x7fff095d8780) at
/usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:2062
#9  0x00002b6f3d749bd7 in KMMainWidget::readConfig (this=this at entry=0x57f6d10)
at /usr/src/debug/kdepim-4.10.5/kmail/kmmainwidget.cpp:980
#10 0x00002b6f3d74a0e1 in KMMainWidget::KMMainWidget (this=0x57f6d10,
parent=<optimized out>, aGUIClient=0x45ac5f0, actionCollection=<optimized out>,
config=...) at /usr/src/debug/kdepim-4.10.5/kmail/kmmainwidget.cpp:267
#11 0x00002b6f3d6ab25b in KMMainWin::KMMainWin (this=0x45ac590,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/usr/src/debug/kdepim-4.10.5/kmail/kmmainwin.cpp:67
#12 0x00002b6f3d6fb5ff in KMKernel::openReader (this=0x7fff095d8780,
onlyCheck=onlyCheck at entry=false) at
/usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:578
#13 0x00002b6f3d6fb800 in KMKernel::action (this=this at entry=0x7fff095d8780,
mailto=mailto at entry=false, check=check at entry=false, to=..., cc=..., bcc=...,
subj=..., body=..., messageFile=..., attachURLs=..., customHeaders=...) at
/usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:1372
#14 0x00002b6f3d6fc157 in KMKernel::handleCommandLine (this=0x7fff095d8780,
noArgsOpensReader=true) at /usr/src/debug/kdepim-4.10.5/kmail/kmkernel.cpp:494
#15 0x00000000004034e7 in KMailApplication::newInstance (this=0x7fff095d8750)
at /usr/src/debug/kdepim-4.10.5/kmail/main.cpp:87
#16 0x00002b6f3cb09ad2 in KUniqueApplicationAdaptor::newInstance
(this=0x1bbbe40, asn_id=..., args=...) at
/usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kuniqueapplication.cpp:442
#17 0x00002b6f3cb09b54 in qt_static_metacall (_a=0x7fff095d77a0, _id=<optimized
out>, _o=<optimized out>, _c=<optimized out>) at
/usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:58
#18 KUniqueApplicationAdaptor::qt_static_metacall (_o=<optimized out>,
_c=<optimized out>, _id=<optimized out>, _a=0x7fff095d77a0) at
/usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:52
#19 0x00002b6f3cb09c8b in KUniqueApplicationAdaptor::qt_metacall
(this=0x1bbbe40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>,
_a=0x7fff095d77a0) at
/usr/src/debug/kdelibs-4.10.5/build/kdeui/kuniqueapplication_p.moc:102
#20 0x00002b6f41119d8a in QDBusConnectionPrivate::deliverCall
(this=this at entry=0x1b808c0, object=object at entry=0x1bbbe40, msg=...,
metaTypes=..., slotIdx=4) at qdbusintegrator.cpp:951
#21 0x00002b6f4111af05 in QDBusConnectionPrivate::activateCall
(this=this at entry=0x1b808c0, object=0x1bbbe40, flags=flags at entry=337, msg=...)
at qdbusintegrator.cpp:863
#22 0x00002b6f4111b876 in QDBusConnectionPrivate::activateObject
(this=0x1b808c0, node=..., msg=..., pathStartPos=<optimized out>) at
qdbusintegrator.cpp:1427
#23 0x00002b6f4111b96b in QDBusActivateObjectEvent::placeMetaCall
(this=0x45af060) at qdbusintegrator.cpp:1541
#24 0x00002b6f3e88477e in QObject::event (this=0x7fff095d8750, e=<optimized
out>) at kernel/qobject.cpp:1203
#25 0x00002b6f3dc1b974 in QApplication::event(QEvent*) () from
/usr/lib64/libQtGui.so.4
#26 0x00002b6f3dc1986c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQtGui.so.4
#27 0x00002b6f3dc1dceb in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQtGui.so.4
#28 0x00002b6f3cb037f6 in KApplication::notify (this=0x7fff095d8750,
receiver=0x7fff095d8750, event=0x45af060) at
/usr/src/debug/kdelibs-4.10.5/kdeui/kernel/kapplication.cpp:311
#29 0x00002b6f3e86fd8e in QCoreApplication::notifyInternal
(this=0x7fff095d8750, receiver=receiver at entry=0x7fff095d8750,
event=event at entry=0x45af060) at kernel/qcoreapplication.cpp:946
#30 0x00002b6f3e8736f1 in sendEvent (event=0x45af060, receiver=0x7fff095d8750)
at kernel/qcoreapplication.h:231
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x1b351f0) at kernel/qcoreapplication.cpp:1570
#32 0x00002b6f3e89e133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#33 postEventSourceDispatch (s=0x1b9b4f0) at
kernel/qeventdispatcher_glib.cpp:279
#34 0x00002b6f46eee7d5 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#35 0x00002b6f46eeeb08 in ?? () from /usr/lib64/libglib-2.0.so.0
#36 0x00002b6f46eeebc4 in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#37 0x00002b6f3e89e2c6 in QEventDispatcherGlib::processEvents (this=0x1b88c20,
flags=...) at kernel/qeventdispatcher_glib.cpp:424
#38 0x00002b6f3dcb9c1e in ?? () from /usr/lib64/libQtGui.so.4
#39 0x00002b6f3e86eadf in QEventLoop::processEvents
(this=this at entry=0x7fff095d83d0, flags=...) at kernel/qeventloop.cpp:149
#40 0x00002b6f3e86ed68 in QEventLoop::exec (this=0x7fff095d83d0, flags=...) at
kernel/qeventloop.cpp:204
#41 0x00002b6f3e873a08 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1218
#42 0x0000000000402e8d in main (argc=<optimized out>, argv=<optimized out>) at
/usr/src/debug/kdepim-4.10.5/kmail/main.cpp:146

Possible duplicates by query: bug 323135, bug 318172, bug 316789, bug 316579,
bug 316424.

Reported using DrKonqi

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



More information about the Kdepim-bugs mailing list