Bug 304155 - Crash upon empty folder deletion
Summary: Crash upon empty folder deletion
Status: RESOLVED DUPLICATE of bug 302301
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.8.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-27 20:15 UTC by phorechuk
Modified: 2012-11-05 00:34 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.64 KB, text/plain)
2012-11-05 00:34 UTC, Andy Goss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description phorechuk 2012-07-27 20:15:12 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Deleted an empty folder.
Messages were moved from folder first, to put them in a different location and then the original folder was deleted.

-- 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 0x7f7f421ee7c0 (LWP 12663))]

Thread 5 (Thread 0x7f7f20022700 (LWP 12666)):
#0  0x00007f7f3f542b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7f37dee036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f37dee49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f2002798b in ?? () from /usr/lib/x86_64-linux-gnu/gio/modules/libdconfsettings.so
#4  0x00007f7f37e0f9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7f3d01de9a in start_thread (arg=0x7f7f20022700) at pthread_create.c:308
#6  0x00007f7f3f54e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f7f1f416700 (LWP 12667)):
#0  0x00007f7f3f542b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7f37dee036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7f37dee49a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7f25db6406 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f7f37e0f9e5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f7f3d01de9a in start_thread (arg=0x7f7f1f416700) at pthread_create.c:308
#6  0x00007f7f3f54e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7f06c9b700 (LWP 12678)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f7f344e1dec in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f7f344e1f19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7f3d01de9a in start_thread (arg=0x7f7f06c9b700) at pthread_create.c:308
#4  0x00007f7f3f54e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f7f0649a700 (LWP 12679)):
#0  0x00007ffff83ff98f in clock_gettime ()
#1  0x00007f7f36e6b15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007f7f3fe01bb4 in do_gettime (frac=0x7f7f06499be8, sec=0x7f7f06499be0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007f7f3fed9b8d in QTimerInfoList::updateCurrentTime (this=0x7f7f00001330) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007f7f3fed9841 in timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:150
#6  timerSourceCheckHelper (src=<optimized out>) at kernel/qeventdispatcher_glib.cpp:144
#7  0x00007f7f37dedb43 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f7f37dedfd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f7f37dee164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f7f3fed9426 in QEventDispatcherGlib::processEvents (this=0x7f7f000008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0x00007f7f3fea8c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f7f3fea8ed7 in QEventLoop::exec (this=0x7f7f06499dc0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007f7f3fda7fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#14 0x00007f7f3fdaafcb in QThreadPrivate::start (arg=0x26a4800) at thread/qthread_unix.cpp:298
#15 0x00007f7f3d01de9a in start_thread (arg=0x7f7f0649a700) at pthread_create.c:308
#16 0x00007f7f3f54e4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#17 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7f421ee7c0 (LWP 12663)):
[KCrash Handler]
#6  QModelIndex (other=..., this=0x7ffff82c6330) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#7  QSortFilterProxyModel::parent (this=0x238ae80, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#8  0x00007f7f41bc913a in parent (this=0x7ffff82c6380) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#9  KIdentityProxyModel::parent (this=0x2540170, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#10 0x00007f7f41bc913a in parent (this=0x7ffff82c63e0) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#11 KIdentityProxyModel::parent (this=0x24f52f0, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:358
#12 0x00007f7f3fea05d3 in parent (this=0x7ffff82c6450) at kernel/qabstractitemmodel.h:393
#13 QAbstractItemModelPrivate::rowsAboutToBeRemoved (this=0x254fe30, parent=..., first=12, last=12) at kernel/qabstractitemmodel.cpp:726
#14 0x00007f7f3fea3d48 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=12, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2471
#15 0x00007f7f41bc9d3d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=12, end=12) at ../../kdeui/itemviews/kidentityproxymodel.cpp:715
#16 0x00007f7f3febe281 in QMetaObject::activate (sender=0x2540170, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff82c66c0) at kernel/qobject.cpp:3547
#17 0x00007f7f3ff0a694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#18 0x00007f7f3fea3d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=12, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#19 0x00007f7f41bc9d3d in KIdentityProxyModelPrivate::_k_sourceRowsAboutToBeRemoved (this=<optimized out>, parent=..., start=12, end=12) at ../../kdeui/itemviews/kidentityproxymodel.cpp:715
#20 0x00007f7f3febe281 in QMetaObject::activate (sender=0x238ae80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff82c68c0) at kernel/qobject.cpp:3547
#21 0x00007f7f3ff0a694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#22 0x00007f7f3fea3d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=12, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#23 0x00007f7f4097a98d in QSortFilterProxyModelPrivate::remove_proxy_interval (this=0x24110f0, source_to_proxy=..., proxy_to_source=..., proxy_start=12, proxy_end=<optimized out>, proxy_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:557
#24 0x00007f7f4097f43a in QSortFilterProxyModelPrivate::remove_source_items (this=0x24110f0, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:539
#25 0x00007f7f40980e04 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0x24110f0, source_parent=..., start=12, end=12, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:840
#26 0x00007f7f3febe281 in QMetaObject::activate (sender=0x239cfc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff82c6c00) at kernel/qobject.cpp:3547
#27 0x00007f7f3ff0a694 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=..., _t2=12, _t3=12) at .moc/release-shared/moc_qabstractitemmodel.cpp:204
#28 0x00007f7f3fea3d38 in QAbstractItemModel::beginRemoveRows (this=<optimized out>, parent=..., first=12, last=<optimized out>) at kernel/qabstractitemmodel.cpp:2470
#29 0x00007f7f3c13b1d4 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0x2414290, collection=...) at ../../akonadi/entitytreemodel_p.cpp:805
#30 0x00007f7f3febe281 in QMetaObject::activate (sender=0x23f1060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff82c6eb0) at kernel/qobject.cpp:3547
#31 0x00007f7f3c172c85 in Akonadi::Monitor::collectionRemoved (this=<optimized out>, _t1=...) at ./monitor.moc:259
#32 0x00007f7f3c1769b9 in Akonadi::MonitorPrivate::emitCollectionNotification (this=0x23f1410, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:617
#33 0x00007f7f3c17862a in Akonadi::MonitorPrivate::emitNotification (this=0x23f1410, msg=...) at ../../akonadi/monitor_p.cpp:285
#34 0x00007f7f3c0d6b31 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0x23f1410, msg=...) at ../../akonadi/changerecorder_p.h:60
#35 0x00007f7f3c178356 in Akonadi::MonitorPrivate::flushPipeline (this=0x23f1410) at ../../akonadi/monitor_p.cpp:429
#36 0x00007f7f3c178829 in Akonadi::MonitorPrivate::dataAvailable (this=0x23f1410) at ../../akonadi/monitor_p.cpp:438
#37 0x00007f7f3febe281 in QMetaObject::activate (sender=0x240e7f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#38 0x00007f7f3c0dd45d in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x240e7f0, job=<optimized out>) at ../../akonadi/entitycache_p.h:192
#39 0x00007f7f3febe281 in QMetaObject::activate (sender=0x2b999b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffff82c7560) at kernel/qobject.cpp:3547
#40 0x00007f7f41631182 in KJob::result (this=<optimized out>, _t1=0x2b999b0) at ./kjob.moc:208
#41 0x00007f7f416311c0 in KJob::emitResult (this=0x2b999b0) at ../../kdecore/jobs/kjob.cpp:318
#42 0x00007f7f3fec3446 in QObject::event (this=0x2b999b0, e=<optimized out>) at kernel/qobject.cpp:1195
#43 0x00007f7f403cc894 in notify_helper (e=0x2f32220, receiver=0x2b999b0, this=0x202fec0) at kernel/qapplication.cpp:4559
#44 QApplicationPrivate::notify_helper (this=0x202fec0, receiver=0x2b999b0, e=0x2f32220) at kernel/qapplication.cpp:4531
#45 0x00007f7f403d1713 in QApplication::notify (this=0x7ffff82c7fa0, receiver=0x2b999b0, e=0x2f32220) at kernel/qapplication.cpp:4420
#46 0x00007f7f41c0d9e6 in KApplication::notify (this=0x7ffff82c7fa0, receiver=0x2b999b0, event=0x2f32220) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f7f3fea9e9c in QCoreApplication::notifyInternal (this=0x7ffff82c7fa0, receiver=0x2b999b0, event=0x2f32220) at kernel/qcoreapplication.cpp:876
#48 0x00007f7f3feadc6a in sendEvent (event=0x2f32220, receiver=0x2b999b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1fd7220) at kernel/qcoreapplication.cpp:1500
#50 0x00007f7f3fed8f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007f7f37dedd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f7f37dee0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f7f37dee164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f7f3fed93bf in QEventDispatcherGlib::processEvents (this=0x1fd8b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007f7f40474d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f7f3fea8c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f7f3fea8ed7 in QEventLoop::exec (this=0x7ffff82c7e80, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f7f3feadf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#60 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Possible duplicates by query: bug 302301, bug 302187, bug 302138, bug 302116, bug 301713.

Reported using DrKonqi
Comment 1 Martin Koller 2012-07-28 21:21:19 UTC
can not reproduce with KDE/4.9 on local folders.
Did you use IMAP folders ?
Comment 2 phorechuk 2012-07-28 22:04:07 UTC
No. Just pop3 for this account.

Sent from my HTC

----- Reply message -----
From: "Martin Koller" <kollix@aon.at>
To: <phorechuk@gmail.com>
Subject: [Bug 304155] Crash upon empty folder deletion
Date: Sat, Jul 28, 2012 5:21 PM


https://bugs.kde.org/show_bug.cgi?id=304155

Martin Koller <kollix@aon.at> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEEDSINFO
                 CC|                            |kollix@aon.at
         Resolution|---                         |WAITINGFORINFO

--- Comment #1 from Martin Koller <kollix@aon.at> ---
can not reproduce with KDE/4.9 on local folders.
Did you use IMAP folders ?
Comment 3 Martin Koller 2012-07-28 22:07:42 UTC
Thanks for the update.
Comment 4 Laurent Montel 2012-07-29 09:49:02 UTC
We fixed a lot of crash in 4.8.5/4.9 (need update from kdelibs).
Perhaps it's fixed now
Comment 5 Jekyll Wu 2012-08-19 16:26:16 UTC

*** This bug has been marked as a duplicate of bug 302301 ***
Comment 6 Andy Goss 2012-11-05 00:34:05 UTC
Created attachment 75016 [details]
New crash information added by DrKonqi

kmail (4.8.5) on KDE Platform 4.8.5 (4.8.5) using Qt 4.8.1

- What I was doing when the application crashed:

Having moved sub-folders to another folder, causing a couple of crashes, I deleted the empty parent folder and Kmail crashed. Although this bug has been marked as a duplicate of another, my crash looks like this bug, not much like the "main" bug.

-- Backtrace (Reduced):
#7  QModelIndex (other=..., this=0xbfd036c0) at ../../include/QtCore/../../src/corelib/kernel/qabstractitemmodel.h:65
#8  QSortFilterProxyModel::parent (this=0x86580c0, child=...) at itemviews/qsortfilterproxymodel.cpp:1659
#9  0xb742b6d8 in parent (this=0xbfd03710) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393
#10 KIdentityProxyModel::parent (this=0x8925a48, child=...) at ../../kdeui/itemviews/kidentityproxymodel.cpp:359
#11 0xb4b256e5 in parent (this=0xbfd03770) at /usr/include/qt4/QtCore/qabstractitemmodel.h:393