Bug 192174 - ktorrent crashed with SIGSEGV in QMenu::findIdForAction()
Summary: ktorrent crashed with SIGSEGV in QMenu::findIdForAction()
Status: RESOLVED DUPLICATE of bug 188447
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-09 23:49 UTC by Jonathan Avraham
Modified: 2009-05-10 10:11 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Avraham 2009-05-09 23:49:30 UTC
Version:           3.2.1 (using KDE 4.2.2)
OS:                Linux
Installed from:    Ubuntu Packages

Ktorrent crashed with SIGSEGV after trying to change upload speed from the notification icon context menu.
Using Ubuntu 9.04 with gnome;
Stack trace:

Application: KTorrent (ktorrent), signal SIGSEGV
[Current thread is 0 (LWP 3887)]

Thread 4 (Thread 0xb3944b90 (LWP 4011)):
#0  0xb801e430 in __kernel_vsyscall ()
#1  0xb65f17b1 in select () from /lib/tls/i686/cmov/libc.so.6
#2  0xb72b4380 in QProcessManager::run (this=0x8b17880) at io/qprocess_unix.cpp:305
#3  0xb71e296e in QThreadPrivate::start (arg=0x8b17880) at thread/qthread_unix.cpp:189
#4  0xb5ce54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65f949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb1eb1b90 (LWP 4053)):
#0  0xb7f1dddf in net::DownloadThread::waitForSocketReady (this=0x8af4318, timeout=50) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:157
#1  0xb7f1df09 in net::DownloadThread::update (this=0x8af4318) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:53
#2  0xb7f1e9f8 in net::NetworkThread::run (this=0x8af4318) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#3  0xb71e296e in QThreadPrivate::start (arg=0x8af4318) at thread/qthread_unix.cpp:189
#4  0xb5ce54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb65f949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xaad5bb90 (LWP 4054)):
#0  0xb801e430 in __kernel_vsyscall ()
#1  0xb5ce90e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb66082ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb71e39b2 in QWaitCondition::wait (this=0x8af4600, mutex=0x8af4604, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb7f1d6be in net::UploadThread::update (this=0x8af45c8) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/uploadthread.cpp:73
#5  0xb7f1e9f8 in net::NetworkThread::run (this=0x8af45c8) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#6  0xb71e296e in QThreadPrivate::start (arg=0x8af45c8) at thread/qthread_unix.cpp:189
#7  0xb5ce54ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0xb65f949e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb57ed700 (LWP 3887)):
[KCrash Handler]
#6  0xb6d526d2 in QMenu::findIdForAction (this=0x8d33918, act=0x9782358) at widgets/qmenu.cpp:3157
#7  0xb6d53ead in QMenuPrivate::activateCausedStack (this=0x8d32f40, causedStack=@0xbfd3a1a8, action=0x9782358, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:965
#8  0xb6d5a76b in QMenuPrivate::activateAction (this=0x8d32f40, action=0x9782358, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#9  0xb6d5b242 in QMenu::mouseReleaseEvent (this=0x8d33918, e=0xbfd3a7e8) at widgets/qmenu.cpp:2252
#10 0xb7ad57e5 in KMenu::mouseReleaseEvent (this=0x8d33918, e=0xbfd3a7e8) at /build/buildd/kde4libs-4.2.2/kdeui/widgets/kmenu.cpp:454
#11 0xb6935b43 in QWidget::event (this=0x8d33918, event=0xbfd3a7e8) at kernel/qwidget.cpp:7516
#12 0xb6d5d629 in QMenu::event (this=0x8d33918, e=0xbfd3a7e8) at widgets/qmenu.cpp:2351
#13 0xb68dee9c in QApplicationPrivate::notify_helper (this=0x8b1ef60, receiver=0x8d33918, e=0xbfd3a7e8) at kernel/qapplication.cpp:4084
#14 0xb68e7b11 in QApplication::notify (this=0xbfd3b0fc, receiver=0x8d33918, e=0xbfd3a7e8) at kernel/qapplication.cpp:3786
#15 0xb79ee94d in KApplication::notify (this=0xbfd3b0fc, receiver=0x8d33918, event=0xbfd3a7e8) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#16 0xb72d6a3b in QCoreApplication::notifyInternal (this=0xbfd3b0fc, receiver=0x8d33918, event=0xbfd3a7e8) at kernel/qcoreapplication.cpp:602
#17 0xb68e6b7e in QApplicationPrivate::sendMouseEvent (receiver=0x8d33918, event=0xbfd3a7e8, alienWidget=0x0, nativeWidget=0x8d33918, buttonDown=0xb7189200, lastMouseReceiver=@0xb7189204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#18 0xb6956c06 in QETWidget::translateMouseEvent (this=0x8d33918, event=0xbfd3ae2c) at kernel/qapplication_x11.cpp:4359
#19 0xb6955ca7 in QApplication::x11ProcessEvent (this=0xbfd3b0fc, event=0xbfd3ae2c) at kernel/qapplication_x11.cpp:3421
#20 0xb6980c6a in x11EventSourceDispatch (s=0x8b17308, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0xb5c29b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#22 0xb5c2d0eb in ?? () from /usr/lib/libglib-2.0.so.0
#23 0xb5c2d268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#24 0xb7302438 in QEventDispatcherGlib::processEvents (this=0x8b0bf48, flags={i = -1076645912}) at kernel/qeventdispatcher_glib.cpp:323
#25 0xb6980365 in QGuiEventDispatcherGlib::processEvents (this=0x8b0bf48, flags={i = -1076645864}) at kernel/qguieventdispatcher_glib.cpp:202
#26 0xb72d506a in QEventLoop::processEvents (this=0xbfd3b090, flags={i = -1076645800}) at kernel/qeventloop.cpp:149
#27 0xb72d54aa in QEventLoop::exec (this=0xbfd3b090, flags={i = -1076645736}) at kernel/qeventloop.cpp:200
#28 0xb72d7959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#29 0xb68ded17 in QApplication::exec () at kernel/qapplication.cpp:3553
#30 0x08064fa9 in main (argc=1, argv=0xbfd3b484) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/main.cpp:170
Comment 1 Jonathan Thomas 2009-05-09 23:54:27 UTC
This is a Qt bug that should be fixed in Qt 4.5.1.
Comment 2 Joris Guisson 2009-05-10 10:11:54 UTC
It's a dupe of 188447

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