Bug 242046

Summary: kmail crashs when filtering large folder and mass select on result
Product: [Applications] kontact Reporter: Timothy Tuck <tek>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED NOT A BUG    
Severity: crash CC: kde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Timothy Tuck 2010-06-18 06:14:02 UTC
Application that crashed: kontact
Version of the application: 4.3.5
KDE Version: 4.3.5 (KDE 4.3.5)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-22-generic-pae i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
have folder with over 60,000 mails (firewall incident logs) was doing a mass select on all mails with a broadcast address 192.168.0.255 in the subject and was preparing to do a mass select and delete them all to clear out that folder (modified firewall script to be less verbose). created the filter which worked, did the mass select which took forever but finally worked but hitting delete did not delete the mails instead it crashed kontact.

 -- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0xb40e4700 (LWP 17970))]

Thread 2 (Thread 0xa4a15b70 (LWP 1639)):
#0  0xb78a1430 in __kernel_vsyscall ()
#1  0xb498fe15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0xb64119ad in __pthread_cond_wait (cond=0x15125d98, mutex=0x15125d80) at forward.c:139
#3  0xb65bfe67 in QWaitConditionPrivate::wait (this=0x15295588, mutex=0x15295584, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x15295588, mutex=0x15295584, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0xb4c49922 in QHostInfoAgent::run (this=0x15295578) at kernel/qhostinfo.cpp:260
#6  0xb65bee32 in QThreadPrivate::start (arg=0x15295578) at thread/qthread_unix.cpp:188
#7  0xb498b80e in start_thread (arg=0xa4a15b70) at pthread_create.c:300
#8  0xb6404a0e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb40e4700 (LWP 17970)):
[KCrash Handler]
#6  0xb09da25f in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb0bc14dc in KMCommand::keepFolderOpen(KMFolder*) () from /usr/lib/libkmailprivate.so.4
#8  0xb0bd67dc in KMCommand::slotStart() () from /usr/lib/libkmailprivate.so.4
#9  0xb0bc670b in KMCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#10 0xb0bd547a in KMSaveAttachmentsCommand::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkmailprivate.so.4
#11 0xb66c5263 in QMetaObject::activate (sender=0x1f5f1fa0, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3113
#12 0xb66c5ec2 in QMetaObject::activate (sender=0x1f5f1fa0, m=0xb679f908, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3187
#13 0xb66ca387 in QSingleShotTimer::timeout (this=0x1f5f1fa0) at .moc/release-shared/qtimer.moc:76
#14 0xb66ca49c in QSingleShotTimer::timerEvent (this=0x1f5f1fa0) at kernel/qtimer.cpp:298
#15 0xb66bf3bf in QObject::event (this=0x1f5f1fa0, e=0xbfd21bc0) at kernel/qobject.cpp:1075
#16 0xb6b10f54 in QApplicationPrivate::notify_helper (this=0x9631f80, receiver=0x1f5f1fa0, e=0xbfd21bc0) at kernel/qapplication.cpp:4056
#17 0xb6b1867c in QApplication::notify (this=0xbfd21f24, receiver=0x1f5f1fa0, e=0xbfd21bc0) at kernel/qapplication.cpp:3603
#18 0xb756125a in KApplication::notify (this=0xbfd21f24, receiver=0x1f5f1fa0, event=0xbfd21bc0) at ../../kdeui/kernel/kapplication.cpp:302
#19 0xb66af6cb in QCoreApplication::notifyInternal (this=0xbfd21f24, receiver=0x1f5f1fa0, event=0xbfd21bc0) at kernel/qcoreapplication.cpp:610
#20 0xb66dc7ce in QCoreApplication::sendEvent (this=0x9617fcc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#21 QTimerInfoList::activateTimers (this=0x9617fcc) at kernel/qeventdispatcher_unix.cpp:572
#22 0xb66da0e0 in timerSourceDispatch (source=0x9617f98) at kernel/qeventdispatcher_glib.cpp:165
#23 0xb49d7e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0xb49db730 in ?? () from /lib/libglib-2.0.so.0
#25 0xb49db863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0xb66da02c in QEventDispatcherGlib::processEvents (this=0x95f79f8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#27 0xb6bb1be5 in QGuiEventDispatcherGlib::processEvents (this=0x95f79f8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#28 0xb66adc79 in QEventLoop::processEvents (this=0xbfd21e84, flags=) at kernel/qeventloop.cpp:149
#29 0xb66ae0ca in QEventLoop::exec (this=0xbfd21e84, flags=...) at kernel/qeventloop.cpp:201
#30 0xb66b053f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#31 0xb6b10dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#32 0x0804b4e6 in _start ()

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-18 09:33:16 UTC
Please install the debug package for kdepim  and paste a new crash log 

Thread 1 (Thread 0xb40e4700 (LWP 17970)):
[KCrash Handler]
#6  0xb09da25f in ?? () from /usr/lib/libkmailprivate.so.4
#7  0xb0bc14dc in KMCommand::keepFolderOpen(KMFolder*) () from
/usr/lib/libkmailprivate.so.4
Comment 2 Christophe Marin 2010-09-19 21:56:05 UTC
No feedback. Closing.