Bug 220271

Summary: kontact crashs marking spam in an IMAP folder
Product: [Applications] kontact Reporter: Michael Ramke <mic>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Michael Ramke 2009-12-27 14:33:50 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-16-generic x86_64
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
Kontact crashs if I mark a mail as spam. It just happen if I use this function on an IMAP folder. If I mark spam on a local folder I get no crash. As it seems from the process list kontact was still there but crashed. 

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

Thread 2 (Thread 0x7fbb7531b910 (LWP 17568)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fbb948294fb in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1984050, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1984050, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fbb7e763326 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1c40220, th=0x240f130) at ../../../threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x00007fbb7e76545b in ThreadWeaver::WorkingHardState::applyForWork (this=0x18daa10, th=0x240f130) at ../../../threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x00007fbb7e763a5f in ThreadWeaver::ThreadRunHelper::run (this=0x7fbb7531b050, parent=0x1c40220, th=0x240f130) at ../../../threadweaver/Weaver/Thread.cpp:87
#6  0x00007fbb7e763eb8 in ThreadWeaver::Thread::run (this=0x240f130) at ../../../threadweaver/Weaver/Thread.cpp:142
#7  0x00007fbb94828445 in QThreadPrivate::start (arg=0x240f130) at thread/qthread_unix.cpp:188
#8  0x00007fbb8df37a04 in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007fbb9422a7bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fbb96bc8750 (LWP 17558)):
[KCrash Handler]
#5  0x00007fbb7eb65297 in KMReaderWin::parseMsg (this=0x1e0d780, aMsg=0x48fb300) at ../../kmail/kmreaderwin.cpp:1681
#6  0x00007fbb7eb52eda in KMReaderWin::displayMessage (this=0x1e0d780) at ../../kmail/kmreaderwin.cpp:1605
#7  0x00007fbb7eb530b4 in KMReaderWin::updateReaderWin (this=0x1e0d780) at ../../kmail/kmreaderwin.cpp:1545
#8  0x00007fbb7eb5dfac in KMReaderWin::setMsg (this=0x1e0d780, aMsg=0x48fb300, force=true) at ../../kmail/kmreaderwin.cpp:1347
#9  0x00007fbb7eb5edc4 in KMReaderWin::slotMessageArrived (this=0x1e0d780, msg=0x48fb300) at ../../kmail/kmreaderwin.cpp:935
#10 0x00007fbb7eb5f164 in KMReaderWin::qt_metacall (this=0x1e0d780, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff933e73c0) at ./kmreaderwin.moc:196
#11 0x00007fbb94923ddc in QMetaObject::activate (sender=0x467c820, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#12 0x00007fbb7ed4cd9f in KMail::FolderJob::messageRetrieved (this=0x48fb300, _t1=0x48fb300) at ./folderjob.moc:99
#13 0x00007fbb7ed58c97 in KMail::ImapJob::slotGetMessageResult (this=0x467c820, job=<value optimized out>) at ../../kmail/imapjob.cpp:460
#14 0x00007fbb7ed5d04b in KMail::ImapJob::qt_metacall (this=0x467c820, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff933e75c0) at ./imapjob.moc:82
#15 0x00007fbb94923ddc in QMetaObject::activate (sender=0x2be7de0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#16 0x00007fbb94cf9af2 in KJob::result (this=0x48fb300, _t1=0x2be7de0) at ./kjob.moc:188
#17 0x00007fbb94cf9e6f in KJob::emitResult (this=0x2be7de0) at ../../kdecore/jobs/kjob.cpp:304
#18 0x00007fbb92d82d93 in KIO::SimpleJob::slotFinished (this=0x2be7de0) at ../../kio/kio/job.cpp:477
#19 0x00007fbb92d83253 in KIO::TransferJob::slotFinished (this=0x2be7de0) at ../../kio/kio/job.cpp:948
#20 0x00007fbb92d81b61 in KIO::TransferJob::qt_metacall (this=0x2be7de0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff933e79e0) at ./jobclasses.moc:343
#21 0x00007fbb94923ddc in QMetaObject::activate (sender=0x2335bc0, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#22 0x00007fbb92e43a81 in KIO::SlaveInterface::dispatch (this=0x2335bc0, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:175
#23 0x00007fbb92e40333 in KIO::SlaveInterface::dispatch (this=0x2335bc0) at ../../kio/kio/slaveinterface.cpp:91
#24 0x00007fbb92e3314d in KIO::Slave::gotInput (this=0x2335bc0) at ../../kio/kio/slave.cpp:322
#25 0x00007fbb92e3526c in KIO::Slave::qt_metacall (this=0x2335bc0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff933e7da0) at ./slave.moc:76
#26 0x00007fbb94923ddc in QMetaObject::activate (sender=0x2330c20, from_signal_index=<value optimized out>, to_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3113
#27 0x00007fbb92d4ff57 in KIO::ConnectionPrivate::dequeue (this=0x2334420) at ../../kio/kio/connection.cpp:82
#28 0x00007fbb92d5007d in KIO::Connection::qt_metacall (this=0x2330c20, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x2580ce0) at ./connection.moc:73
#29 0x00007fbb9491e0f9 in QObject::event (this=0x2330c20, e=0x2b86980) at kernel/qobject.cpp:1111
#30 0x00007fbb9522eefc in QApplicationPrivate::notify_helper (this=0x17a7d50, receiver=0x2330c20, e=0x2b86980) at kernel/qapplication.cpp:4056
#31 0x00007fbb952361ce in QApplication::notify (this=0x7fff933e8760, receiver=0x2330c20, e=0x2b86980) at kernel/qapplication.cpp:4021
#32 0x00007fbb95e65ab6 in KApplication::notify (this=0x7fff933e8760, receiver=0x2330c20, event=0x2b86980) at ../../kdeui/kernel/kapplication.cpp:302
#33 0x00007fbb9490ec2c in QCoreApplication::notifyInternal (this=0x7fff933e8760, receiver=0x2330c20, event=0x2b86980) at kernel/qcoreapplication.cpp:610
#34 0x00007fbb9490f80a in QCoreApplication::sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x1773080) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x1773080) at kernel/qcoreapplication.cpp:1247
#36 0x00007fbb94937533 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#37 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#38 0x00007fbb8e188bce in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#39 0x00007fbb8e18c598 in ?? () from /lib/libglib-2.0.so.0
#40 0x00007fbb8e18c6c0 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#41 0x00007fbb949371a6 in QEventDispatcherGlib::processEvents (this=0x1772cb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#42 0x00007fbb952c34be in QGuiEventDispatcherGlib::processEvents (this=0x48fb300, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#43 0x00007fbb9490d532 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#44 0x00007fbb9490d904 in QEventLoop::exec (this=0x7fff933e86a0, flags=) at kernel/qeventloop.cpp:201
#45 0x00007fbb9490fab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#46 0x0000000000403f47 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:218
The current source language is "auto; currently asm".
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-12-27 22:20:29 UTC
This looks like bug 180741. Can you check
https://bugs.kde.org/show_bug.cgi?id=180741#c41 ? Thanks
Comment 2 Dario Andres 2010-01-20 23:45:24 UTC

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