Bug 313288 - KMail crash in "Select Recipient" form
Summary: KMail crash in "Select Recipient" form
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: 4.9.5
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-15 10:16 UTC by Samuele Kaplun
Modified: 2017-01-07 22:23 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 Samuele Kaplun 2013-01-15 10:16:02 UTC
Application: kontact (4.9.5)
KDE Platform Version: 4.9.5
Qt Version: 4.8.3
Operating System: Linux 3.5.0-22-generic x86_64
Distribution: Ubuntu 12.10

-- Information about the crash:
- What I was doing when the application crashed:
I was writing an email. I clicked on "Select..." in order to add a recipient. in the "Select Recipient" dialog I started typing in the "Search" box while the Contacts tree was still loading (i.e. with a spinning icon still running). This is enough to crash the whole kmail/kontact and it's always reproducible.

The crash can be reproduced every time.

-- 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 0x7fc5d290f7c0 (LWP 30779))]

Thread 4 (Thread 0x7fc5cb251700 (LWP 30780)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fc5e3e87b2d in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fc5e3e87c39 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fc5df3d1e9a in start_thread (arg=0x7fc5cb251700) at pthread_create.c:308
#4  0x00007fc5e4bb2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fc5ca950700 (LWP 30781)):
#0  0x00007fc5e4ba7303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc5def02d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc5def02ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc5e5327c16 in QEventDispatcherGlib::processEvents (this=0x7fc5c40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc5e52f82bf in QEventLoop::processEvents (this=this@entry=0x7fc5ca94fdc0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc5e52f8548 in QEventLoop::exec (this=0x7fc5ca94fdc0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc5e51f9b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc5e51fcaec in QThreadPrivate::start (arg=0x217a9a0) at thread/qthread_unix.cpp:338
#8  0x00007fc5df3d1e9a in start_thread (arg=0x7fc5ca950700) at pthread_create.c:308
#9  0x00007fc5e4bb2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fc57d8e9700 (LWP 30790)):
#0  0x00007fc5e4ba7303 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fc5def02d84 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc5def02ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc5e5327c16 in QEventDispatcherGlib::processEvents (this=0x7fc5780008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fc5e52f82bf in QEventLoop::processEvents (this=this@entry=0x7fc57d8e8d80, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fc5e52f8548 in QEventLoop::exec (this=0x7fc57d8e8d80, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fc5e51f9b10 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fc5e52da478 in QDnotifySignalThread::run (this=0x2893570) at io/qfilesystemwatcher_dnotify.cpp:179
#8  0x00007fc5e51fcaec in QThreadPrivate::start (arg=0x2893570) at thread/qthread_unix.cpp:338
#9  0x00007fc5df3d1e9a in start_thread (arg=0x7fc57d8e9700) at pthread_create.c:308
#10 0x00007fc5e4bb2cbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fc5d290f7c0 (LWP 30779)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=this@entry=0xe2fa500, source_parent=..., parent_mapping=parent_mapping@entry=0xd5591d0, 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  0x00007fc5e626adbe in QSortFilterProxyModelPrivate::source_items_inserted (this=this@entry=0xe2fa500, source_parent=..., start=0, end=0, orient=orient@entry=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:745
#8  0x00007fc5e626b2bf in QSortFilterProxyModelPrivate::_q_sourceRowsInserted (this=0xe2fa500, source_parent=..., start=<optimized out>, end=<optimized out>) at itemviews/qsortfilterproxymodel.cpp:1281
#9  0x00007fc5e530ef5f in QMetaObject::activate (sender=0xdccc240, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05b53b80) at kernel/qobject.cpp:3547
#10 0x00007fc5e5358be4 in QAbstractItemModel::rowsInserted (this=<optimized out>, _t1=..., _t2=0, _t3=0) at .moc/release-shared/moc_qabstractitemmodel.cpp:197
#11 0x00007fc5e52f3e6a in QAbstractItemModel::endInsertRows (this=0xdccc240) at kernel/qabstractitemmodel.cpp:2433
#12 0x00007fc5e19a46cb in Akonadi::EntityTreeModelPrivate::collectionsFetched (this=0xeb48d70, collections=...) at ../../akonadi/entitytreemodel_p.cpp:477
#13 0x00007fc5e530ef5f in QMetaObject::activate (sender=0xdd0cc80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05b53f70) at kernel/qobject.cpp:3547
#14 0x00007fc5e1958152 in Akonadi::CollectionFetchJob::collectionsReceived (this=this@entry=0xdd0cc80, _t1=...) at ./collectionfetchjob.moc:109
#15 0x00007fc5e195870b in timeout (this=0xceaa220) at ../../akonadi/collectionfetchjob.cpp:76
#16 Akonadi::CollectionFetchJob::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at ./collectionfetchjob.moc:59
#17 0x00007fc5e530ef5f in QMetaObject::activate (sender=0xdd0cc80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff05b540e0) at kernel/qobject.cpp:3547
#18 0x00007fc5e5775f22 in KJob::result (this=this@entry=0xdd0cc80, _t1=_t1@entry=0xdd0cc80) at ./kjob.moc:208
#19 0x00007fc5e5775f60 in KJob::emitResult (this=0xdd0cc80) at ../../kdecore/jobs/kjob.cpp:318
#20 0x00007fc5e530e43e in QObject::event (this=0xdd0cc80, e=<optimized out>) at kernel/qobject.cpp:1195
#21 0x00007fc5e5cdae9c in QApplicationPrivate::notify_helper (this=this@entry=0x210ebe0, receiver=receiver@entry=0xdd0cc80, e=e@entry=0xf0bee00) at kernel/qapplication.cpp:4562
#22 0x00007fc5e5cdf30a in QApplication::notify (this=0x7fff05b54b80, receiver=0xdd0cc80, e=0xf0bee00) at kernel/qapplication.cpp:4423
#23 0x00007fc5e69e31f6 in KApplication::notify (this=0x7fff05b54b80, receiver=0xdd0cc80, event=0xf0bee00) at ../../kdeui/kernel/kapplication.cpp:311
#24 0x00007fc5e52f956e in QCoreApplication::notifyInternal (this=0x7fff05b54b80, receiver=receiver@entry=0xdd0cc80, event=event@entry=0xf0bee00) at kernel/qcoreapplication.cpp:915
#25 0x00007fc5e52fd3f1 in sendEvent (event=0xf0bee00, receiver=0xdd0cc80) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#26 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x20d2380) at kernel/qcoreapplication.cpp:1539
#27 0x00007fc5e5327a63 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#28 postEventSourceDispatch (s=0x2107580) at kernel/qeventdispatcher_glib.cpp:279
#29 0x00007fc5def02ab5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007fc5def02de8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007fc5def02ea4 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007fc5e5327bf6 in QEventDispatcherGlib::processEvents (this=0x20d3c10, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#33 0x00007fc5e5d7fc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#34 0x00007fc5e52f82bf in QEventLoop::processEvents (this=this@entry=0x7fff05b549f0, flags=...) at kernel/qeventloop.cpp:149
#35 0x00007fc5e52f8548 in QEventLoop::exec (this=0x7fff05b549f0, flags=...) at kernel/qeventloop.cpp:204
#36 0x00007fc5e52fd708 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#37 0x0000000000403339 in main (argc=1, argv=0x7fff05b54cc8) at ../../../kontact/src/main.cpp:219

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

Reported using DrKonqi
Comment 1 Samuele Kaplun 2013-01-15 10:18:03 UTC
Note: this bug is there since several 4.x releases.
Comment 2 Samuele Kaplun 2013-01-15 10:20:51 UTC
Additionally note that Nepomuk is fully disabled.
Comment 3 Denis Kurz 2016-09-24 19:25:24 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 4 Denis Kurz 2017-01-07 22:23:43 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.