Bug 332218 - kaddressbook crashes when selecting attached contact (QR code problem)
Summary: kaddressbook crashes when selecting attached contact (QR code problem)
Status: RESOLVED DUPLICATE of bug 283300
Alias: None
Product: kaddressbook
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-03-16 15:56 UTC by Martin Koller
Modified: 2014-03-16 16:41 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
crashing vcf (865 bytes, text/vcard)
2014-03-16 15:57 UTC, Martin Koller
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Koller 2014-03-16 15:56:04 UTC
Application: kaddressbook (4.13 beta2)
KDE Platform Version: 4.12.90 (Compiled from sources)
Qt Version: 4.8.5
Operating System: Linux 3.11.10-7-desktop x86_64
Distribution: "openSUSE 13.1 (Bottle) (x86_64)"

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

I have created a new test contact on my owncloud server containing just greek letters.
kaddressbook fetches it via the DAV resource and shows the contact in the list. However when I select it in the list so that I can see its details, kaddressbook always crashes. It seems to be related to the generation of the QR code.

I attach the vcf file.

The crash can be reproduced every time.

-- Backtrace:
Application: KAddressBook (kaddressbook), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[KCrash Handler]
#6  0x00007f25c4771809 in prison::DataMatrixBarcode::toImage(QSizeF const&) () from /usr/lib64/libprison.so.0
#7  0x00007f25c509e6c6 in Akonadi::ContactViewer::Private::updateView (this=0x1ee6d40, localCustomFieldDescriptions=..., addressBookName=...) at /home/KDE4/source/kdepimlibs/akonadi/contact/contactviewer.cpp:124
#8  0x00007f25c509fade in Akonadi::ContactViewer::Private::slotParentCollectionFetched (this=0x1ee6d40, job=0x1ee6190) at /home/KDE4/source/kdepimlibs/akonadi/contact/contactviewer.cpp:213
#9  0x00007f25c509d551 in Akonadi::ContactViewer::qt_static_metacall (_o=0x1ee1e30, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffc761e690) at /home/KDE4/build/kdepimlibs/akonadi/contact/moc_contactviewer.cpp:78
#10 0x00007f25cb6d3d68 in QMetaObject::activate (sender=0x1ee6190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc761e690) at kernel/qobject.cpp:3556
#11 0x00007f25cbe0ed89 in KJob::result (this=0x1ee6190, _t1=0x1ee6190) at /home/KDE4/build/kdelibs/kdecore/kjob.moc:207
#12 0x00007f25cbe0e261 in KJob::emitResult (this=0x1ee6190) at /home/KDE4/source/kdelibs/kdecore/jobs/kjob.cpp:318
#13 0x00007f25d00bce12 in Akonadi::JobPrivate::delayedEmitResult (this=0x221e1f0) at /home/KDE4/source/kdepimlibs/akonadi/job.cpp:155
#14 0x00007f25d00be06a in Akonadi::Job::qt_static_metacall (_o=0x1ee6190, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x1e6fff0) at /home/KDE4/build/kdepimlibs/akonadi/moc_job.cpp:70
#15 0x00007f25cb6d811e in QObject::event (this=0x1ee6190, e=<optimized out>) at kernel/qobject.cpp:1203
#16 0x00007f25cc63c9ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#17 0x00007f25cc642fb0 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#18 0x00007f25cf78a98f in KApplication::notify (this=0x7fffc761ee10, receiver=0x1ee6190, event=0x2230480) at /home/KDE4/source/kdelibs/kdeui/kernel/kapplication.cpp:311
#19 0x00007f25cb6c00ad in QCoreApplication::notifyInternal (this=0x7fffc761ee10, receiver=receiver@entry=0x1ee6190, event=event@entry=0x2230480) at kernel/qcoreapplication.cpp:949
#20 0x00007f25cb6c30ff in sendEvent (event=0x2230480, receiver=0x1ee6190) at kernel/qcoreapplication.h:231
#21 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x1ce01e0) at kernel/qcoreapplication.cpp:1573
#22 0x00007f25cb6c35a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#23 0x00007f25cb6ed493 in sendPostedEvents () at kernel/qcoreapplication.h:236
#24 postEventSourceDispatch (s=0x1d12e50) at kernel/qeventdispatcher_glib.cpp:280
#25 0x00007f25c2f92316 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#26 0x00007f25c2f92668 in ?? () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f25c2f9270c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f25cb6ecd55 in QEventDispatcherGlib::processEvents (this=0x1d20600, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#29 0x00007f25cc6d9a76 in ?? () from /usr/lib64/libQtGui.so.4
#30 0x00007f25cb6bed0f in QEventLoop::processEvents (this=this@entry=0x7fffc761edc0, flags=...) at kernel/qeventloop.cpp:149
#31 0x00007f25cb6bf005 in QEventLoop::exec (this=this@entry=0x7fffc761edc0, flags=...) at kernel/qeventloop.cpp:204
#32 0x00007f25cb6c413b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#33 0x0000000000405eed in main (argc=1, argv=0x7fffc761efa8) at /home/KDE4/source/kdepim/kaddressbook/main.cpp:73

Reported using DrKonqi
Comment 1 Martin Koller 2014-03-16 15:57:31 UTC
Created attachment 85603 [details]
crashing vcf
Comment 2 Martin Koller 2014-03-16 16:01:08 UTC
I installed libprison debuginfo and the last line is then:
#6  0x00007feafd8cf809 in prison::DataMatrixBarcode::toImage (this=0x13f4b10, size=...) at /usr/src/debug/prison-1.0/lib/prison/datamatrixbarcode.cpp:64
Comment 3 Martin Koller 2014-03-16 16:41:31 UTC
It seems the problem is in libprison and was already fixed 3 years ago with KDE bug 283300

*** This bug has been marked as a duplicate of bug 283300 ***