Bug 350524 - Kontact[kaddressbook] crashes when trying to send vCards of multiple contacts
Summary: Kontact[kaddressbook] crashes when trying to send vCards of multiple contacts
Status: RESOLVED FIXED
Alias: None
Product: kontact
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-07-22 21:20 UTC by Alexander Potashev
Modified: 2015-07-23 05:00 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 Alexander Potashev 2015-07-22 21:20:44 UTC
Application: kontact (4.81 beta1)

Qt Version: 5.4.2
Operating System: Linux 3.10.17-gentoo x86_64
Distribution: "NAME=Gentoo"

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

1. Start Kontact,
2. Go to the address book plugin,
3. Add an address book, for example Google Contacts,
4. Select two contacts from the list and choose "Send vCards..." in the context menu. Kontact crashes immediately after clicking this menu item.

The crash can be reproduced every time.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f644c8c67c0 (LWP 15053))]

Thread 4 (Thread 0x7f6448aca700 (LWP 15055)):
#0  0x00007f645c4a37ed in poll () from /lib64/libc.so.6
#1  0x00007f6453ee4944 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f6453ee4a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f645d21597b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007f645d1c0d4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007f645d0142cc in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007f645d0195e6 in QThreadPrivate::start(void*) () from /usr/lib64/libQt5Core.so.5
#7  0x00007f645c04d204 in start_thread () from /lib64/libpthread.so.0
#8  0x00007f645c4ac3dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f64035d5700 (LWP 15056)):
#0  0x00007f645c05154f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f6467a6e089 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007f646763ed85 in JSC::BlockAllocator::blockFreeingThreadMain() () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007f6467a6daa6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQt5WebKit.so.5
#4  0x00007f645c04d204 in start_thread () from /lib64/libpthread.so.0
#5  0x00007f645c4ac3dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f6402db5700 (LWP 15057)):
#0  0x00007f645c05154f in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00007f6467a6e089 in WTF::ThreadCondition::wait(WTF::Mutex&) () from /usr/lib64/libQt5WebKit.so.5
#2  0x00007f64676403e3 in JSC::GCThread::waitForNextPhase() () from /usr/lib64/libQt5WebKit.so.5
#3  0x00007f64676404a0 in JSC::GCThread::gcThreadMain() () from /usr/lib64/libQt5WebKit.so.5
#4  0x00007f6467a6daa6 in WTF::wtfThreadEntryPoint(void*) () from /usr/lib64/libQt5WebKit.so.5
#5  0x00007f645c04d204 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f645c4ac3dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f644c8c67c0 (LWP 15053)):
[KCrash Handler]
#5  0x00007f645d0a261b in QString::operator==(QLatin1String) const () from /usr/lib64/libQt5Core.so.5
#6  0x00007f6460185121 in KToolInvocation::invokeMailer(QString const&, QString const&, QString const&, QString const&, QString const&, QString const&, QStringList const&, QByteArray const&) () from /usr/lib64/libKF5Service.so.5
#7  0x00007f63ee3b4d26 in KABSendVCards::SendVcardsJob::jobFinished() () from /usr/lib64/libkaddressbookprivate.so.5
#8  0x00007f63ee3b49a4 in KABSendVCards::SendVcardsJob::start() () from /usr/lib64/libkaddressbookprivate.so.5
#9  0x00007f63ee356658 in MainWidget::slotSendVcards() () from /usr/lib64/libkaddressbookprivate.so.5
#10 0x00007f63ee612486 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (MainWidget::*)()>::call(void (MainWidget::*)(), MainWidget*, void**) () from /usr/lib64/qt5/plugins/kaddressbookpart.so
#11 0x00007f63ee612376 in void QtPrivate::FunctionPointer<void (MainWidget::*)()>::call<QtPrivate::List<>, void>(void (MainWidget::*)(), MainWidget*, void**) () from /usr/lib64/qt5/plugins/kaddressbookpart.so
#12 0x00007f63ee61222b in QtPrivate::QSlotObject<void (MainWidget::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) () from /usr/lib64/qt5/plugins/kaddressbookpart.so
#13 0x00007f645d1ef003 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#14 0x00007f645da3adb2 in QAction::triggered(bool) () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007f645da3d908 in QAction::activate(QAction::ActionEvent) () from /usr/lib64/libQt5Widgets.so.5
#16 0x00007f645dba206a in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007f645dba6e04 in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/libQt5Widgets.so.5
#18 0x00007f645dbab10a in QMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#19 0x00007f645da8a0d2 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007f645dbab89b in QMenu::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007f645da444bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007f645da49d6b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007f645d1c285d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#24 0x00007f645da489fa in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007f645daa0e97 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#26 0x00007f645daa3213 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007f645da444bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#28 0x00007f645da49578 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007f645d1c285d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#30 0x00007f645d4fa7e2 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#31 0x00007f645d4fc0c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#32 0x00007f645d4e3448 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#33 0x00007f644c4ffcd0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#34 0x00007f6453ee4764 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#35 0x00007f6453ee49a8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f6453ee4a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f645d21595c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#38 0x00007f645d1c0d4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#39 0x00007f645dbaa214 in QMenu::exec(QPoint const&, QAction*) () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007f64631e448b in Akonadi::EntityTreeView::contextMenuEvent(QContextMenuEvent*) () from /usr/lib64/libKF5AkonadiWidgets.so.5
#41 0x00007f645da8a4e5 in QWidget::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#42 0x00007f645db679ee in QFrame::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#43 0x00007f645dc8a45b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#44 0x00007f645dcc7ef0 in QTreeView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#45 0x00007f645d1c2a83 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#46 0x00007f645da44495 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#47 0x00007f645da4ac5e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#48 0x00007f645d1c285d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#49 0x00007f645daa11a7 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /usr/lib64/libQt5Widgets.so.5
#50 0x00007f645daa3213 in QWidgetWindow::event(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#51 0x00007f645da444bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#52 0x00007f645da49578 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#53 0x00007f645d1c285d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#54 0x00007f645d4fa7e2 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#55 0x00007f645d4fc0c5 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#56 0x00007f645d4e3448 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#57 0x00007f644c4ffcd0 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt5/plugins/platforms/libqxcb.so
#58 0x00007f6453ee4764 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f6453ee49a8 in g_main_context_iterate.isra () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f6453ee4a4c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f645d21595c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#62 0x00007f645d1c0d4b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#63 0x00007f645d1c8276 in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#64 0x0000000000407fe5 in main ()

Reported using DrKonqi
Comment 1 Laurent Montel 2015-07-23 05:00:56 UTC
update framework/kservice