Bug 405776 - Crash in address autocompletion
Summary: Crash in address autocompletion
Status: RESOLVED UPSTREAM
Alias: None
Product: kmail2
Classification: Applications
Component: composer (show other bugs)
Version: Git (master)
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-03-23 09:38 UTC by Antonio Rojas
Modified: 2019-03-25 10:01 UTC (History)
2 users (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 Antonio Rojas 2019-03-23 09:38:11 UTC
SUMMARY
Using 19.04 beta, address autocompletion when composing email crashes, 100% reproducible


#0  0x00007ffff786c9bf in QListWidgetItem::data(int) const () from /usr/lib/libQt5Widgets.so.5
#1  0x00007ffff5356ba4 in QListWidgetItem::setBackground (brush=..., this=0x55555a8f9cb0) at /usr/include/qt/QtWidgets/qlistwidget.h:129
#2  KPIM::AddresseeLineEditPrivate::setCompletedItems (this=0x55555adaa6d0, items=..., autoSuggest=<optimized out>)
    at /usr/src/debug/libkdepim-19.03.80/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp:195
#3  0x00007ffff5358e7e in KPIM::AddresseeLineEditPrivate::doCompletion (this=0x55555adaa6d0, ctrlT=<optimized out>)
    at /usr/src/debug/libkdepim-19.03.80/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp:512
#4  0x00007ffff5359459 in KPIM::AddresseeLineEditPrivate::searchInBaloo (this=0x55555adaa6d0)
    at /usr/src/debug/libkdepim-19.03.80/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp:179
#5  0x00007ffff5359538 in KPIM::AddresseeLineEditPrivate::slotTriggerDelayedQueries (this=0x55555adaa6d0)
    at /usr/src/debug/libkdepim-19.03.80/src/libkdepimakonadi/addressline/addresslineedit/addresseelineedit_p.cpp:397
#6  0x00007ffff6c35500 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/libQt5Core.so.5
#7  0x00007ffff6c413b8 in QTimer::timeout(QTimer::QPrivateSignal) () from /usr/lib/libQt5Core.so.5
#8  0x00007ffff6c35c3b in QObject::event(QEvent*) () from /usr/lib/libQt5Core.so.5
#9  0x00007ffff75caf44 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#10 0x00007ffff75d2731 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#11 0x00007ffff6c0a4c9 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#12 0x00007ffff6c5f9d5 in QTimerInfoList::activateTimers() () from /usr/lib/libQt5Core.so.5
#13 0x00007ffff6c60262 in ?? () from /usr/lib/libQt5Core.so.5
#14 0x00007ffff341b7bf in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#15 0x00007ffff341d739 in ?? () from /usr/lib/libglib-2.0.so.0
#16 0x00007ffff341d77e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#17 0x00007ffff6c60629 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#18 0x00007ffff6c0905c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#19 0x00007ffff6c11456 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#20 0x0000555555558077 in ?? ()
#21 0x00007ffff6653223 in __libc_start_main () from /usr/lib/libc.so.6
#22 0x000055555555823e in ?? ()
Comment 1 Laurent Montel 2019-03-23 13:54:43 UTC
Qt version ?
Comment 2 Antonio Rojas 2019-03-23 14:07:23 UTC
5.13 beta
Comment 3 Laurent Montel 2019-03-23 16:32:07 UTC
It's a qt bug I have the same problem.
I waited that another guy report it.

Now I can create an testcase and I will report it to qt

Thanks
Comment 4 Laurent Montel 2019-03-25 07:15:57 UTC
see https://bugreports.qt.io/browse/QTBUG-74665
I found problem 
I will fix CMakeLists.txt for the moment.
I will commit soon.
I hope that qt guys will find a fix for qt directly
Comment 5 Laurent Montel 2019-03-25 10:01:29 UTC
I removed QT_DISABLE_DEPRECATED_BEFORE=0x060000 for the moment for qt5.13