Bug 294020

Summary: Contact list crashes when left clicking outside the window
Product: [Unmaintained] telepathy Reporter: Rohan Garg <rohan>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: amrecio, ch, heri+kde, mklapetek, rohan
Priority: NOR    
Version: 0.3.0   
Target Milestone: 0.4.0   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Rohan Garg 2012-02-13 20:48:36 UTC
Application: ktp-contactlist (0.3)
KDE Platform Version: 4.8.00 (4.8.0)
Qt Version: 4.8.0
Operating System: Linux 3.2.0-15-generic x86_64
Distribution: Ubuntu precise (development branch)

-- Information about the crash:
- What I was doing when the application crashed:
Right Clicking on the status and then left clicking outside the window

- Unusual behavior I noticed:
Contact list crashed

- Custom settings of the application:
None

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Telepathy Contact List (ktp-contactlist), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#6  0x00007fe78f073da1 in QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy) () from /opt/project-neon/lib/libQtGui.so.4
#7  0x00007fe78f512958 in QComboBox::contextMenuEvent(QContextMenuEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#8  0x00007fe78f076d09 in QWidget::event(QEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#9  0x00007fe78f511a7a in QComboBox::event(QEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#10 0x000000000043cf93 in GlobalPresenceChooser::event (this=0x2477b00, e=0x7fff7dcb90b0) at /home/shadeslayer/kde/telepathy/ktp-contact-list/global-presence-chooser.cpp:293
#11 0x00007fe78f011aaa in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#12 0x00007fe78f010126 in QApplication::notify(QObject*, QEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#13 0x00007fe7914f79b3 in KApplication::notify(QObject*, QEvent*) () from /opt/project-neon/lib/libkdeui.so.5
#14 0x00007fe79075d16e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /opt/project-neon/lib/libQtCore.so.4
#15 0x00007fe78f0142b5 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#16 0x00007fe78f0b20ba in ?? () from /opt/project-neon/lib/libQtGui.so.4
#17 0x00007fe78f0ae7ac in QApplication::x11ProcessEvent(_XEvent*) () from /opt/project-neon/lib/libQtGui.so.4
#18 0x00007fe78f0ea222 in ?? () from /opt/project-neon/lib/libQtGui.so.4
#19 0x00007fe78ad4dbca in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fe78ad4df90 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fe78ad4e054 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fe79079933f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#23 0x00007fe78f0ea5dc in ?? () from /opt/project-neon/lib/libQtGui.so.4
#24 0x00007fe79075aa38 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#25 0x00007fe79075abc2 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /opt/project-neon/lib/libQtCore.so.4
#26 0x00007fe79075d7ee in QCoreApplication::exec() () from /opt/project-neon/lib/libQtCore.so.4
#27 0x00007fe78f00ecb2 in QApplication::exec() () from /opt/project-neon/lib/libQtGui.so.4
#28 0x0000000000436c23 in main (argc=1, argv=0x7fff7dcba828) at /home/shadeslayer/kde/telepathy/ktp-contact-list/main.cpp:62

Reported using DrKonqi
Comment 1 Alvaro Manuel Recio Perez 2012-02-15 16:49:07 UTC
Created attachment 68827 [details]
New crash information added by DrKonqi

ktp-contactlist (0.3) on KDE Platform 4.8.00 (4.8.0 using Qt 4.7.4

- What I was doing when the application crashed:

I left clicked on the account status dropbox and then closed the menu by clicking near it.

-- Backtrace (Reduced):
#6  0x00007f9376934600 in QWidget::setContextMenuPolicy(Qt::ContextMenuPolicy) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#7  0x00007f9376943a50 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#8  0x00000000004358dc in GlobalPresenceChooser::event (this=0x13267a0, e=0x7fff4a34b5e0) at /build/buildd/ktp-contact-list-0.3.0/global-presence-chooser.cpp:293
#9  0x00007f93768f3474 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#10 0x00007f93768f87c9 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
Comment 2 Martin Klapetek 2012-03-07 11:31:30 UTC
Can you please retry it with latest git? I changed the code around there and can't reproduce this anymore. Please reopen this bug if it still happens, thanks.
Comment 3 Martin Klapetek 2012-05-04 14:57:27 UTC
*** Bug 298226 has been marked as a duplicate of this bug. ***
Comment 4 Rohan Garg 2012-05-04 15:26:39 UTC
Seems to be fixed in latest git. Thanks!
Comment 5 Martin Klapetek 2012-05-17 09:19:14 UTC
*** Bug 300179 has been marked as a duplicate of this bug. ***