Bug 329901 - Telepathy crashes when I add a new group twice
Summary: Telepathy crashes when I add a new group twice
Status: RESOLVED WORKSFORME
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: 0.7.0
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: Future
Assignee: Telepathy Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-01-13 06:32 UTC by Brallan Aguilar
Modified: 2014-02-27 15:34 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Brallan Aguilar 2014-01-13 06:32:28 UTC
Application: ktp-contactlist (0.7.0)
KDE Platform Version: 4.11.5
Qt Version: 4.8.5
Operating System: Linux 3.12.6-300.fc20.i686 i686
Distribution: "Fedora release 20 (Heisenbug)"

-- Information about the crash:
- What I was doing when the application crashed: In my first time I add succesfully my GTalk account, I create a new group but I didn't see that, so repeated the same process and the crash occured. However, when I run Telepathy again, the group was created well. I perform a new group and another with the same name and the problem no was generated.

-- Backtrace:
Application: KDE Telepathy Contact List (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7  SharedPtr (o=<error reading variable: Cannot access memory at address 0x14>, this=0xbfc02a60) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/shared-ptr.h:108
#8  Tp::Contact::manager (this=this@entry=0x0) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/contact.cpp:345
#9  0x427330b0 in Tp::Contact::addToGroup (this=this@entry=0x0, group=...) at /usr/src/debug/telepathy-qt-0.9.3/TelepathyQt/contact.cpp:911
#10 0x08068d44 in ContextMenu::onCreateNewGroupTriggered (this=0x9789cb8) at /usr/src/debug/ktp-contact-list-0.7.0/context-menu.cpp:500
#11 0x0805f388 in ContextMenu::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/ktp-contact-list-0.7.0/i686-redhat-linux-gnu/moc_context-menu.cpp:93
#12 0x4aeda735 in QMetaObject::activate (sender=sender@entry=0x978c240, m=0x809d4b8, m@entry=0x4c210c18 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbfc02c04) at kernel/qobject.cpp:3547
#13 0x4b86ec2a in QAction::triggered (this=this@entry=0x978c240, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#14 0x4b870a84 in QAction::activate (this=this@entry=0x978c240, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#15 0x4bd41d6d in QMenuPrivate::activateCausedStack (this=0x9c0dc30, causedStack=..., action=0x978c240, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1038
#16 0x4bd472b8 in QMenuPrivate::activateAction (this=this@entry=0x9c0dc30, action=action@entry=0x978c240, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#17 0x4bd4b5ca in QMenu::mouseReleaseEvent (this=0x9d05df0, e=0xbfc03244) at widgets/qmenu.cpp:2372
#18 0x4b8d469b in QWidget::event (this=this@entry=0x9d05df0, event=event@entry=0xbfc03244) at kernel/qwidget.cpp:8376
#19 0x4bd4bb1c in QMenu::event (this=0x9d05df0, e=0xbfc03244) at widgets/qmenu.cpp:2481
#20 0x4b876084 in QApplicationPrivate::notify_helper (this=0x95b41f8, receiver=0x9d05df0, e=0xbfc03244) at kernel/qapplication.cpp:4562
#21 0x4b87ea06 in QApplication::notify (this=0xbfc04488, receiver=0x9d05df0, e=e@entry=0xbfc03244) at kernel/qapplication.cpp:4105
#22 0x41646cd0 in KApplication::notify (this=0xbfc04488, receiver=0x9d05df0, event=0xbfc03244) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#23 0x4aec4a76 in QCoreApplication::notifyInternal (this=0xbfc04488, receiver=receiver@entry=0x9d05df0, event=event@entry=0xbfc03244) at kernel/qcoreapplication.cpp:949
#24 0x4b87c782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../src/corelib/kernel/qcoreapplication.h:231
#25 QApplicationPrivate::sendMouseEvent (receiver=0x9d05df0, event=event@entry=0xbfc03244, alienWidget=0x0, nativeWidget=nativeWidget@entry=0x9d05df0, buttonDown=buttonDown@entry=0x4c22e244 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3173
#26 0x4b902651 in QETWidget::translateMouseEvent (this=0x9d05df0, event=event@entry=0xbfc0345c) at kernel/qapplication_x11.cpp:4472
#27 0x4b900903 in QApplication::x11ProcessEvent (this=0xbfc04488, event=event@entry=0xbfc0345c) at kernel/qapplication_x11.cpp:3661
#28 0x4b92c5eb in x11EventSourceDispatch (s=s@entry=0x95b4070, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#29 0x4a3e6556 in g_main_dispatch (context=0x95b4318) at gmain.c:3066
#30 g_main_context_dispatch (context=context@entry=0x95b4318) at gmain.c:3642
#31 0x4a3e6920 in g_main_context_iterate (context=context@entry=0x95b4318, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#32 0x4a3e69e9 in g_main_context_iteration (context=0x95b4318, may_block=1) at gmain.c:3774
#33 0x4aef6610 in QEventDispatcherGlib::processEvents (this=this@entry=0x950b310, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#34 0x4b92c7ac in QGuiEventDispatcherGlib::processEvents (this=0x950b310, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#35 0x4aec33b0 in QEventLoop::processEvents (this=this@entry=0xbfc03744, flags=...) at kernel/qeventloop.cpp:149
#36 0x4aec3741 in QEventLoop::exec (this=this@entry=0xbfc03744, flags=...) at kernel/qeventloop.cpp:204
#37 0x4bd4a568 in QMenu::exec (this=this@entry=0x9e31fc8, p=..., action=action@entry=0x0) at widgets/qmenu.cpp:2125
#38 0x08079a20 in MainWidget::onCustomContextMenuRequested (this=0x965a408, pos=...) at /usr/src/debug/ktp-contact-list-0.7.0/main-widget.cpp:238
#39 0x0807f357 in MainWidget::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/ktp-contact-list-0.7.0/i686-redhat-linux-gnu/main-widget.moc:96
#40 0x4aeda735 in QMetaObject::activate (sender=sender@entry=0x96dc328, m=0x809d248, m@entry=0x4c211cbc <QWidget::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0xbfc038a4) at kernel/qobject.cpp:3547
#41 0x4b8c4202 in QWidget::customContextMenuRequested (this=0x96dc328, _t1=...) at .moc/release-shared/moc_qwidget.cpp:373
#42 0x4b8d493b in QWidget::event (this=this@entry=0x96dc328, event=event@entry=0xbfc03ed0) at kernel/qwidget.cpp:8557
#43 0x4bcfedad in QFrame::event (this=this@entry=0x96dc328, e=e@entry=0xbfc03ed0) at widgets/qframe.cpp:557
#44 0x4bd95bd0 in QAbstractScrollArea::viewportEvent (this=this@entry=0x96dc328, e=e@entry=0xbfc03ed0) at widgets/qabstractscrollarea.cpp:1043
#45 0x4be423bc in QAbstractItemView::viewportEvent (this=this@entry=0x96dc328, event=0xbfc03ed0) at itemviews/qabstractitemview.cpp:1644
#46 0x4be8b5a2 in QTreeView::viewportEvent (this=0x96dc328, event=0xbfc03ed0) at itemviews/qtreeview.cpp:1252
#47 0x4bd95e76 in viewportEvent (event=0xbfc03ed0, this=<optimized out>) at widgets/qabstractscrollarea_p.h:100
#48 QAbstractScrollAreaFilter::eventFilter (this=0x96d04f0, o=0x96b9210, e=0xbfc03ed0) at widgets/qabstractscrollarea_p.h:116
#49 0x4aec4bee in QCoreApplicationPrivate::sendThroughObjectEventFilters (this=this@entry=0x95b41f8, receiver=receiver@entry=0x96b9210, event=event@entry=0xbfc03ed0) at kernel/qcoreapplication.cpp:1059
#50 0x4b876062 in QApplicationPrivate::notify_helper (this=0x95b41f8, receiver=receiver@entry=0x96b9210, e=0xbfc03ed0) at kernel/qapplication.cpp:4558
#51 0x4b87ee06 in QApplication::notify (this=0xbfc04488, receiver=0x96b9210, e=e@entry=0xbfc03ed0) at kernel/qapplication.cpp:4184
#52 0x41646cd0 in KApplication::notify (this=0xbfc04488, receiver=0x96b9210, event=0xbfc03ed0) at /usr/src/debug/kdelibs-4.11.5/kdeui/kernel/kapplication.cpp:311
#53 0x4aec4a76 in QCoreApplication::notifyInternal (this=0xbfc04488, receiver=receiver@entry=0x96b9210, event=0xbfc03ed0) at kernel/qcoreapplication.cpp:949
#54 0x4b9022ad in sendSpontaneousEvent (event=0xbfc03ed0, receiver=0x96b9210) at ../../src/corelib/kernel/qcoreapplication.h:234
#55 QETWidget::translateMouseEvent (this=0x96b9210, event=event@entry=0xbfc0410c) at kernel/qapplication_x11.cpp:4543
#56 0x4b900903 in QApplication::x11ProcessEvent (this=0xbfc04488, event=event@entry=0xbfc0410c) at kernel/qapplication_x11.cpp:3661
#57 0x4b92c5eb in x11EventSourceDispatch (s=s@entry=0x95b4070, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:148
#58 0x4a3e6556 in g_main_dispatch (context=0x95b4318) at gmain.c:3066
#59 g_main_context_dispatch (context=context@entry=0x95b4318) at gmain.c:3642
#60 0x4a3e6920 in g_main_context_iterate (context=context@entry=0x95b4318, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#61 0x4a3e69e9 in g_main_context_iteration (context=0x95b4318, may_block=1) at gmain.c:3774
#62 0x4aef662f in QEventDispatcherGlib::processEvents (this=this@entry=0x950b310, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#63 0x4b92c7ac in QGuiEventDispatcherGlib::processEvents (this=0x950b310, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#64 0x4aec33b0 in QEventLoop::processEvents (this=this@entry=0xbfc043d4, flags=...) at kernel/qeventloop.cpp:149
#65 0x4aec3741 in QEventLoop::exec (this=this@entry=0xbfc043d4, flags=...) at kernel/qeventloop.cpp:204
#66 0x4aec93fb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#67 0x4b874395 in QApplication::exec () at kernel/qapplication.cpp:3823
#68 0x0805f04d in main (argc=1, argv=0xbfc04564) at /usr/src/debug/ktp-contact-list-0.7.0/main.cpp:63

Reported using DrKonqi
Comment 1 David Edmundson 2014-02-27 15:34:50 UTC
I think this is fixed in 0.8. 

We did a rewrite of the underlying model which affects this.
I can't reproduce here, can you reopen this bug if you can reproduce with 0.7.80 or newer.