Bug 242767

Summary: Segfault when moving mail from DIMAP folders
Product: [Applications] kontact Reporter: Chris Kerr <chris.kerr>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde
Priority: NOR    
Version: 4.4.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Chris Kerr 2010-06-25 11:35:46 UTC
Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
When I try to move messages from one folder to another (either between different folders on the same DIMAP account or from DIMAP to a local 'archive' folder), kontact sporadically (on the order of 10% of occasions although with no discernible pattern) segfaults.

The crash can be reproduced some of the time.

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

Thread 2 (Thread 0x7f1ccfcdf710 (LWP 15857)):
#0  0x00007ffffb1ff904 in clock_gettime ()
#1  0x00007f1ce85d909f in *__GI_clock_gettime (clock_id=1, tp=0x7f1ccfcdeae0) at ../sysdeps/unix/clock_gettime.c:100
#2  0x00007f1cf0bec99f in qt_gettime () at kernel/qcore_unix.cpp:111
#3  0x00007f1cf0bf16ad in QTimerInfoList::updateCurrentTime (this=0x1) at kernel/qeventdispatcher_unix.cpp:340
#4  0x00007f1cf0bf16d5 in QTimerInfoList::timerWait (this=0x1, tm=...) at kernel/qeventdispatcher_unix.cpp:443
#5  0x00007f1cf0bef75d in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f1ccfcdebfc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f1cf0bef805 in timerSourcePrepare (source=0x1, timeout=0x7f1ccfcdeae0) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f1ce8338eb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x00007f1ce8339318 in ?? () from /lib/libglib-2.0.so.0
#9  0x00007f1ce83398fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00007f1cf0bef566 in QEventDispatcherGlib::processEvents (this=0x1ca8840, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#11 0x00007f1cf0bc4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#12 0x00007f1cf0bc4d6c in QEventLoop::exec (this=0x7f1ccfcded90, flags=) at kernel/qeventloop.cpp:201
#13 0x00007f1cf0aced59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#14 0x00007f1cf0ba5178 in QInotifyFileSystemWatcherEngine::run (this=0x2129520) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f1cf0ad1775 in QThreadPrivate::start (arg=0x2129520) at thread/qthread_unix.cpp:248
#16 0x00007f1cea8b09ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#17 0x00007f1cef8116cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1cf272e780 (LWP 15818)):
[KCrash Handler]
#5  0x00007f1cd7f9a684 in MessageList::Core::Item::parent (this=0x20439f0) at ../../messagelist/core/item.cpp:417
#6  0x00007f1cd7fadc03 in MessageList::Core::Model::parent (this=<value optimized out>, modelIndex=...) at ../../messagelist/core/model.cpp:557
#7  0x00007f1cf04e0821 in QModelIndex::parent (this=0x1c1ad70, index=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:389
#8  QTreeView::indexRowSizeHint (this=0x1c1ad70, index=<value optimized out>) at itemviews/qtreeview.cpp:2817
#9  0x00007f1cf04e0f9e in QTreeViewPrivate::itemHeight (this=0x1c1adb0, item=6) at itemviews/qtreeview.cpp:3238
#10 0x00007f1cf04e11df in QTreeViewPrivate::updateScrollBars (this=0x1c1adb0) at itemviews/qtreeview.cpp:3483
#11 0x00007f1cf04e1614 in QTreeView::updateGeometries (this=0x1c1ad70) at itemviews/qtreeview.cpp:2745
#12 0x00007f1cd7fb5f46 in MessageList::Core::ModelPrivate::viewItemJobStepInternal (this=0x1c06d00) at ../../messagelist/core/model.cpp:3848
#13 0x00007f1cd7fb6733 in MessageList::Core::ModelPrivate::viewItemJobStep (this=0x1c06d00) at ../../messagelist/core/model.cpp:3965
#14 0x00007f1cd7fb859e in MessageList::Core::Model::qt_metacall (this=0x1ab5610, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7ffffb12f700) at ./model.moc:90
#15 0x00007f1cf0bd8e3f in QMetaObject::activate (sender=0x1c06d38, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3293
#16 0x00007f1cf0bd5a63 in QObject::event (this=0x1c06d38, e=0x7ffffb12fe50) at kernel/qobject.cpp:1212
#17 0x00007f1ceff7f22c in QApplicationPrivate::notify_helper (this=0xe70a40, receiver=0x1c06d38, e=0x7ffffb12fe50) at kernel/qapplication.cpp:4300
#18 0x00007f1ceff856fb in QApplication::notify (this=0x7ffffb1301b0, receiver=0x1c06d38, e=0x7ffffb12fe50) at kernel/qapplication.cpp:4183
#19 0x00007f1cf15ae526 in KApplication::notify (this=0x7ffffb1301b0, receiver=0x1c06d38, event=0x7ffffb12fe50) at ../../kdeui/kernel/kapplication.cpp:302
#20 0x00007f1cf0bc606c in QCoreApplication::notifyInternal (this=0x7ffffb1301b0, receiver=0x1c06d38, event=0x7ffffb12fe50) at kernel/qcoreapplication.cpp:704
#21 0x00007f1cf0bf2d42 in QCoreApplication::sendEvent (this=0xe78a20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#22 QTimerInfoList::activateTimers (this=0xe78a20) at kernel/qeventdispatcher_unix.cpp:603
#23 0x00007f1cf0bef824 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#24 0x00007f1ce83358c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#25 0x00007f1ce8339748 in ?? () from /lib/libglib-2.0.so.0
#26 0x00007f1ce83398fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#27 0x00007f1cf0bef513 in QEventDispatcherGlib::processEvents (this=0xe44d70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#28 0x00007f1cf002f46e in QGuiEventDispatcherGlib::processEvents (this=0x20439f0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x00007f1cf0bc4992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#30 0x00007f1cf0bc4d6c in QEventLoop::exec (this=0x7ffffb1300f0, flags=) at kernel/qeventloop.cpp:201
#31 0x00007f1cf0bc8aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#32 0x0000000000403e8e in main (argc=<value optimized out>, argv=<value optimized out>) at ../../../kontact/src/main.cpp:224

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

Possible duplicates by query: bug 232152, bug 231086, bug 229938, bug 227770, bug 223245.

Reported using DrKonqi
Comment 1 Nicolas L. 2010-06-25 15:39:09 UTC

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