Bug 303317

Summary: kmail crash when I want to go "spam" folder"
Product: [Applications] kmail2 Reporter: jajaX <jajaxor>
Component: foldersAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: montel
Priority: NOR    
Version: 4.8.4   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.8.5
Sentry Crash Report:

Description jajaX 2012-07-10 17:05:00 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-26-generic-pae i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
Hi ! (sorry for my bad english !)

Always, kmail crash when I want to go "spam" folder"

The crash can be reproduced every time.

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

Thread 9 (Thread 0xae6dfb40 (LWP 15075)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb580596b in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e6d3dc in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb3813263 in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#4  0xb381337f in ?? () from /usr/lib/i386-linux-gnu/libQtWebKit.so.4
#5  0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 8 (Thread 0xaddbeb40 (LWP 15076)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5e51380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb447ca7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb446f0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb446f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61cd8e7 in QEventDispatcherGlib::processEvents (this=0xad400468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb619950d in QEventLoop::processEvents (this=0xaddbe270, flags=...) at kernel/qeventloop.cpp:149
#7  0xb61997a9 in QEventLoop::exec (this=0xaddbe270, flags=...) at kernel/qeventloop.cpp:204
#8  0xb608294c in QThread::exec (this=0x943ed80) at thread/qthread.cpp:501
#9  0xb6082a3b in QThread::run (this=0x943ed80) at thread/qthread.cpp:568
#10 0xb6085de0 in QThreadPrivate::start (arg=0x943ed80) at thread/qthread_unix.cpp:298
#11 0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 7 (Thread 0xacf96b40 (LWP 15077)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5805d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e6d434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb60862df in wait (time=30000, this=0x94a3d88) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0x94a3d30, mutex=0x94a3d2c, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb6078474 in QThreadPoolThread::run (this=0x94af948) at concurrent/qthreadpool.cpp:141
#6  0xb6085de0 in QThreadPrivate::start (arg=0x94af948) at thread/qthread_unix.cpp:298
#7  0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 6 (Thread 0xabfc3b40 (LWP 15083)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5e51380 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0xb447ca7b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb446f0ae in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb446f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb61cd887 in QEventDispatcherGlib::processEvents (this=0xab600468, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0xb619950d in QEventLoop::processEvents (this=0xabfc3240, flags=...) at kernel/qeventloop.cpp:149
#7  0xb61997a9 in QEventLoop::exec (this=0xabfc3240, flags=...) at kernel/qeventloop.cpp:204
#8  0xb608294c in QThread::exec (this=0x963fb20) at thread/qthread.cpp:501
#9  0xb6176b5d in QInotifyFileSystemWatcherEngine::run (this=0x963fb20) at io/qfilesystemwatcher_inotify.cpp:248
#10 0xb6085de0 in QThreadPrivate::start (arg=0x963fb20) at thread/qthread_unix.cpp:298
#11 0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xab5ffb40 (LWP 15096)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5e58af1 in select () from /lib/i386-linux-gnu/libc.so.6
#2  0xb61ca30a in qt_safe_select (nfds=23, fdread=0xab5fec48, fdwrite=0xab5fecc8, fdexcept=0x0, orig_timeout=0xab5fed48) at kernel/qcore_unix.cpp:93
#3  0xb5a79f74 in QNativeSocketEnginePrivate::nativeSelect (this=0xaac02a78, timeout=600000, checkRead=true, checkWrite=false, selectForRead=0xab5fee0e, selectForWrite=0xab5fee0f) at socket/qnativesocketengine_unix.cpp:1115
#4  0xb5a77a5d in QNativeSocketEngine::waitForReadOrWrite (this=0xaac02838, readyToRead=0xab5fee0e, readyToWrite=0xab5fee0f, checkRead=true, checkWrite=false, msecs=600000, timedOut=0x0) at socket/qnativesocketengine.cpp:1000
#5  0xb5a6e2c6 in QAbstractSocket::waitForReadyRead (this=0xaac0241c, msecs=600000) at socket/qabstractsocket.cpp:1891
#6  0xb5a7c421 in QLocalSocket::waitForReadyRead (this=0xaac00df0, msecs=600000) at socket/qlocalsocket_unix.cpp:576
#7  0xb24a7d45 in ?? () from /usr/lib/libsopranoclient.so.1
#8  0xb24a9be8 in ?? () from /usr/lib/libsopranoclient.so.1
#9  0xb4694206 in Nepomuk::MainModel::executeQuery (this=0x9406308, query=..., language=Soprano::Query::QueryLanguageSparql, userQueryLanguage=...) at ../../nepomuk/core/nepomukmainmodel.cpp:212
#10 0xb4686cdb in Nepomuk::ResourceData::load (this=0xaac2df90) at ../../nepomuk/core/resourcedata.cpp:437
#11 0xb46877c0 in Nepomuk::ResourceData::property (this=0xaac2df90, uri=...) at ../../nepomuk/core/resourcedata.cpp:275
#12 0xb46a0d91 in Nepomuk::Resource::property (this=0xab5ff23c, uri=...) at ../../nepomuk/core/resource.cpp:301
#13 0xb51b0a11 in MessageCore::NepomukResourceRetrieverRunnable::run (this=0x99aea08) at ../../messagecore/asyncnepomukresourceretriever.cpp:47
#14 0xb607839b in QThreadPoolThread::run (this=0x987ec10) at concurrent/qthreadpool.cpp:107
#15 0xb6085de0 in QThreadPrivate::start (arg=0x987ec10) at thread/qthread_unix.cpp:298
#16 0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xa9fffb40 (LWP 15112)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5805d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e6d434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb60862df in wait (time=30000, this=0xaa004620) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0xaa0045f0, mutex=0xaa0045ec, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb6078474 in QThreadPoolThread::run (this=0xaa004798) at concurrent/qthreadpool.cpp:141
#6  0xb6085de0 in QThreadPrivate::start (arg=0xaa004798) at thread/qthread_unix.cpp:298
#7  0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xa97feb40 (LWP 15113)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5805d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e6d434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb60862df in wait (time=30000, this=0xaa004620) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0xaa0045f0, mutex=0xaa0045ec, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb6078474 in QThreadPoolThread::run (this=0xaa005598) at concurrent/qthreadpool.cpp:141
#6  0xb6085de0 in QThreadPrivate::start (arg=0xaa005598) at thread/qthread_unix.cpp:298
#7  0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa8bffb40 (LWP 15114)):
#0  0xb7711424 in __kernel_vsyscall ()
#1  0xb5805d13 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0xb5e6d434 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0xb60862df in wait (time=30000, this=0xaa004620) at thread/qwaitcondition_unix.cpp:84
#4  QWaitCondition::wait (this=0xaa0045f0, mutex=0xaa0045ec, time=30000) at thread/qwaitcondition_unix.cpp:158
#5  0xb6078474 in QThreadPoolThread::run (this=0xaa007f28) at concurrent/qthreadpool.cpp:141
#6  0xb6085de0 in QThreadPrivate::start (arg=0xaa007f28) at thread/qthread_unix.cpp:298
#7  0xb5801d4c in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0xb5e5face in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb1431740 (LWP 15063)):
[KCrash Handler]
#7  QNetworkAccessHttpBackend::replyDownloadMetaData (this=0x9280660, hm=<error reading variable: Cannot access memory at address 0x19>, sc=25, rp=<error reading variable: Cannot access memory at address 0x19>, pu=136, db=<error reading variable: Cannot access memory at address 0x19>, contentLength=3047846332) at access/qnetworkaccesshttpbackend.cpp:805
#8  0xb5aa037d in QNetworkAccessHttpBackend::qt_static_metacall (_o=0x9280660, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xaa01af70) at .moc/release-shared/moc_qnetworkaccesshttpbackend_p.cpp:91
#9  0xb61acc01 in QMetaCallEvent::placeMetaCall (this=0xaa00b648, object=0x9280660) at kernel/qobject.cpp:525
#10 0xb61b5c7b in QObject::event (this=0x9280660, e=0xaa00b648) at kernel/qobject.cpp:1195
#11 0xb6435ed4 in notify_helper (e=0xaa00b648, receiver=0x9280660, this=0x8eb1568) at kernel/qapplication.cpp:4559
#12 QApplicationPrivate::notify_helper (this=0x8eb1568, receiver=0x9280660, e=0xaa00b648) at kernel/qapplication.cpp:4531
#13 0xb643b30d in QApplication::notify (this=0xaa00b648, receiver=0x9280660, e=0xaa00b648) at kernel/qapplication.cpp:4288
#14 0xb7498401 in KApplication::notify (this=0xbfff281c, receiver=0x9280660, event=0xaa00b648) at ../../kdeui/kernel/kapplication.cpp:311
#15 0xb619a97e in QCoreApplication::notifyInternal (this=0xbfff281c, receiver=0x9280660, event=0xaa00b648) at kernel/qcoreapplication.cpp:876
#16 0xb619ead8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8e69150) at kernel/qcoreapplication.cpp:1500
#18 0xb619ee0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#19 0xb61cd494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#20 postEventSourceDispatch (s=0x8ea6290) at kernel/qeventdispatcher_glib.cpp:279
#21 0xb446ed86 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#22 0xb446f125 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#23 0xb446f201 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#24 0xb61cd887 in QEventDispatcherGlib::processEvents (this=0x8e69ec0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#25 0xb64eeaaa in QGuiEventDispatcherGlib::processEvents (this=0x8e69ec0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#26 0xb619950d in QEventLoop::processEvents (this=0xbfff2744, flags=...) at kernel/qeventloop.cpp:149
#27 0xb61997a9 in QEventLoop::exec (this=0xbfff2744, flags=...) at kernel/qeventloop.cpp:204
#28 0xb619eeba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#29 0xb6433a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#30 0x0804a266 in main (argc=<error reading variable: Cannot access memory at address 0xc7>, argv=<error reading variable: Cannot access memory at address 0xcb>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 303050, bug 302823, bug 302381, bug 302222, bug 302174.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-07-10 17:09:22 UTC
Fixed 4.8.5
Comment 2 jajaX 2012-07-10 17:11:02 UTC
ok thanks ;)