Bug 196655 - ktorrent 3.2.1 crashes when setting max upload/download speed
Summary: ktorrent 3.2.1 crashes when setting max upload/download speed
Status: RESOLVED DUPLICATE of bug 188447
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-15 20:23 UTC by Guillermo Belli
Modified: 2009-06-15 21:46 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 Guillermo Belli 2009-06-15 20:23:43 UTC
Application that crashed: ktorrent
Version of the application: 3.2.1
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.0
Operating System: Linux 2.6.30 x86_64
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
When setting upload or download speed limits via system tray, ktorrent crashes. Happens every time.

I'm using Kubuntu 9.04 AMD64, with KDE 4.3 beta2.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 0 (LWP 5995)]

Thread 3 (Thread 0x7fda3c334950 (LWP 6013)):
#0  0x00007fda4e97c85a in net::DownloadThread::waitForSocketReady (this=0x1ac01b0, timeout=<value optimized out>) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:157
#1  0x00007fda4e97c94c in net::DownloadThread::update (this=0x7fda4ec41580) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:53
#2  0x00007fda4e97d399 in net::NetworkThread::run (this=0x1ac01b0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#3  0x00007fda4c4de952 in QThreadPrivate::start (arg=0x1ac01b0) at thread/qthread_unix.cpp:189
#4  0x00007fda474443ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007fda4adfdfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fda3bb33950 (LWP 6014)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fda4c4df939 in QWaitCondition::wait (this=0x1ac0b38, mutex=0x1ac0b40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  0x00007fda4e97c254 in net::UploadThread::update (this=0x1ac0ad0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/uploadthread.cpp:73
#3  0x00007fda4e97d399 in net::NetworkThread::run (this=0x1ac0ad0) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#4  0x00007fda4c4de952 in QThreadPrivate::start (arg=0x1ac0ad0) at thread/qthread_unix.cpp:189
#5  0x00007fda474443ba in start_thread (arg=<value optimized out>) at pthread_create.c:297
#6  0x00007fda4adfdfcd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fda4ee45750 (LWP 5995)):
[KCrash Handler]
#5  0x00007fda4be323ce in QMenu::findIdForAction (this=0x1c02e30, act=0x1bffc50) at widgets/qmenu.cpp:3157
#6  0x00007fda4be338db in QMenuPrivate::activateCausedStack (this=0x1c02e90, causedStack=@0x7fff0b844580, action=0x1bffc50, action_e=QAction::Trigger, self=144) at widgets/qmenu.cpp:965
#7  0x00007fda4be39a0e in QMenuPrivate::activateAction (this=0x1c02e90, action=0x1bffc50, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1058
#8  0x00007fda4dc60501 in KMenu::mouseReleaseEvent (this=0x1c02e30, e=0x7fff0b844f20) at /build/buildd/kde4libs-4.2.90/kdeui/widgets/kmenu.cpp:456
#9  0x00007fda4ba5b8cf in QWidget::event (this=0x1c02e30, event=0x7fff0b844f20) at kernel/qwidget.cpp:7516
#10 0x00007fda4be3c1cb in QMenu::event (this=0x1c02e30, e=0x7fff0b844f20) at widgets/qmenu.cpp:2351
#11 0x00007fda4ba0a78d in QApplicationPrivate::notify_helper (this=0x1b03730, receiver=0x1c02e30, e=0x7fff0b844f20) at kernel/qapplication.cpp:4084
#12 0x00007fda4ba130da in QApplication::notify (this=<value optimized out>, receiver=0x1c02e30, e=0x7fff0b844f20) at kernel/qapplication.cpp:3786
#13 0x00007fda4db8d06b in KApplication::notify (this=0x7fff0b845e30, receiver=0x1c02e30, event=0x7fff0b844f20) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#14 0x00007fda4c5c775c in QCoreApplication::notifyInternal (this=0x7fff0b845e30, receiver=0x1c02e30, event=0x7fff0b844f20) at kernel/qcoreapplication.cpp:602
#15 0x00007fda4ba12328 in QApplicationPrivate::sendMouseEvent (receiver=0x1c02e30, event=0x7fff0b844f20, alienWidget=0x0, nativeWidget=0x1c02e30, buttonDown=<value optimized out>, 
    lastMouseReceiver=@0x7fda4c46eeb0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#16 0x00007fda4ba7bfd4 in QETWidget::translateMouseEvent (this=0x1c02e30, event=<value optimized out>) at kernel/qapplication_x11.cpp:4359
#17 0x00007fda4ba7aa88 in QApplication::x11ProcessEvent (this=0x7fff0b845e30, event=0x7fff0b845a60) at kernel/qapplication_x11.cpp:3543
#18 0x00007fda4baa3464 in x11EventSourceDispatch (s=0x1af6060, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#19 0x00007fda4677820a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#20 0x00007fda4677b8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007fda4677ba7c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#22 0x00007fda4c5f0e6f in QEventDispatcherGlib::processEvents (this=0x1abcd10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:323
#23 0x00007fda4baa2bef in QGuiEventDispatcherGlib::processEvents (this=0x1c02e30, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007fda4c5c6002 in QEventLoop::processEvents (this=<value optimized out>, flags={i = 193224016}) at kernel/qeventloop.cpp:149
#25 0x00007fda4c5c63cd in QEventLoop::exec (this=0x7fff0b845d90, flags={i = 193224096}) at kernel/qeventloop.cpp:200
#26 0x00007fda4c5c8694 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#27 0x0000000000424023 in main (argc=5, argv=0x7fff0b846a88) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/main.cpp:170

This bug may be a duplicate of or related to bug 188447

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-15 21:46:21 UTC
This is fixed when using Qt4.5.1. Thanks

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