Bug 376672 - KAddressbook crashes while opening contact details
Summary: KAddressbook crashes while opening contact details
Status: RESOLVED FIXED
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-02-19 15:11 UTC by Michal Kec (MiK)
Modified: 2017-05-09 14:24 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 Michal Kec (MiK) 2017-02-19 15:11:05 UTC
Application: kaddressbook (5.4.2)

Qt Version: 5.7.1
Frameworks Version: 5.31.0
Operating System: Linux 4.4.0-62-generic x86_64
Distribution: KDE neon User Edition 5.9

-- Information about the crash:
When adding/editing a contact, kaddressbook will crash immediately.

Version 5.4.2
KDE Frameworks 5.31.0
Qt 5.7.1 (built against 5.7.1)
The xcb windowing system
KDE Neon 5.9.2 (user edition)

Reproducible: Always

Steps to reproduce:
1. Start kaddressbook
2. Try to edit an existing contact or to create a new one

Actual results: Kadderssbook will immediately crash

Expected results: No crash

Further details:
Crash happens on the desktop PC and in fresh install in Virtualbox as well.
Crash observed since KDE Neon 5.9, it did not happen with KDE Neon 5.8 before.
I believe the bug is not connected with #365944 as the crash happens even with no contact saved. There's also no birthday reminder set.
Also akonadiconsole crashes immediately upon start.

-- Backtrace:
Application: Kniha adres (kaddressbook), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7ff3118899c0 (LWP 4455))]

Thread 7 (Thread 0x7ff2f8e61700 (LWP 4463)):
#0  0x00007ff32eba1a79 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff32eb5c929 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff32eb5d2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff32eb5d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff336ed375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff336e7e0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff336cadf64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff336cb2b48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007ff3305ad6ba in start_thread (arg=0x7ff2f8e61700) at pthread_create.c:333
#9  0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7ff300b73700 (LWP 4461)):
#0  0x00007ff33639db5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007ff32eb5d38c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff32eb5d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff336ed375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#4  0x00007ff336e7e0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff336cadf64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff336cb2b48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff3305ad6ba in start_thread (arg=0x7ff300b73700) at pthread_create.c:333
#8  0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7ff301d84700 (LWP 4460)):
#0  0x00007ff32eb5a3ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007ff32eb5c8bb in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff32eb5d2bb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff32eb5d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff336ed375b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007ff336e7e0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007ff336cadf64 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ff339831735 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007ff336cb2b48 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff3305ad6ba in start_thread (arg=0x7ff301d84700) at pthread_create.c:333
#10 0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7ff302c54700 (LWP 4459)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3079723d3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ff307972237 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ff3305ad6ba in start_thread (arg=0x7ff302c54700) at pthread_create.c:333
#4  0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7ff303455700 (LWP 4458)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3079723d3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ff307972237 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ff3305ad6ba in start_thread (arg=0x7ff303455700) at pthread_create.c:333
#4  0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7ff303c56700 (LWP 4457)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007ff3079723d3 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007ff307972237 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007ff3305ad6ba in start_thread (arg=0x7ff303c56700) at pthread_create.c:333
#4  0x00007ff3363a982d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7ff3118899c0 (LWP 4455)):
[KCrash Handler]
#6  0x00007ff3362d8428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007ff3362da02a in __GI_abort () at abort.c:89
#8  0x00007ff336c99811 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff326d56ea6 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#10 0x00007ff326d5241d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#11 0x00007ff326d53fa5 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#12 0x00007ff326d4469e in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#13 0x00007ff326d4754e in QtWebEngineCore::WebContentsAdapter::WebContentsAdapter(content::WebContents*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineCore.so.5
#14 0x00007ff339742fb1 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#15 0x00007ff339743b84 in QWebEnginePage::QWebEnginePage(QObject*) () from /usr/lib/x86_64-linux-gnu/libQt5WebEngineWidgets.so.5
#16 0x00007ff3347d411e in Akonadi::AddressesLocationEnginePage::AddressesLocationEnginePage (this=0xf124c0, parent=<optimized out>) at /workspace/build/src/editor/addresseditor/webengine/addresseslocationenginepage.cpp:28
#17 0x00007ff3347d2ddf in Akonadi::AddressesLocationEngineViewer::AddressesLocationEngineViewer (this=0xf09940, parent=<optimized out>) at /workspace/build/src/editor/addresseditor/webengine/addresseslocationengineviewer.cpp:39
#18 0x00007ff3347dd5ae in Akonadi::AddressesLocationWidget::AddressesLocationWidget (this=0xe8be30, parent=<optimized out>) at /workspace/build/src/editor/addresseditor/addresseslocationwidget.cpp:35
#19 0x00007ff334859182 in ContactEditorWidget::Private::initGuiLocationTab (this=this@entry=0xdeb390) at /workspace/build/src/editor/contacteditorwidget.cpp:116
#20 0x00007ff33485a4d6 in ContactEditorWidget::Private::initGui (this=0xdeb390) at /workspace/build/src/editor/contacteditorwidget.cpp:98
#21 0x00007ff33485a628 in ContactEditorWidget::ContactEditorWidget (this=0xdeb140, displayMode=ContactEditorWidget::FullMode, parent=<optimized out>) at /workspace/build/src/editor/contacteditorwidget.cpp:202
#22 0x00007ff33480f623 in Akonadi::ContactEditor::Private::Private (parent=0xde8590, editorWidget=0x0, displayMode=Akonadi::ContactEditor::FullMode, mode=<optimized out>, this=0xdeafb0) at /workspace/build/src/contacteditor.cpp:59
#23 Akonadi::ContactEditor::ContactEditor (this=0xde8590, mode=<optimized out>, displayMode=Akonadi::ContactEditor::FullMode, parent=<optimized out>) at /workspace/build/src/contacteditor.cpp:219
#24 0x00007ff334812a21 in Akonadi::ContactEditorDialog::Private::Private (this=0xd58c10, mode=Akonadi::ContactEditorDialog::CreateMode, displaymode=Akonadi::ContactEditorDialog::FullMode, editorWidget=0x0, parent=<optimized out>) at /workspace/build/src/contacteditordialog.cpp:68
#25 0x00007ff334811bdb in Akonadi::ContactEditorDialog::ContactEditorDialog (this=0xde8810, mode=Akonadi::ContactEditorDialog::CreateMode, parent=<optimized out>) at /workspace/build/src/contacteditordialog.cpp:140
#26 0x00007ff334839c79 in Akonadi::StandardContactActionManager::Private::slotCreateContact (this=0xca0490) at /workspace/build/src/standardcontactactionmanager.cpp:456
#27 Akonadi::StandardContactActionManager::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /workspace/build/obj-x86_64-linux-gnu/src/moc_standardcontactactionmanager.cpp:93
#28 0x00007ff336eaae89 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#29 0x00007ff337758552 in QAction::triggered(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#30 0x00007ff33775aec0 in QAction::activate(QAction::ActionEvent) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#31 0x00007ff3378479b0 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#32 0x00007ff337847ae4 in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#33 0x00007ff33791275a in QToolButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#34 0x00007ff3377a5f38 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#35 0x00007ff337912839 in QToolButton::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#36 0x00007ff33775eecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#37 0x00007ff337767165 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#38 0x00007ff336e800c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#39 0x00007ff337765e8f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#40 0x00007ff3377c0236 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#41 0x00007ff3377c2c83 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#42 0x00007ff33775eecc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#43 0x00007ff3377668c6 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#44 0x00007ff336e800c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#45 0x00007ff3371c35a0 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#46 0x00007ff3371c54a5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#47 0x00007ff3371a332b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5
#48 0x00007ff3114e2270 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#49 0x00007ff32eb5d197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007ff32eb5d3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007ff32eb5d49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007ff336ed373f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#53 0x00007ff336e7e0ba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#54 0x00007ff336e866cc in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#55 0x0000000000405f52 in main (argc=1, argv=0x7fff7d2f3d08) at /workspace/build/src/main.cpp:88

Possible duplicates by query: bug 375284, bug 364721, bug 364342, bug 362635, bug 362228.

Reported using DrKonqi
Comment 1 Michal Kec (MiK) 2017-05-09 14:24:53 UTC
I can see this fixed in kaddressbook 5.5.0.

Thank you for your attention.