Bug 347743 - kmail crashes while moving / deleting messages
Summary: kmail crashes while moving / deleting messages
Status: RESOLVED FIXED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-05-15 04:10 UTC by Richard Johnson
Modified: 2015-05-15 10:06 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.7


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Johnson 2015-05-15 04:10:19 UTC
Application: kmail (4.14.6)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-16-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Moving messages from one folder to another.  

- Unusual behavior I noticed:
It was necessary to move messages one at a time.  If I select multiple messages, it would give a tiny dialog with only "OK" in it.  After emptying one folder, I said "delete" and then kmail appeared to go into some kind of endless loop, ignoring input.  Window controls work: I quit the app.  This caused a zombie process that I had to kill -9.

- Custom settings of the application:
flattest possible message sorting -- simple date-sent order with no threading.

The crash can be reproduced sometimes.

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

Thread 5 (Thread 0x7f00ebda6700 (LWP 24986)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f010678081d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f0106780859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f010fc4e6aa in start_thread (arg=0x7f00ebda6700) at pthread_create.c:333
#4  0x00007f01123abeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f00aac03700 (LWP 24987)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f01064c120d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f01067affd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f010fc4e6aa in start_thread (arg=0x7f00aac03700) at pthread_create.c:333
#4  0x00007f01123abeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f00a9fc4700 (LWP 24989)):
#0  0x00007f010a010f21 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f010a01339b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f010a013de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f010a013fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f0113a4482e in QEventDispatcherGlib::processEvents (this=0x7f009c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f0113a13cd1 in QEventLoop::processEvents (this=this@entry=0x7f00a9fc3d90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f0113a14035 in QEventLoop::exec (this=this@entry=0x7f00a9fc3d90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f0113907e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f011390a6ff in QThreadPrivate::start (arg=0x1d1d1e0) at thread/qthread_unix.cpp:349
#9  0x00007f010fc4e6aa in start_thread (arg=0x7f00a9fc4700) at pthread_create.c:333
#10 0x00007f01123abeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f00a2c06700 (LWP 24991)):
#0  0x00007f010a0587a4 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f010a013d6d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f010a013fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0113a4482e in QEventDispatcherGlib::processEvents (this=0x7f00940008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f0113a13cd1 in QEventLoop::processEvents (this=this@entry=0x7f00a2c05d40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f0113a14035 in QEventLoop::exec (this=this@entry=0x7f00a2c05d40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f0113907e89 in QThread::exec (this=this@entry=0x20c71f0) at thread/qthread.cpp:538
#7  0x00007f01139f4443 in QInotifyFileSystemWatcherEngine::run (this=0x20c71f0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f011390a6ff in QThreadPrivate::start (arg=0x20c71f0) at thread/qthread_unix.cpp:349
#9  0x00007f010fc4e6aa in start_thread (arg=0x7f00a2c06700) at pthread_create.c:333
#10 0x00007f01123abeed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0115119840 (LWP 24983)):
[KCrash Handler]
#6  0x00007f010ecf5039 in Akonadi::FavoriteCollectionsModel::removeCollection (this=0x0, collection=...) at ../../akonadi/favoritecollectionsmodel.cpp:294
#7  0x00007f0113e5a4cc in KMMainWidget::slotCollectionRemoved (this=<optimized out>, col=...) at ../../kmail/kmmainwidget.cpp:4501
#8  0x00007f0113f5a92e in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:488
#9  0x00007f0113a2a19c in QMetaObject::activate (sender=0x19dfcb0, m=m@entry=0x7f010f0962c0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffd0fe05ab0) at kernel/qobject.cpp:3567
#10 0x00007f010ed2ba45 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./moc_monitor.cpp:343
#11 0x00007f010ed36e0e in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x1b704e0, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:958
#12 0x00007f010ed37b04 in Akonadi::MonitorPrivate::emitNotification (this=0x1b704e0, msg=...) at ../../akonadi/monitor_p.cpp:504
#13 0x00007f010ed33561 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x1b704e0) at ../../akonadi/monitor_p.cpp:718
#14 0x00007f010ed33799 in Akonadi::MonitorPrivate::dataAvailable (this=0x1b704e0) at ../../akonadi/monitor_p.cpp:727
#15 0x00007f0113a2a19c in QMetaObject::activate (sender=sender@entry=0x1b68c50, m=m@entry=0x7f010f094180 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#16 0x00007f010eccd390 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0x1b68c50) at ./moc_entitycache_p.cpp:101
#17 0x00007f010ec86442 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x1b68c50, job=<optimized out>) at ../../akonadi/entitycache_p.h:217
#18 0x00007f0113a2a19c in QMetaObject::activate (sender=sender@entry=0x282d190, m=m@entry=0x7f01148ebf20 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd0fe06030) at kernel/qobject.cpp:3567
#19 0x00007f011454b362 in KJob::result (this=this@entry=0x282d190, _t1=_t1@entry=0x282d190) at ./kjob.moc:207
#20 0x00007f011454b3b0 in KJob::emitResult (this=this@entry=0x282d190) at ../../kdecore/jobs/kjob.cpp:318
#21 0x00007f010ed27271 in Akonadi::JobPrivate::handleResponse (this=<optimized out>, tag=..., data=...) at ../../akonadi/job.cpp:65
#22 0x00007f010ed7f041 in Akonadi::SessionPrivate::dataReceived (this=0x1b4eaa0) at ../../akonadi/session.cpp:240
#23 0x00007f0113a2a19c in QMetaObject::activate (sender=0x1a8b630, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#24 0x00007f0113a2a19c in QMetaObject::activate (sender=sender@entry=0x1b71068, m=m@entry=0x7f0113d79800 <QIODevice::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#25 0x00007f0113a756a0 in QIODevice::readyRead (this=this@entry=0x1b71068) at .moc/release-shared/moc_qiodevice.cpp:104
#26 0x00007f01113965ae in QAbstractSocketPrivate::canReadNotification (this=0x1b7a0b0) at socket/qabstractsocket.cpp:654
#27 0x00007f01113a120d in QReadNotifier::event (this=<optimized out>, e=<optimized out>) at socket/qnativesocketengine.cpp:1151
#28 0x00007f0112d5c9bc in QApplicationPrivate::notify_helper (this=this@entry=0x18763c0, receiver=receiver@entry=0x1b69a40, e=e@entry=0x7ffd0fe06630) at kernel/qapplication.cpp:4570
#29 0x00007f0112d634d8 in QApplication::notify (this=this@entry=0x7ffd0fe06c40, receiver=receiver@entry=0x1b69a40, e=e@entry=0x7ffd0fe06630) at kernel/qapplication.cpp:4356
#30 0x00007f0114b29b4a in KApplication::notify (this=0x7ffd0fe06c40, receiver=0x1b69a40, event=0x7ffd0fe06630) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007f0113a1517d in QCoreApplication::notifyInternal (this=0x7ffd0fe06c40, receiver=0x1b69a40, event=event@entry=0x7ffd0fe06630) at kernel/qcoreapplication.cpp:955
#32 0x00007f0113a44e38 in sendEvent (event=0x7ffd0fe06630, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#33 socketNotifierSourceDispatch (source=0x1876960) at kernel/qeventdispatcher_glib.cpp:117
#34 0x00007f010a013c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f010a013f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f010a013fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f0113a4482e in QEventDispatcherGlib::processEvents (this=0x17b5b20, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#38 0x00007f0112e04c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007f0113a13cd1 in QEventLoop::processEvents (this=this@entry=0x7ffd0fe06880, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007f0113a14035 in QEventLoop::exec (this=this@entry=0x7ffd0fe06880, flags=...) at kernel/qeventloop.cpp:204
#41 0x00007f0113a19ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#42 0x00007f0112d5ac1c in QApplication::exec () at kernel/qapplication.cpp:3828
#43 0x0000000000402d82 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 346038, bug 345530.

Reported using DrKonqi