Bug 347745 - kmail crash while removing folder
Summary: kmail crash while removing folder
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:40 UTC by Richard Johnson
Modified: 2015-05-15 06:23 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.14.7


Attachments
New crash information added by DrKonqi (9.44 KB, text/plain)
2015-05-15 06:23 UTC, Richard Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Johnson 2015-05-15 04:40:44 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:
1. opened kmail
2. selected not-quite-empty directory
3. selected "delete"

"Are you sure" dialog appeared, and before I could respond it was replaced by the crash reporter.

This particular folder was imported as part of a kmail archive from a different computer.

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 0x7f7e93497840 (LWP 30299))]

Thread 5 (Thread 0x7f7e6a124700 (LWP 30302)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7e84afe81d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7e84afe859 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7e8dfcc6aa in start_thread (arg=0x7f7e6a124700) at pthread_create.c:333
#4  0x00007f7e90729eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f7e28f81700 (LWP 30303)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f7e8483f20d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7e84b2dfd6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7e8dfcc6aa in start_thread (arg=0x7f7e28f81700) at pthread_create.c:333
#4  0x00007f7e90729eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f7e23fff700 (LWP 30304)):
#0  __libc_enable_asynccancel () at ../sysdeps/unix/sysv/linux/x86_64/cancellation.S:65
#1  0x00007f7e9071e8d2 in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0x00007f7e88391ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e88391fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f7e91dc282e in QEventDispatcherGlib::processEvents (this=0x7f7e1c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f7e91d91cd1 in QEventLoop::processEvents (this=this@entry=0x7f7e23ffed90, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f7e91d92035 in QEventLoop::exec (this=this@entry=0x7f7e23ffed90, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f7e91c85e89 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f7e91c886ff in QThreadPrivate::start (arg=0x2b192d0) at thread/qthread_unix.cpp:349
#9  0x00007f7e8dfcc6aa in start_thread (arg=0x7f7e23fff700) at pthread_create.c:333
#10 0x00007f7e90729eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f7e21ead700 (LWP 30305)):
#0  0x00007f7e9071e8dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f7e88391ebc in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7e88391fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7e91dc282e in QEventDispatcherGlib::processEvents (this=0x7f7e140008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#4  0x00007f7e91d91cd1 in QEventLoop::processEvents (this=this@entry=0x7f7e21eacd40, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f7e91d92035 in QEventLoop::exec (this=this@entry=0x7f7e21eacd40, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f7e91c85e89 in QThread::exec (this=this@entry=0x2eac460) at thread/qthread.cpp:538
#7  0x00007f7e91d72443 in QInotifyFileSystemWatcherEngine::run (this=0x2eac460) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f7e91c886ff in QThreadPrivate::start (arg=0x2eac460) at thread/qthread_unix.cpp:349
#9  0x00007f7e8dfcc6aa in start_thread (arg=0x7f7e21ead700) at pthread_create.c:333
#10 0x00007f7e90729eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f7e93497840 (LWP 30299)):
[KCrash Handler]
#6  0x00007f7e8d073039 in Akonadi::FavoriteCollectionsModel::removeCollection (this=0x0, collection=...) at ../../akonadi/favoritecollectionsmodel.cpp:294
#7  0x00007f7e921d84cc in KMMainWidget::slotCollectionRemoved (this=<optimized out>, col=...) at ../../kmail/kmmainwidget.cpp:4501
#8  0x00007f7e922d892e in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:488
#9  0x00007f7e91da819c in QMetaObject::activate (sender=0x2802930, m=m@entry=0x7f7e8d4142c0 <Akonadi::Monitor::staticMetaObject>, local_signal_index=local_signal_index@entry=16, argv=argv@entry=0x7ffd763d0ef0) at kernel/qobject.cpp:3567
#10 0x00007f7e8d0a9a45 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./moc_monitor.cpp:343
#11 0x00007f7e8d0b4e0e in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x276d970, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:958
#12 0x00007f7e8d0b5b04 in Akonadi::MonitorPrivate::emitNotification (this=0x276d970, msg=...) at ../../akonadi/monitor_p.cpp:504
#13 0x00007f7e8d0b1561 in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0x276d970) at ../../akonadi/monitor_p.cpp:718
#14 0x00007f7e8d0b1799 in Akonadi::MonitorPrivate::dataAvailable (this=0x276d970) at ../../akonadi/monitor_p.cpp:727
#15 0x00007f7e91da819c in QMetaObject::activate (sender=sender@entry=0x2968740, m=m@entry=0x7f7e8d412180 <Akonadi::EntityCacheBase::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3567
#16 0x00007f7e8d04b390 in Akonadi::EntityCacheBase::dataAvailable (this=this@entry=0x2968740) at ./moc_entitycache_p.cpp:101
#17 0x00007f7e8d004442 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x2968740, job=<optimized out>) at ../../akonadi/entitycache_p.h:217
#18 0x00007f7e91da819c in QMetaObject::activate (sender=sender@entry=0x2ffab80, m=m@entry=0x7f7e92c69f20 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7ffd763d1470) at kernel/qobject.cpp:3567
#19 0x00007f7e928c9362 in KJob::result (this=this@entry=0x2ffab80, _t1=_t1@entry=0x2ffab80) at ./kjob.moc:207
#20 0x00007f7e928c93b0 in KJob::emitResult (this=0x2ffab80) at ../../kdecore/jobs/kjob.cpp:318
#21 0x00007f7e91dac891 in QObject::event (this=0x2ffab80, e=<optimized out>) at kernel/qobject.cpp:1222
#22 0x00007f7e910da9bc in QApplicationPrivate::notify_helper (this=this@entry=0x2672390, receiver=receiver@entry=0x2ffab80, e=e@entry=0x307cc90) at kernel/qapplication.cpp:4570
#23 0x00007f7e910e14d8 in QApplication::notify (this=this@entry=0x7ffd763d1e30, receiver=receiver@entry=0x2ffab80, e=e@entry=0x307cc90) at kernel/qapplication.cpp:4356
#24 0x00007f7e92ea7b4a in KApplication::notify (this=0x7ffd763d1e30, receiver=0x2ffab80, event=0x307cc90) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007f7e91d9317d in QCoreApplication::notifyInternal (this=0x7ffd763d1e30, receiver=receiver@entry=0x2ffab80, event=event@entry=0x307cc90) at kernel/qcoreapplication.cpp:955
#26 0x00007f7e91d96a21 in sendEvent (event=0x307cc90, receiver=0x2ffab80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x25b0220) at kernel/qcoreapplication.cpp:1579
#28 0x00007f7e91d96eb3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#29 0x00007f7e91dc269e in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#30 postEventSourceDispatch (s=0x267fa10) at kernel/qeventdispatcher_glib.cpp:300
#31 0x00007f7e88391c3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f7e88391f20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f7e88391fcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f7e91dc280e in QEventDispatcherGlib::processEvents (this=0x25b1b20, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#35 0x00007f7e91182c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007f7e91d91cd1 in QEventLoop::processEvents (this=this@entry=0x7ffd763d1a70, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007f7e91d92035 in QEventLoop::exec (this=this@entry=0x7ffd763d1a70, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007f7e91d97ab9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#39 0x00007f7e910d8c1c in QApplication::exec () at kernel/qapplication.cpp:3828
#40 0x0000000000402d82 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

The reporter indicates this bug may be a duplicate of or related to bug 347743.

Possible duplicates by query: bug 347743, bug 346038, bug 345530.

Reported using DrKonqi
Comment 1 Richard Johnson 2015-05-15 06:23:13 UTC
Created attachment 92608 [details]
New crash information added by DrKonqi

kmail (4.14.6) on KDE Platform 4.14.6 using Qt 4.8.6

- What I was doing when the application crashed:
deleting an empty folder

- Unusual behavior I noticed:
kmail was not marking messages as read

- Custom settings of the application:
none


This is the same bug already reported fix.  It might be that I don't have the update yet.

-- Backtrace (Reduced):
#6  0x00007f0460940039 in Akonadi::FavoriteCollectionsModel::removeCollection (this=0x0, collection=...) at ../../akonadi/favoritecollectionsmodel.cpp:294
#7  0x00007f0465aa54cc in KMMainWidget::slotCollectionRemoved (this=<optimized out>, col=...) at ../../kmail/kmmainwidget.cpp:4501
#8  0x00007f0465ba592e in KMMainWidget::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at moc_kmmainwidget.cpp:488
[...]
#10 0x00007f0460976a45 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./moc_monitor.cpp:343
#11 0x00007f0460981e0e in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0x14eaa10, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:958