Bug 312114 - Crash while adding a folder in Kmail
Summary: Crash while adding a folder in Kmail
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-12-23 13:12 UTC by Alexandre René
Modified: 2017-01-07 22:13 UTC (History)
1 user (show)

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 Alexandre René 2012-12-23 13:12:00 UTC
Application: kontact (4.9.3)
KDE Platform Version: 4.9.3
Qt Version: 4.8.3
Operating System: Linux 3.5.0-19-generic x86_64
Distribution: Ubuntu 12.10

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

I right-clicked on my Google IMAP mailbox in the sidepane and selected 'Add folder', then typed the name of my new folder. When I clicked 'OK', Kontact crashed.
The behaviour does not seem to be systematic: this is the first time I notice this, and I've added folders like this before.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff390ce97c0 (LWP 1721))]

Thread 4 (Thread 0x7ff3898af700 (LWP 1723)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff3a225fb2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007ff3a225fc39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007ff39d7aae9a in start_thread (arg=0x7ff3898af700) at pthread_create.c:308
#4  0x00007ff3a2f8acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff3890ae700 (LWP 1724)):
#0  0x00007ff39d318c31 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff39d2db623 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff39d2dbcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff39d2dbea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff3a36ffc16 in QEventDispatcherGlib::processEvents (this=0x7ff3840008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007ff3a36d02bf in QEventLoop::processEvents (this=this@entry=0x7ff3890addc0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007ff3a36d0548 in QEventLoop::exec (this=0x7ff3890addc0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007ff3a35d1b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007ff3a35d4aec in QThreadPrivate::start (arg=0x1bca1f0) at thread/qthread_unix.cpp:338
#9  0x00007ff39d7aae9a in start_thread (arg=0x7ff3890ae700) at pthread_create.c:308
#10 0x00007ff3a2f8acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff33b2b7700 (LWP 2035)):
#0  0x00007fff5cdff827 in clock_gettime ()
#1  0x00007ff39bb0d15d in __GI_clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:116
#2  0x00007ff3a362a9c4 in do_gettime (frac=0x7ff33b2b6ae8, sec=0x7ff33b2b6ae0) at tools/qelapsedtimer_unix.cpp:123
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#4  0x00007ff3a370041d in QTimerInfoList::updateCurrentTime (this=this@entry=0x7ff334002660) at kernel/qeventdispatcher_unix.cpp:343
#5  0x00007ff3a3700763 in QTimerInfoList::timerWait (this=0x7ff334002660, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#6  0x00007ff3a36ff2cc in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7ff33b2b6bd4) at kernel/qeventdispatcher_glib.cpp:136
#7  0x00007ff3a36ff375 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#8  0x00007ff39d2db618 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007ff39d2dbcab in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007ff39d2dbea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007ff3a36ffc16 in QEventDispatcherGlib::processEvents (this=0x7ff3340008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#12 0x00007ff3a36d02bf in QEventLoop::processEvents (this=this@entry=0x7ff33b2b6d90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007ff3a36d0548 in QEventLoop::exec (this=0x7ff33b2b6d90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007ff3a35d1b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#15 0x00007ff3a36b09af in QInotifyFileSystemWatcherEngine::run (this=0x21b9910) at io/qfilesystemwatcher_inotify.cpp:248
#16 0x00007ff3a35d4aec in QThreadPrivate::start (arg=0x21b9910) at thread/qthread_unix.cpp:338
#17 0x00007ff39d7aae9a in start_thread (arg=0x7ff33b2b7700) at pthread_create.c:308
#18 0x00007ff3a2f8acbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#19 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff390ce97c0 (LWP 1721)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0x3570580, source_parent=..., parent_mapping=parent_mapping@entry=0x35396d0, 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  0x00007ff3a4642dbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x3570580, source_parent=..., start=0, end=0, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0x00007ff3a46432bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x3570580, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#9  0x00007ff3a36d9987 in QMetaMethod::invoke (this=this@entry=0x7fff5cdb6810, object=object@entry=0x3598c30, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#10 0x00007ff3a36dbd5c in QMetaObject::invokeMethod (obj=0x3598c30, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#11 0x00007ff3a4d7fcb0 in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7ff3a4f16cc0 "_q_sourceRowsInserted", obj=0x3598c30) at /usr/include/qt4/QtCore/qobjectdefs.h:418
#12 invokeRowsInserted (end=0, start=0, source_parent=..., this=0x3598d00) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:66
#13 KRecursiveFilterProxyModelPrivate::sourceRowsInserted (this=0x3598d00, source_parent=..., start=<optimized out>, end=0) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:190
#14 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x20abac0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb6d90) at kernel/qobject.cpp:3547
#15 0x00007ff3a3730be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#16 0x00007ff3a36cbe6a in QAbstractItemModel::endInsertRows (this=0x20abac0) at kernel/qabstractitemmodel.cpp:2433
#17 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x2dcce20, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb6f40) at kernel/qobject.cpp:3547
#18 0x00007ff3a3730be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#19 0x00007ff3a36cbe6a in QAbstractItemModel::endInsertRows (this=0x2dcce20) at kernel/qabstractitemmodel.cpp:2433
#20 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x1fb21f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb70f0) at kernel/qobject.cpp:3547
#21 0x00007ff3a3730be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#22 0x00007ff3a36cbe6a in QAbstractItemModel::endInsertRows (this=0x1fb21f0) at kernel/qabstractitemmodel.cpp:2433
#23 0x00007ff3a463f694 in QSortFilterProxyModelPrivate::insert_source_items (this=this@entry=0x204f8d0, 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 0x00007ff3a4642f38 in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0x204f8d0, source_parent=..., start=<optimized out>, end=<optimized out>, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:806
#25 0x00007ff3a46432bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0x204f8d0, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#26 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x1fff760, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb7440) at kernel/qobject.cpp:3547
#27 0x00007ff3a3730be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#28 0x00007ff3a36cbe6a in QAbstractItemModel::endInsertRows (this=0x1fff760) at kernel/qabstractitemmodel.cpp:2433
#29 0x00007ff39fd76699 in ?? () from /usr/lib/libakonadi-kde.so.4
#30 0x00007ff39fd7b68e in ?? () from /usr/lib/libakonadi-kde.so.4
#31 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x1c6a8f0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb7720) at kernel/qobject.cpp:3547
#32 0x00007ff39fdb314a in Akonadi::Monitor::collectionAdded(Akonadi::Collection const&, Akonadi::Collection const&) () from /usr/lib/libakonadi-kde.so.4
#33 0x00007ff39fdb556b in ?? () from /usr/lib/libakonadi-kde.so.4
#34 0x00007ff39fdb8c5b in ?? () from /usr/lib/libakonadi-kde.so.4
#35 0x00007ff39fd1fda9 in ?? () from /usr/lib/libakonadi-kde.so.4
#36 0x00007ff39fdb757f in ?? () from /usr/lib/libakonadi-kde.so.4
#37 0x00007ff39fdb7619 in ?? () from /usr/lib/libakonadi-kde.so.4
#38 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x1cb9350, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#39 0x00007ff39fd25cb7 in ?? () from /usr/lib/libakonadi-kde.so.4
#40 0x00007ff3a36e6f5f in QMetaObject::activate (sender=0x33adda0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff5cdb7dd0) at kernel/qobject.cpp:3547
#41 0x00007ff3a3b4def2 in KJob::result (this=this@entry=0x33adda0, _t1=_t1@entry=0x33adda0) at ./kjob.moc:208
#42 0x00007ff3a3b4df30 in KJob::emitResult (this=0x33adda0) at ../../kdecore/jobs/kjob.cpp:318
#43 0x00007ff3a36e643e in QObject::event (this=0x33adda0, e=<optimized out>) at kernel/qobject.cpp:1195
#44 0x00007ff3a40b2e9c in QApplicationPrivate::notify_helper (this=this@entry=0x1ab04d0, receiver=receiver@entry=0x33adda0, e=e@entry=0x33703e0) at kernel/qapplication.cpp:4562
#45 0x00007ff3a40b730a in QApplication::notify (this=0x7fff5cdb8870, receiver=0x33adda0, e=0x33703e0) at kernel/qapplication.cpp:4423
#46 0x00007ff3a4dbb1d6 in KApplication::notify (this=0x7fff5cdb8870, receiver=0x33adda0, event=0x33703e0) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x00007ff3a36d156e in QCoreApplication::notifyInternal (this=0x7fff5cdb8870, receiver=receiver@entry=0x33adda0, event=event@entry=0x33703e0) at kernel/qcoreapplication.cpp:915
#48 0x00007ff3a36d53f1 in sendEvent (event=0x33703e0, receiver=0x33adda0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1a75380) at kernel/qcoreapplication.cpp:1539
#50 0x00007ff3a36ffa63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#51 postEventSourceDispatch (s=0x1aa8aa0) at kernel/qeventdispatcher_glib.cpp:279
#52 0x00007ff39d2dbab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#53 0x00007ff39d2dbde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#54 0x00007ff39d2dbea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#55 0x00007ff3a36ffbf6 in QEventDispatcherGlib::processEvents (this=0x1a76c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#56 0x00007ff3a4157c1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#57 0x00007ff3a36d02bf in QEventLoop::processEvents (this=this@entry=0x7fff5cdb86e0, flags=...) at kernel/qeventloop.cpp:149
#58 0x00007ff3a36d0548 in QEventLoop::exec (this=0x7fff5cdb86e0, flags=...) at kernel/qeventloop.cpp:204
#59 0x00007ff3a36d5708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#60 0x0000000000403339 in ?? ()
#61 0x00007ff3a2eb876d in __libc_start_main (main=0x402b40, argc=3, ubp_av=0x7fff5cdb89b8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff5cdb89a8) at libc-start.c:226
#62 0x00000000004038a1 in _start ()

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

Possible duplicates by query: bug 309917, bug 309275, bug 307732.

Reported using DrKonqi
Comment 1 Laurent Montel 2012-12-27 07:26:05 UTC
Please test with kdepim > 4.9.3 we fixed some bugs about it in 4.9.4
Regards
Comment 2 Denis Kurz 2016-09-24 19:25:49 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 kontact (version 5.0 or later, as part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:13:31 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.