Bug 312532 - KMail crashed when creating a new folder (3rd level) on a maildir structure.
Summary: KMail crashed when creating a new folder (3rd level) on a maildir structure.
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.9.4
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-03 11:42 UTC by A. Sala
Modified: 2017-01-07 22:18 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description A. Sala 2013-01-03 11:42:32 UTC
Application: kmail (4.9.4)
KDE Platform Version: 4.9.4
Qt Version: 4.8.3
Operating System: Linux 3.5.0-21-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
Creating a new folder entitled 2012 in LocalFolders/Archive. After confirming the name, Kmail crashed. Restarting Kmail showed the folder actually existed.
Creating further subdirectories after restarting LocalFolders/Archive/2012/Sent, etc. did no longer crash Kmail.

-- 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 0x7f85c874b7c0 (LWP 5608))]

Thread 5 (Thread 0x7f85be767700 (LWP 5609)):
#0  0x00007f85ded8e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f85d723ad84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f85d723b1e2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85c56c34a6 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007f85d725e645 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f85dc64de9a in start_thread (arg=0x7f85be767700) at pthread_create.c:308
#6  0x00007f85ded99cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f85af994700 (LWP 5933)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f85d3950b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f85d3950c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f85dc64de9a in start_thread (arg=0x7f85af994700) at pthread_create.c:308
#4  0x00007f85ded99cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f85af093700 (LWP 5934)):
#0  0x00007f85ded8c8bd in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f85d727715f in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f85d723a914 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85d723ad22 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f85d723aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f85df724c16 in QEventDispatcherGlib::processEvents (this=0x7f85a80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f85df6f52bf in QEventLoop::processEvents (this=this@entry=0x7f85af092dc0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f85df6f5548 in QEventLoop::exec (this=0x7f85af092dc0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f85df5f6b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f85df5f9aec in QThreadPrivate::start (arg=0x15e22f0) at thread/qthread_unix.cpp:338
#10 0x00007f85dc64de9a in start_thread (arg=0x7f85af093700) at pthread_create.c:308
#11 0x00007f85ded99cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f85ad951700 (LWP 5943)):
#0  0x00007f85ded8e303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f85d723ad84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f85d723aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f85df724c16 in QEventDispatcherGlib::processEvents (this=0x7f859c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f85df6f52bf in QEventLoop::processEvents (this=this@entry=0x7f85ad950d90, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f85df6f5548 in QEventLoop::exec (this=0x7f85ad950d90, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f85df5f6b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f85df6d59af in QInotifyFileSystemWatcherEngine::run (this=0x16f5ff0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f85df5f9aec in QThreadPrivate::start (arg=0x16f5ff0) at thread/qthread_unix.cpp:338
#9  0x00007f85dc64de9a in start_thread (arg=0x7f85ad951700) at pthread_create.c:308
#10 0x00007f85ded99cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f85c874b7c0 (LWP 5608)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x232b620, source_parent=..., parent_mapping=parent_mapping@entry=0x3706fd0, orient=orient@entry=Qt::Vertical, start=start@entry=0, end=end@entry=0, delta_item_count=delta_item_count@entry=1, remove=remove@entry=false) at itemviews/qsortfilterproxymodel.cpp:948
#7  0x00007f85e01aadbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x232b620, source_parent=..., start=0, end=0, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0x00007f85e01ab2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x232b620, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#9  0x00007f85df6fe987 in QMetaMethod::invoke (this=this@entry=0x7fffbfbc60d0, object=object@entry=0x1af2f80, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#10 0x00007f85df700d5c in QMetaObject::invokeMethod (obj=0x1af2f80, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#11 0x00007f85e13ddcb0 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7f85e1574ce0 "_q_sourceRowsInserted", obj=0x1af2f80) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#12 invokeRowsInserted (end=0, start=0, source_parent=..., this=0x410c350) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:66
#13 KRecursiveFilterProxyModelPrivate::sourceRowsInserted (this=0x410c350, source_parent=..., start=<optimized out>, end=0) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:190
#14 0x00007f85df70bf5f in QMetaObject::activate (sender=0x2310b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc6650) at kernel/qobject.cpp:3547
#15 0x00007f85df755be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#16 0x00007f85df6f0e6a in QAbstractItemModel::endInsertRows (this=0x2310b70) at kernel/qabstractitemmodel.cpp:2433
#17 0x00007f85df70bf5f in QMetaObject::activate (sender=0x1fa8f90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc6800) at kernel/qobject.cpp:3547
#18 0x00007f85df755be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#19 0x00007f85df6f0e6a in QAbstractItemModel::endInsertRows (this=0x1fa8f90) at kernel/qabstractitemmodel.cpp:2433
#20 0x00007f85df70bf5f in QMetaObject::activate (sender=0x12ad060, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc69b0) at kernel/qobject.cpp:3547
#21 0x00007f85df755be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#22 0x00007f85df6f0e6a in QAbstractItemModel::endInsertRows (this=0x12ad060) at kernel/qabstractitemmodel.cpp:2433
#23 0x00007f85e01a7694 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0xf07720, source_to_proxy=..., proxy_to_source=..., source_items=..., source_parent=..., orient=orient@entry=Qt::Vertical, emit_signal=emit_signal@entry=true) at itemviews/qsortfilterproxymodel.cpp:695
#24 0x00007f85e01aaf38 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xf07720, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#25 0x00007f85e01ab2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xf07720, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#26 0x00007f85df70bf5f in QMetaObject::activate (sender=0x1282d20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc6d00) at kernel/qobject.cpp:3547
#27 0x00007f85df755be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#28 0x00007f85df6f0e6a in QAbstractItemModel::endInsertRows (this=0x1282d20) at kernel/qabstractitemmodel.cpp:2433
#29 0x00007f85db781789 in Akonadi::EntityTreeModelPrivate::insertCollection (this=this@entry=0xf05730, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:717
#30 0x00007f85db78677e in Akonadi::EntityTreeModelPrivate::monitoredCollectionAdded (this=0xf05730, collection=..., parent=...) at ../../akonadi/entitytreemodel_p.cpp:754
#31 0x00007f85df70bf5f in QMetaObject::activate (sender=0xefeb50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc6fe0) at kernel/qobject.cpp:3547
#32 0x00007f85db7be28a in Akonadi::Monitor::collectionAdded (this=<optimized out>, _t1=..., _t2=...) at ./monitor.moc:231
#33 0x00007f85db7c06ab in Akonadi::MonitorPrivate::emitCollectionNotification (this=this@entry=0xefeea0, msg=..., col=..., par=..., dest=...) at ../../akonadi/monitor_p.cpp:629
#34 0x00007f85db7c3d9b in Akonadi::MonitorPrivate::emitNotification (this=0xefeea0, msg=...) at ../../akonadi/monitor_p.cpp:293
#35 0x00007f85db72ae39 in Akonadi::ChangeRecorderPrivate::emitNotification (this=0xefeea0, msg=...) at ../../akonadi/changerecorder_p.cpp:54
#36 0x00007f85db7c26bf in Akonadi::MonitorPrivate::flushPipeline (this=this@entry=0xefeea0) at ../../akonadi/monitor_p.cpp:457
#37 0x00007f85db7c2759 in Akonadi::MonitorPrivate::dataAvailable (this=0xefeea0) at ../../akonadi/monitor_p.cpp:466
#38 0x00007f85df70bf5f in QMetaObject::activate (sender=0x139f140, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#39 0x00007f85db730d47 in Akonadi::EntityCache<Akonadi::Collection, Akonadi::CollectionFetchJob, Akonadi::CollectionFetchScope>::processResult (this=0x139f140, job=<optimized out>) at ../../akonadi/entitycache_p.h:192
#40 0x00007f85df70bf5f in QMetaObject::activate (sender=0x153ff20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbfbc7690) at kernel/qobject.cpp:3547
#41 0x00007f85e0e57ef2 in KJob::result (this=this@entry=0x153ff20, _t1=_t1@entry=0x153ff20) at ./kjob.moc:208
#42 0x00007f85e0e57f30 in KJob::emitResult (this=0x153ff20) at ../../kdecore/jobs/kjob.cpp:318
#43 0x00007f85df70b43e in QObject::event (this=0x153ff20, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007f85dfc1ae9c in QApplicationPrivate::notify_helper (this=this@entry=0xf97120, receiver=receiver@entry=0x153ff20, e=e@entry=0x3d46f40) at kernel/qapplication.cpp:4562
#45 0x00007f85dfc1f30a in QApplication::notify (this=0x7fffbfbc8320, receiver=0x153ff20, e=0x3d46f40) at kernel/qapplication.cpp:4423
#46 0x00007f85e14191d6 in KApplication::notify (this=0x7fffbfbc8320, receiver=0x153ff20, event=0x3d46f40) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007f85df6f656e in QCoreApplication::notifyInternal (this=0x7fffbfbc8320, receiver=receiver@entry=0x153ff20, event=event@entry=0x3d46f40) at kernel/qcoreapplication.cpp:915
#48 0x00007f85df6fa3f1 in sendEvent (event=0x3d46f40, receiver=0x153ff20) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xe70220) at kernel/qcoreapplication.cpp:1539
#50 0x00007f85df724a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0xf2bde0) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007f85d723aab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007f85d723ade8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007f85d723aea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007f85df724bf6 in QEventDispatcherGlib::processEvents (this=0xe71b00, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007f85dfcbfc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007f85df6f52bf in QEventLoop::processEvents (this=this@entry=0x7fffbfbc7fa0, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007f85df6f5548 in QEventLoop::exec (this=0x7fffbfbc7fa0, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007f85df6fa708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0x0000000000402cd2 in ?? ()
#61 0x00007f85decc776d in __libc_start_main (main=0x4022c0, argc=1, ubp_av=0x7fffbfbc8528, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffbfbc8518) at libc-start.c:226
#62 0x0000000000403195 in _start ()

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

Possible duplicates by query: bug 312435, bug 310025.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 18:14:59 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:18:35 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.