Bug 298322

Summary: Kmail crash when mark some html mails as read
Product: [Applications] kmail2 Reporter: mmestre
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: montel
Priority: NOR    
Version: 4.8.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description mmestre 2012-04-17 19:37:16 UTC
Application: kmail (4.8.2)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-23-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
I was marking several html mails as marked, using a custom key shortcut.

The crash can be reproduced some of the time.

-- 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 0x7f6a6d0e37c0 (LWP 2723))]

Thread 5 (Thread 0x7f6a4aafe700 (LWP 2731)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6a5f3d9dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f6a5f3d9f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f6a67f0be9a in start_thread (arg=0x7f6a4aafe700) at pthread_create.c:308
#4  0x00007f6a6a43c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f6a4a1fd700 (LWP 2732)):
#0  0x00007f6a6a430b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6a62ce5ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6a62ce6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6a6adc7426 in QEventDispatcherGlib::processEvents (this=0x7f6a440008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f6a6ad96c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f6a6ad96ed7 in QEventLoop::exec (this=0x7f6a4a1fcdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f6a6ac95fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f6a6ac98fcb in QThreadPrivate::start (arg=0x1b757e0) at thread/qthread_unix.cpp:298
#8  0x00007f6a67f0be9a in start_thread (arg=0x7f6a4a1fd700) at pthread_create.c:308
#9  0x00007f6a6a43c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6a0316f700 (LWP 2737)):
#0  0x00007f6a67f0df69 in __pthread_mutex_lock (mutex=0x7f69f4000a60) at pthread_mutex_lock.c:92
#1  0x00007f6a62d21561 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f6a62ce58c8 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6a62ce5f96 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6a62ce6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6a6adc7426 in QEventDispatcherGlib::processEvents (this=0x7f69f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f6a6ad96c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f6a6ad96ed7 in QEventLoop::exec (this=0x7f6a0316ed90, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f6a6ac95fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f6a6ad769ff in QInotifyFileSystemWatcherEngine::run (this=0x1de6920) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f6a6ac98fcb in QThreadPrivate::start (arg=0x1de6920) at thread/qthread_unix.cpp:298
#11 0x00007f6a67f0be9a in start_thread (arg=0x7f6a0316f700) at pthread_create.c:308
#12 0x00007f6a6a43c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6a03fff700 (LWP 10624)):
#0  0x00007f6a67f0f05d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f69fc2dabf0) at pthread_mutex_unlock.c:290
#2  0x00007f6a62d21591 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f6a62ce5713 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f6a62ce5f1b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f6a62ce6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007f6a6adc7426 in QEventDispatcherGlib::processEvents (this=0x7f69fc27d310, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f6a6ad96c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f6a6ad96ed7 in QEventLoop::exec (this=0x7f6a03ffed90, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f6a6ac95fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x00007f6a6ad769ff in QInotifyFileSystemWatcherEngine::run (this=0x66ff840) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x00007f6a6ac98fcb in QThreadPrivate::start (arg=0x66ff840) at thread/qthread_unix.cpp:298
#12 0x00007f6a67f0be9a in start_thread (arg=0x7f6a03fff700) at pthread_create.c:308
#13 0x00007f6a6a43c4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#14 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6a6d0e37c0 (LWP 2723)):
[KCrash Handler]
#6  QNetworkAccessHttpBackend::replyDownloadMetaData (this=0xa097360, hm=..., sc=<optimized out>, rp=..., pu=<optimized out>, db=..., contentLength=-1) at access/qnetworkaccesshttpbackend.cpp:827
#7  0x00007f6a69471709 in QNetworkAccessHttpBackend::qt_static_metacall (_o=0xa097360, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at .moc/release-shared/moc_qnetworkaccesshttpbackend_p.cpp:91
#8  0x00007f6a6adb1446 in QObject::event (this=0xa097360, e=<optimized out>) at kernel/qobject.cpp:1195
#9  0x00007f6a6b2ba894 in notify_helper (e=0x7f69dc004c50, receiver=0xa097360, this=0x16c7f30) at kernel/qapplication.cpp:4559
#10 QApplicationPrivate::notify_helper (this=0x16c7f30, receiver=0xa097360, e=0x7f69dc004c50) at kernel/qapplication.cpp:4531
#11 0x00007f6a6b2bf713 in QApplication::notify (this=0x7fffba515030, receiver=0xa097360, e=0x7f69dc004c50) at kernel/qapplication.cpp:4420
#12 0x00007f6a6caf3b46 in KApplication::notify (this=0x7fffba515030, receiver=0xa097360, event=0x7f69dc004c50) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007f6a6ad97e9c in QCoreApplication::notifyInternal (this=0x7fffba515030, receiver=0xa097360, event=0x7f69dc004c50) at kernel/qcoreapplication.cpp:876
#14 0x00007f6a6ad9bc6a in sendEvent (event=0x7f69dc004c50, receiver=0xa097360) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1661220) at kernel/qcoreapplication.cpp:1500
#16 0x00007f6a6adc6f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#17 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#18 0x00007f6a62ce5c9a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007f6a62ce6060 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007f6a62ce6124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007f6a6adc73bf in QEventDispatcherGlib::processEvents (this=0x16b6ab0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#22 0x00007f6a6b362d6e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#23 0x00007f6a6ad96c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007f6a6ad96ed7 in QEventLoop::exec (this=0x7fffba514f10, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007f6a6ad9bf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#26 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

This bug may be a duplicate of or related to bug 286307.

Possible duplicates by query: bug 296440, bug 296145, bug 295746, bug 295225, bug 294828.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-04-18 06:11:16 UTC

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