Bug 76001

Summary: crash in TelepathyQt/contact.cpp:565 - ContactCapabilities Contact::capabilities()
Product: Telepathy Reporter: Elias Probst <mail>
Component: tp-qtAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: normal    
Priority: medium    
Version: git master   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: backtrace of tp-qt crash

Description Elias Probst 2014-03-10 20:46:36 UTC
Created attachment 95550 [details]
backtrace of tp-qt crash

Using tp-qt (git master, 938509e2) via KDE Telepathy (current git master).

Dragging a contact from KDE Telepathy's 'contact-list' to the Plasma Desktop crashes tp-qt which then crashes the Plasma Desktop.

The crash happens likely in TelepathyQt/contact.cpp:565 - ContactCapabilities Contact::capabilities().

The full backtrace is attached.
Below is a short excerpt of the essential lines:

#6  Tp::Contact::capabilities (this=0x0) at /var/tmp/portage/net-libs/telepathy-qt-9999/work/telepathy-qt-9999/TelepathyQt/contact.cpp:565
#7  0x00007f33301cd81b in KTp::Contact::fileTransferCapability (this=0x20253d0) at /var/tmp/portage/net-im/ktp-common-internals-9999/work/ktp-common-internals-9999/KTp/contact.cpp:102
#8  0x00007f330e7dab7a in ContactWrapper::canSendFile (this=this@entry=0x8a84a10) at /var/tmp/portage/net-im/ktp-desktop-applets-9999/work/ktp-desktop-applets-9999/contact/src/contact-wrapper.cpp:74
#9  0x00007f330e7da78a in ContactWrapper::qt_metacall (this=0x8a84a10, _c=<optimized out>, _id=3, _a=0x7fff48ba9110) at /var/tmp/portage/net-im/ktp-desktop-applets-9999/work/ktp-desktop-applets-9999_build/contact/moc_contact-wrapper.cpp:176
#10 0x00007f33dc68c5cf in QDeclarativeObjectScriptClass::property (this=this@entry=0x82d8de0, obj=<optimized out>, name=@0x7fff48ba91c8: 0x7f330eaa4ce8) at qml/qdeclarativeobjectscriptclass.cpp:296
#11 0x00007f33dc68c7eb in QDeclarativeObjectScriptClass::property (this=0x82d8de0, object=<optimized out>, name=@0x7fff48ba91c8: 0x7f330eaa4ce8) at qml/qdeclarativeobjectscriptclass.cpp:218
#12 0x00007f33d7811160 in QScript::DeclarativeObjectDelegate::getOwnPropertySlot (this=0x7805000, object=0x7f330e386700, exec=0x7f330e3d2048, propertyName=..., slot=...) at bridge/qscriptdeclarativeobject.cpp:76
#13 0x00007f33d76b4c65 in fastGetOwnPropertySlot (slot=..., propertyName=..., exec=0x7f330e3d2048, this=0x7f330e386700) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:382
#14 QTJSC::JSValue::get (this=<optimized out>, exec=0x7f330e3d2048, propertyName=..., slot=...) at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSObject.h:618
#15 0x00007f33d76f315e in QTJSC::cti_op_get_by_id (args=0x7fff48ba92f0) at ../3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp:1373


If you think this is not a tp-qt bug, please close this report and point me (if possible) to the culprit, so I can report this crash again at the right place.
Comment 1 GitLab Migration User 2019-12-03 20:29:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-qt/issues/48.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.