Bug 286477 - KMail crashes while archiving more than one folder in parallel
Summary: KMail crashes while archiving more than one folder in parallel
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-13 10:40 UTC by Christian Holzberger
Modified: 2011-11-13 11:30 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.7.4
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Holzberger 2011-11-13 10:40:01 UTC
Application: kontact (4.7.3)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:

i was archiving 2 or 3 folders in parallel from an imap account. writing each of them to a seperate tar file

The crash can be reproduced some of the time.

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

Thread 4 (Thread 0x7fb9cbd30700 (LWP 3662)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x0000003281f86c2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x0000003281f86d59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x0000003266607efc in start_thread (arg=0x7fb9cbd30700) at pthread_create.c:304
#4  0x0000003265ee189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb9cb42f700 (LWP 3663)):
#0  0x0000003265ed5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003267a44f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000003267a45429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003264d97f3e in QEventDispatcherGlib::processEvents (this=0x7fb9c40008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003264d6bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003264d6bef7 in QEventLoop::exec (this=0x7fb9cb42ede0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003264c8327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003264c85d05 in QThreadPrivate::start (arg=0x1b990b0) at thread/qthread_unix.cpp:331
#8  0x0000003266607efc in start_thread (arg=0x7fb9cb42f700) at pthread_create.c:304
#9  0x0000003265ee189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb97ed7c700 (LWP 19816)):
#0  0x0000003265ed5773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x0000003267a44f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x0000003267a45429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x0000003264d97f3e in QEventDispatcherGlib::processEvents (this=0x9a82be0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x0000003264d6bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x0000003264d6bef7 in QEventLoop::exec (this=0x7fb97ed7bdb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x0000003264c8327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x0000003264d4ecbf in QInotifyFileSystemWatcherEngine::run (this=0x8f338b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x0000003264c85d05 in QThreadPrivate::start (arg=0x8f338b0) at thread/qthread_unix.cpp:331
#9  0x0000003266607efc in start_thread (arg=0x7fb97ed7c700) at pthread_create.c:304
#10 0x0000003265ee189d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb9d18167a0 (LWP 3473)):
[KCrash Handler]
#6  QString::operator= (this=0x20, other=...) at tools/qstring.cpp:1359
#7  0x0000003285870f8d in KPIM::ProgressItem::setStatus (this=0x0, v=<optimized out>) at ../../libkdepim/progressmanager.cpp:118
#8  0x00007fb983d58971 in KMail::BackupJob::archiveNextFolder (this=0x9061150) at ../../kmail/backupjob.cpp:319
#9  0x00007fb983d5a7b0 in KMail::BackupJob::archiveNextMessage (this=0x9061150) at ../../kmail/backupjob.cpp:201
#10 0x00007fb983d5adcc in KMail::BackupJob::qt_metacall (this=0x9061150, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x2bca230) at ./backupjob.moc:83
#11 0x0000003264d83a5e in QObject::event (this=0x9061150, e=<optimized out>) at kernel/qobject.cpp:1217
#12 0x000000326cffc424 in notify_helper (e=0x2bc8a10, receiver=0x9061150, this=0x1b8bec0) at kernel/qapplication.cpp:4486
#13 QApplicationPrivate::notify_helper (this=0x1b8bec0, receiver=0x9061150, e=0x2bc8a10) at kernel/qapplication.cpp:4458
#14 0x000000326d001291 in QApplication::notify (this=0x7fffa3959f20, receiver=0x9061150, e=0x2bc8a10) at kernel/qapplication.cpp:4365
#15 0x0000003271431126 in KApplication::notify (this=0x7fffa3959f20, receiver=0x9061150, event=0x2bc8a10) at ../../kdeui/kernel/kapplication.cpp:311
#16 0x0000003264d6cafc in QCoreApplication::notifyInternal (this=0x7fffa3959f20, receiver=0x9061150, event=0x2bc8a10) at kernel/qcoreapplication.cpp:787
#17 0x0000003264d7051f in sendEvent (event=0x2bc8a10, receiver=0x9061150) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#18 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b5c8e0) at kernel/qcoreapplication.cpp:1428
#19 0x0000003264d97a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#20 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#21 0x0000003267a44a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x0000003267a45258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x0000003267a45429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x0000003264d97ed6 in QEventDispatcherGlib::processEvents (this=0x1b5dfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#25 0x000000326d0a407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#26 0x0000003264d6bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x0000003264d6bef7 in QEventLoop::exec (this=0x7fffa3956ff0, flags=...) at kernel/qeventloop.cpp:201
#28 0x000000326d4b3216 in QDialog::exec (this=0x7fffa3957050) at dialogs/qdialog.cpp:552
#29 0x00007fb983cf7b6c in KMMainWidget::slotArchiveFolder (this=<optimized out>) at ../../kmail/kmmainwidget.cpp:1587
#30 0x00007fb983d1613d in KMMainWidget::qt_metacall (this=0x27b30b0, _c=QMetaObject::InvokeMetaMethod, _id=46, _a=0x7fffa3957200) at ./kmmainwidget.moc:392
#31 0x0000003264d7feba in QMetaObject::activate (sender=0x28eff40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffa3957200) at kernel/qobject.cpp:3278
#32 0x000000326cff5b62 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#33 0x000000326cff5d4f in QAction::activate (this=0x28eff40, event=<optimized out>) at kernel/qaction.cpp:1257
#34 0x000000326d430609 in QMenuPrivate::activateCausedStack (this=0x577d320, causedStack=..., action=0x28eff40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1005
#35 0x000000326d436252 in QMenuPrivate::activateAction (this=0x577d320, action=0x28eff40, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1097
#36 0x00000032714f2cb0 in KMenu::mouseReleaseEvent (this=0x2afb400, e=0x7fffa3957c10) at ../../kdeui/widgets/kmenu.cpp:464
#37 0x000000326d04cc9a in QWidget::event (this=0x2afb400, event=0x7fffa3957c10) at kernel/qwidget.cpp:8295
#38 0x000000326d4377fb in QMenu::event (this=0x2afb400, e=0x7fffa3957c10) at widgets/qmenu.cpp:2405
#39 0x000000326cffc424 in notify_helper (e=0x7fffa3957c10, receiver=0x2afb400, this=0x1b8bec0) at kernel/qapplication.cpp:4486
#40 QApplicationPrivate::notify_helper (this=0x1b8bec0, receiver=0x2afb400, e=0x7fffa3957c10) at kernel/qapplication.cpp:4458
#41 0x000000326d001c6b in QApplication::notify (this=<optimized out>, receiver=0x2afb400, e=0x7fffa3957c10) at kernel/qapplication.cpp:4047
#42 0x0000003271431126 in KApplication::notify (this=0x7fffa3959f20, receiver=0x2afb400, event=0x7fffa3957c10) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x0000003264d6cafc in QCoreApplication::notifyInternal (this=0x7fffa3959f20, receiver=0x2afb400, event=0x7fffa3957c10) at kernel/qcoreapplication.cpp:787
#44 0x000000326cffd3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0x2afb400, event=0x7fffa3957c10, alienWidget=0x0, nativeWidget=0x2afb400, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#46 0x000000326d07d001 in QETWidget::translateMouseEvent (this=0x2afb400, event=<optimized out>) at kernel/qapplication_x11.cpp:4502
#47 0x000000326d07b8be in QApplication::x11ProcessEvent (this=0x7fffa3959f20, event=0x7fffa3958430) at kernel/qapplication_x11.cpp:3690
#48 0x000000326d0a4412 in x11EventSourceDispatch (s=0x1b93340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x0000003267a44a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x0000003267a45258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x0000003267a45429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x0000003264d97ed6 in QEventDispatcherGlib::processEvents (this=0x1b5dfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x000000326d0a407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x0000003264d6bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x0000003264d6bef7 in QEventLoop::exec (this=0x7fffa3958800, flags=...) at kernel/qeventloop.cpp:201
#56 0x000000326d433711 in QMenu::exec (this=<optimized out>, p=..., action=0x0) at widgets/qmenu.cpp:2049
#57 0x0000003272efdeea in Akonadi::EntityTreeView::contextMenuEvent (this=<optimized out>, event=0x7fffa39592f0) at ../../akonadi/entitytreeview.cpp:277
#58 0x000000326d04ca00 in QWidget::event (this=0x27c4420, event=0x7fffa39592f0) at kernel/qwidget.cpp:8462
#59 0x000000326d3f54f6 in QFrame::event (this=0x27c4420, e=0x7fffa39592f0) at widgets/qframe.cpp:557
#60 0x000000326d50619b in QAbstractItemView::viewportEvent (this=0x27c4420, event=0x7fffa39592f0) at itemviews/qabstractitemview.cpp:1628
#61 0x000000326d54ad35 in QTreeView::viewportEvent (this=0x27c4420, event=0x7fffa39592f0) at itemviews/qtreeview.cpp:1256
#62 0x0000003264d6cc88 in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=<optimized out>, receiver=0x27a2710, event=0x7fffa39592f0) at kernel/qcoreapplication.cpp:902
#63 0x000000326cffc3ef in notify_helper (e=0x7fffa39592f0, receiver=0x27a2710, this=0x1b8bec0) at kernel/qapplication.cpp:4482
#64 QApplicationPrivate::notify_helper (this=0x1b8bec0, receiver=0x27a2710, e=0x7fffa39592f0) at kernel/qapplication.cpp:4458
#65 0x000000326d001779 in QApplication::notify (this=<optimized out>, receiver=0x27a2710, e=0x7fffa39592f0) at kernel/qapplication.cpp:4126
#66 0x0000003271431126 in KApplication::notify (this=0x7fffa3959f20, receiver=0x27a2710, event=0x7fffa39592f0) at ../../kdeui/kernel/kapplication.cpp:311
#67 0x0000003264d6cafc in QCoreApplication::notifyInternal (this=0x7fffa3959f20, receiver=0x27a2710, event=0x7fffa39592f0) at kernel/qcoreapplication.cpp:787
#68 0x000000326d07c9aa in sendSpontaneousEvent (event=0x7fffa39592f0, receiver=0x27a2710) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#69 QETWidget::translateMouseEvent (this=0x27b30b0, event=<optimized out>) at kernel/qapplication_x11.cpp:4573
#70 0x000000326d07b8be in QApplication::x11ProcessEvent (this=0x7fffa3959f20, event=0x7fffa3959ae0) at kernel/qapplication_x11.cpp:3690
#71 0x000000326d0a4412 in x11EventSourceDispatch (s=0x1b93340, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#72 0x0000003267a44a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#73 0x0000003267a45258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#74 0x0000003267a45429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#75 0x0000003264d97ed6 in QEventDispatcherGlib::processEvents (this=0x1b5dfd0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#76 0x000000326d0a407e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#77 0x0000003264d6bcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#78 0x0000003264d6bef7 in QEventLoop::exec (this=0x7fffa3959eb0, flags=...) at kernel/qeventloop.cpp:201
#79 0x0000003264d70789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#80 0x0000000000403629 in main (argc=1, argv=0x7fffa395a548) at ../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 286103, bug 249195.

Reported using DrKonqi
Comment 1 Allen Winter 2011-11-13 11:30:41 UTC
I committed a fix for this crash within the past couple days.