| Summary: | kontact crash while autocompleting cc addess | ||
|---|---|---|---|
| Product: | [Applications] kontact | Reporter: | Andreas K. Huettel <dilfridge> |
| Component: | general | Assignee: | kdepim bugs <pim-bugs-null> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | crash | CC: | balcaen.john, kde, mail, Tanktalus |
| Priority: | NOR | ||
| Version First Reported In: | 4.4.5 | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
*** Bug 246825 has been marked as a duplicate of this bug. *** *** Bug 247383 has been marked as a duplicate of this bug. *** I can confirm here & reproduced all the time with this setup.
I noticed it when mandriva cooker upgrade from kdepim 4.4.3 to kdepim 4.4.5
It was working without problem with KDE SC 4.5.0 and kdepim 4.4.3,at first i thought it was a regression introduced by kdepim 4.4.5 but after a look in my k ressources for kadressbook i noticed that there's was no akonadi ressource available anymore (so probably an upgraded problem)
Adding back the akonadi ressource & removing the default file ressource fix the problem
So an easy way to reproduce is it to :
1) Remove all kaddressbook ressources
2) Add a default file empty ressource like ~/.kde4/share/apps/kabc/std.vcf
3) start kmail
4) ensure that autocompletion is enabled
5) start a new mail
6) notice the crash when using autocompletion of contacts
I may add that even after adding back & putting by default the akonadi ressource, kmail is going to crash until you removed the « empty » file ressource.
(i did not test with a non empty file ressource)
The backtrace again (i think it's the same as the original one)
Program received signal SIGSEGV, Segmentation fault.
0x00007f2da8dca713 in QListData::size (this=0x44891f8) at /usr/lib/qt4/include/QtCore/qlist.h:94
94 inline int size() const { return d->end - d->begin; }
(gdb) bt
#0 0x00007f2da8dca713 in QListData::size (this=0x44891f8) at /usr/lib/qt4/include/QtCore/qlist.h:94
#1 0x00007f2da8e06556 in operator<< <QString> (debug=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at /usr/lib/qt4/include/QtCore/qdebug.h:166
#2 0x00007f2da8dfdde6 in KPIM::AddresseeLineEdit::akonadiHandlePending (this=<value optimized out>) at /usr/src/debug/kdepim-4.4.5/libkdepim/addresseelineedit.cpp:1114
#3 0x00007f2da8dff458 in KPIM::AddresseeLineEdit::slotAkonadiCollectionsReceived (this=0x254bf30, collections=<value optimized out>)
at /usr/src/debug/kdepim-4.4.5/libkdepim/addresseelineedit.cpp:1036
#4 0x00007f2da8e01a21 in KPIM::AddresseeLineEdit::qt_metacall (this=0x254bf30, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffd0874f20)
at /usr/src/debug/kdepim-4.4.5/build/libkdepim/addresseelineedit.moc:109
#5 0x00007f2db0cd0668 in KMLineEdit::qt_metacall (this=0x44891f8, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7f2daf2bfe90)
at /usr/src/debug/kdepim-4.4.5/build/kmail/kmlineeditspell.moc:74
#6 0x00007f2db0d2abc8 in RecipientLineEdit::qt_metacall (this=0x44891f8, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7f2daf2bfe90)
at /usr/src/debug/kdepim-4.4.5/build/kmail/recipientseditor.moc:135
#7 0x00007f2daf965eb7 in QMetaObject::activate (sender=0x44ac290, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f2daf2bfe90) at kernel/qobject.cpp:3272
#8 0x00007f2da71a5972 in Akonadi::CollectionFetchJob::collectionsReceived (this=0x44891f8, _t1=<value optimized out>)
at /usr/src/debug/kdepimlibs-4.5.0/build/akonadi/collectionfetchjob.moc:92
#9 0x00007f2da71a7189 in Akonadi::CollectionFetchJobPrivate::timeout (this=<value optimized out>) at /usr/src/debug/kdepimlibs-4.5.0/akonadi/collectionfetchjob.cpp:64
#10 0x00007f2da71a5a00 in Akonadi::CollectionFetchJob::qt_metacall (this=0x44ac290, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0x7fffd0875080)
at /usr/src/debug/kdepimlibs-4.5.0/build/akonadi/collectionfetchjob.moc:80
#11 0x00007f2daf965eb7 in QMetaObject::activate (sender=0x44ac290, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7f2daf2bfe90) at kernel/qobject.cpp:3272
#12 0x00007f2db14f6142 in KJob::result (this=0x44891f8, _t1=0x44ac290) at /usr/src/debug/kdelibs-4.5.0/build/kdecore/kjob.moc:194
#13 0x00007f2db14f6491 in KJob::emitResult (this=0x44ac290) at /usr/src/debug/kdelibs-4.5.0/kdecore/jobs/kjob.cpp:312
#14 0x00007f2da71ff930 in Akonadi::Job::qt_metacall (this=0x44ac290, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x46a7cc0)
at /usr/src/debug/kdepimlibs-4.5.0/build/akonadi/job.moc:91
#15 0x00007f2da71a59a5 in Akonadi::CollectionFetchJob::qt_metacall (this=0x44891f8, _c=QMetaObject::InvokeMetaMethod, _id=49, _a=0x7f2daf2bfe90)
at /usr/src/debug/kdepimlibs-4.5.0/build/akonadi/collectionfetchjob.moc:73
#16 0x00007f2daf96062e in QObject::event (this=0x44ac290, e=0x44891f8) at kernel/qobject.cpp:1211
#17 0x00007f2dafe32dec in QApplicationPrivate::notify_helper (this=0x1739a80, receiver=0x44ac290, e=0x46a2980) at kernel/qapplication.cpp:4389
#18 0x00007f2dafe38ffd in QApplication::notify (this=0x7fffd0875c80, receiver=0x44ac290, e=0x46a2980) at kernel/qapplication.cpp:4270
#19 0x00007f2db1aad3ae in KApplication::notify (this=0x7fffd0875c80, receiver=0x44ac290, event=0x46a2980) at /usr/src/debug/kdelibs-4.5.0/kdeui/kernel/kapplication.cpp:310
#20 0x00007f2daf94e1ec in QCoreApplication::notifyInternal (this=0x7fffd0875c80, receiver=0x44ac290, event=0x46a2980) at kernel/qcoreapplication.cpp:732
#21 0x00007f2daf951fe2 in sendEvent (receiver=0x0, event_type=<value optimized out>, data=0x16f9170) at kernel/qcoreapplication.h:215
#22 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=<value optimized out>, data=0x16f9170) at kernel/qcoreapplication.cpp:1373
#23 0x00007f2daf97a7b3 in sendPostedEvents (s=0x173d2a0) at kernel/qcoreapplication.h:220
#24 postEventSourceDispatch (s=0x173d2a0) at kernel/qeventdispatcher_glib.cpp:277
#25 0x00007f2da6e61700 in g_main_dispatch (context=0x173c120) at gmain.c:2119
#26 g_main_context_dispatch (context=0x173c120) at gmain.c:2672
#27 0x00007f2da6e65648 in g_main_context_iterate (context=0x173c120, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2750
#28 0x00007f2da6e657fc in g_main_context_iteration (context=0x173c120, may_block=1) at gmain.c:2813
#29 0x00007f2daf97a2f3 in QEventDispatcherGlib::processEvents (this=0x16f89a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00007f2dafee378e in QGuiEventDispatcherGlib::processEvents (this=0x44891f8, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f2daf94cf12 in QEventLoop::processEvents (this=<value optimized out>, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:149
#32 0x00007f2daf94d2fc in QEventLoop::exec (this=0x7fffd0875ac0, flags=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
) at kernel/qeventloop.cpp:201
#33 0x00007f2daf952279 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
the crash is because of this commit : http://websvn.kde.org/branches/KDE/4.4/kdepim/libkdepim/addresseelineedit.cpp?r1=1142734&r2=1148933 *** This bug has been marked as a duplicate of bug 244256 *** |
Application: kontact (4.4.5) KDE Platform Version: 4.4.92 (KDE 4.4.92 (KDE 4.5 RC2)) (Compiled from sources) Qt Version: 4.6.3 Operating System: Linux 2.6.32-gentoo-r7 x86_64 Distribution (Platform): Gentoo Packages -- Information about the crash: - What I was doing when the application crashed: typing in an additional e-mail address as cc for an e-mail. the suggestions drop-down window was displayed for a moment, then kontact crashed. -- Backtrace: Application: Kontact (kontact), signal: Segmentation fault Traceback (most recent call last): File "/usr/share/gdb/auto-load/usr/lib64/libgobject-2.0.so.0.2200.5-gdb.py", line 9, in <module> from gobject import register File "/usr/share/glib-2.0/gdb/gobject.py", line 3, in <module> import gdb.backtrace ImportError: No module named backtrace The current source language is "auto; currently asm". [KCrash Handler] #6 0x00007f31a503f1f1 in QListData::size (this=0x31f4f80) at /usr/include/qt4/QtCore/qlist.h:90 #7 QList<QString>::count (this=0x31f4f80) at /usr/include/qt4/QtCore/qlist.h:261 #8 operator<< <QString> (this=0x31f4f80) at /usr/include/qt4/QtCore/qdebug.h:166 #9 KPIM::AddresseeLineEdit::akonadiHandlePending (this=0x31f4f80) at /var/tmp/portage/kde-base/libkdepim-4.4.5/work/libkdepim-4.4.5/libkdepim/addresseelineedit.cpp:1114 #10 0x00007f31a503fabd in KPIM::AddresseeLineEdit::slotAkonadiCollectionsReceived (this=<value optimized out>, collections=...) at /var/tmp/portage/kde-base/libkdepim-4.4.5/work/libkdepim-4.4.5/libkdepim/addresseelineedit.cpp:1036 #11 0x00007f31a5040ce9 in KPIM::AddresseeLineEdit::qt_metacall (this=0x31f4f80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8fc4b00) at /var/tmp/portage/kde-base/libkdepim-4.4.5/work/libkdepim-4.4.5_build/libkdepim/addresseelineedit.moc:109 #12 0x00007f318ac183d8 in KMLineEdit::qt_metacall (this=0x32d4e00, _c=QMetaObject::InvokeMetaMethod, _id=55139560, _a=0x3574dd2) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5_build/kmail/kmlineeditspell.moc:74 #13 0x00007f318ac86118 in RecipientLineEdit::qt_metacall (this=0x32d4e00, _c=QMetaObject::InvokeMetaMethod, _id=55139560, _a=0x3574dd2) at /var/tmp/portage/kde-base/kmail-4.4.5/work/kmail-4.4.5_build/kmail/recipientseditor.moc:135 #14 0x00007f31a2ee2f36 in QMetaObject::activate (sender=0x28f0b80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3574dd2) at kernel/qobject.cpp:3287 #15 0x00007f31a4a2cc72 in Akonadi::CollectionFetchJob::collectionsReceived (this=0x32d4e00, _t1=<value optimized out>) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92_build/akonadi/collectionfetchjob.moc:92 #16 0x00007f31a4a2cf9c in Akonadi::CollectionFetchJobPrivate::timeout (this=<value optimized out>, _c=<value optimized out>, _id=2, _a=0x7fffa8fc4c50) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92/akonadi/collectionfetchjob.cpp:64 #17 Akonadi::CollectionFetchJob::qt_metacall (this=<value optimized out>, _c=<value optimized out>, _id=2, _a=0x7fffa8fc4c50) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92_build/akonadi/collectionfetchjob.moc:80 #18 0x00007f31a2ee2f36 in QMetaObject::activate (sender=0x28f0b80, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3574dd2) at kernel/qobject.cpp:3287 #19 0x00007f31a3fa2052 in KJob::result (this=0x32d4e00, _t1=0x28f0b80) at /var/tmp/portage/kde-base/kdelibs-4.4.92/work/kdelibs-4.4.92_build/kdecore/kjob.moc:194 #20 0x00007f31a3fa22f0 in KJob::emitResult (this=0x28f0b80) at /var/tmp/portage/kde-base/kdelibs-4.4.92/work/kdelibs-4.4.92/kdecore/jobs/kjob.cpp:312 #21 0x00007f31a4a99c09 in Akonadi::JobPrivate::delayedEmitResult (this=0x28f0b80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8fc4d80) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92/akonadi/job.cpp:143 #22 Akonadi::Job::qt_metacall (this=0x28f0b80, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fffa8fc4d80) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92_build/akonadi/job.moc:91 #23 0x00007f31a4a2cea5 in Akonadi::CollectionFetchJob::qt_metacall (this=0x32d4e00, _c=QMetaObject::InvokeMetaMethod, _id=55139560, _a=0x3574dd2) at /var/tmp/portage/kde-base/kdepimlibs-4.4.92/work/kdepimlibs-4.4.92_build/akonadi/collectionfetchjob.moc:73 #24 0x00007f31a2ee2f36 in QMetaObject::activate (sender=0x3c85060, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x3574dd2) at kernel/qobject.cpp:3287 #25 0x00007f31a2eea38f in QSingleShotTimer::timerEvent (this=0x3c85060) at kernel/qtimer.cpp:308 #26 0x00007f31a2edf7c3 in QObject::event (this=0x3c85060, e=0x0) at kernel/qobject.cpp:1204 #27 0x00007f31a33a22ec in QApplicationPrivate::notify_helper (this=0x1c550d0, receiver=0x3c85060, e=0x7fffa8fc54e0) at kernel/qapplication.cpp:4302 #28 0x00007f31a33a892b in QApplication::notify (this=0x7fffa8fc5840, receiver=0x3c85060, e=0x7fffa8fc54e0) at kernel/qapplication.cpp:4185 #29 0x00007f31a4578e56 in KApplication::notify (this=0x7fffa8fc5840, receiver=0x3c85060, event=0x7fffa8fc54e0) at /var/tmp/portage/kde-base/kdelibs-4.4.92/work/kdelibs-4.4.92/kdeui/kernel/kapplication.cpp:309 #30 0x00007f31a2ecfd3b in QCoreApplication::notifyInternal (this=0x7fffa8fc5840, receiver=0x3c85060, event=0x7fffa8fc54e0) at kernel/qcoreapplication.cpp:726 #31 0x00007f31a2efc6e2 in QCoreApplication::sendEvent (this=0x1c60720) at kernel/qcoreapplication.h:215 #32 QTimerInfoList::activateTimers (this=0x1c60720) at kernel/qeventdispatcher_unix.cpp:603 #33 0x00007f31a2ef95d8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184 #34 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231 #35 0x00007f319b27650d in g_main_dispatch (context=0x1c604e0) at gmain.c:1960 #36 IA__g_main_context_dispatch (context=0x1c604e0) at gmain.c:2513 #37 0x00007f319b279ec8 in g_main_context_iterate (context=0x1c604e0, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at gmain.c:2591 #38 0x00007f319b279ff0 in IA__g_main_context_iteration (context=0x1c604e0, may_block=1) at gmain.c:2654 #39 0x00007f31a2ef92a3 in QEventDispatcherGlib::processEvents (this=0x1c54f50, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412 #40 0x00007f31a3450c5e in QGuiEventDispatcherGlib::processEvents (this=0x32d4e00, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204 #41 0x00007f31a2ece692 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149 #42 0x00007f31a2ecea64 in QEventLoop::exec (this=0x7fffa8fc5780, flags=) at kernel/qeventloop.cpp:201 #43 0x00007f31a2ed36db in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #44 0x0000000000403cb4 in main (argc=<value optimized out>, argv=<value optimized out>) at /var/tmp/portage/kde-base/kontact-4.4.5/work/kontact-4.4.5/kontact/src/main.cpp:224 Reported using DrKonqi