Bug 274160 - cl crashes when video button pushed
Summary: cl crashes when video button pushed
Status: RESOLVED FIXED
Alias: None
Product: telepathy
Classification: Unmaintained
Component: contactlist (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: 0.4.0
Assignee: Telepathy Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-26 01:27 UTC by Alin M Elena
Modified: 2012-07-06 12:47 UTC (History)
0 users

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 Alin M Elena 2011-05-26 01:27:03 UTC
Application: telepathy-kde-contactlist (0.1)
KDE Platform Version: 4.6.80 (4.7 Beta1) "release 2"
Qt Version: 4.7.3
Operating System: Linux 2.6.38-4-desktop x86_64
Distribution: "openSUSE 12.1 Milestone 0 (x86_64)"

-- Information about the crash:
choose a contact that claims to support video chat...
click on video... voila le crash...

The crash can be reproduced every time.

-- Backtrace:
Application: Telepathy KDE Contact List (telepathy-kde-contactlist), signal: Segmentation fault
[KCrash Handler]
#6  0x00007fa21bf3ff11 in Tp::DBusProxy::dbusConnection() const () from /usr/lib64/libtelepathy-qt4.so.1
#7  0x00007fa21bf6be6b in ?? () from /usr/lib64/libtelepathy-qt4.so.1
#8  0x00007fa21be53e1a in Tp::Account::ensureStreamedMediaVideoCall(Tp::SharedPtr<Tp::Contact> const&, bool, QDateTime const&, QString const&, Tp::ChannelRequestHints const&) () from /usr/lib64/libtelepathy-qt4.so.1
#9  0x00007fa21be53ecf in Tp::Account::ensureStreamedMediaVideoCall(Tp::SharedPtr<Tp::Contact> const&, bool, QDateTime, QString const&) () from /usr/lib64/libtelepathy-qt4.so.1
#10 0x000000000042d353 in startVideoChannel (index=<optimized out>, this=0x822e70) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/main-widget.cpp:570
#11 MainWidget::startVideoChannel (this=0x822e70, index=<optimized out>) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/main-widget.cpp:555
#12 0x0000000000435a77 in MainWidget::qt_metacall (this=0x822e70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4f132cb0) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/build/main-widget.moc:181
#13 0x00007fa21a5c6a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#14 0x000000000041c630 in VideoChannelContactOverlay::activated (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/build/contact-overlays.moc:240
#15 0x000000000041c67a in VideoChannelContactOverlay::slotClicked (this=0x8680e0, checked=<optimized out>) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/contact-overlays.cpp:318
#16 0x000000000041c6fc in VideoChannelContactOverlay::qt_metacall (this=0x8680e0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff4f132df0) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/build/contact-overlays.moc:228
#17 0x00007fa21a5c6a6a in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib64/libQtCore.so.4
#18 0x00007fa219ff0252 in QAbstractButton::clicked(bool) () from /usr/lib64/libQtGui.so.4
#19 0x00007fa219d3817e in ?? () from /usr/lib64/libQtGui.so.4
#20 0x00007fa219d394bb in ?? () from /usr/lib64/libQtGui.so.4
#21 0x00007fa219d3972c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib64/libQtGui.so.4
#22 0x00007fa2199d93e6 in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4
#23 0x00007fa219988de4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#24 0x00007fa21998e56b in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#25 0x00007fa21b972176 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#26 0x00007fa21a5b3cbc in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#27 0x00007fa219989db2 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib64/libQtGui.so.4
#28 0x00007fa219a05ac5 in ?? () from /usr/lib64/libQtGui.so.4
#29 0x00007fa219a0499a in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib64/libQtGui.so.4
#30 0x00007fa219a2be62 in ?? () from /usr/lib64/libQtGui.so.4
#31 0x00007fa214ca864d in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#32 0x00007fa214ca8e28 in ?? () from /lib64/libglib-2.0.so.0
#33 0x00007fa214ca90b9 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#34 0x00007fa21a5dea5f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#35 0x00007fa219a2baee in ?? () from /usr/lib64/libQtGui.so.4
#36 0x00007fa21a5b2ec2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#37 0x00007fa21a5b30bf in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#38 0x00007fa21a5b72b7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#39 0x000000000041801e in main (argc=1, argv=0x7fff4f134688) at /usr/src/debug/telepathy-contact-list-0.1git.1306230155/main.cpp:60

Reported using DrKonqi
Comment 1 David Edmundson 2011-05-28 15:34:05 UTC
Git commit 11619254779d3c3ea56b254316fe19f86b3c6312 by David Edmundson.
Committed on 27/05/2011 at 16:57.
Pushed by davidedmundson into branch 'master'.

Replace passing round QModelIndexes with ContactModelItem* this fixes various crashes when using proxy models.

Reviewed by Martin Klapetek

BUG: 274148
BUG: 274160
REVIEW: 101448

M  +4    -26   accounts-model.cpp     
M  +3    -3    accounts-model.h     
M  +17   -4    contact-overlays.cpp     
M  +6    -9    contact-overlays.h     
M  +56   -88   main-widget.cpp     
M  +5    -4    main-widget.h     

http://commits.kde.org/telepathy-contact-list/11619254779d3c3ea56b254316fe19f86b3c6312