ktorrent crashes randomly on setting a new upload speed in the system tray

Bug #379121 reported by sputnik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ktorrent (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: ktorrent

ktorrent:
  installierte Version: 3.2.1+dfsg.1-0ubuntu3

Ktorrent crashes very often on my system. To verify this try:
On a running ktorrent with some leechers connected to ktorrent try to set a lower upload limit with the right mouse on the ktorrent system tray icon. - On my system ktorrent crashes by chance in around 50% of tries. Ktorrent produces each time a backtrace. I somehow thought to have reported this earlier, but this seems not to be so. My impression is that the demand from the leechers can't be rebalanced quick enough. But that is just a guess. - After restarting ktorrent the program uses the new speed automatically. Here is a backtrace:

Anwendung: KTorrent (ktorrent), Signal SIGSEGV
[Current thread is 0 (LWP 2059)]

Thread 3 (Thread 0xb1e02b90 (LWP 2062)):
#0 0xb8086430 in __kernel_vsyscall ()
#1 0xb65f6c86 in gettimeofday () from /lib/tls/i686/cmov/libc.so.6
#2 0xb7f5ea06 in bt::Now () at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/util/functions.cpp:171
#3 0xb7f71f34 in net::DownloadThread::update (this=0x8b65460) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/downloadthread.cpp:65
#4 0xb7f729f8 in net::NetworkThread::run (this=0x8b65460) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#5 0xb723596e in QThreadPrivate::start (arg=0x8b65460) at thread/qthread_unix.cpp:189
#6 0xb5d374ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7 0xb664c49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb1601b90 (LWP 2063)):
#0 0xb8086430 in __kernel_vsyscall ()
#1 0xb5d3b0e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb665b2ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3 0xb72369b2 in QWaitCondition::wait (this=0x8b65748, mutex=0x8b6574c, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4 0xb7f716be in net::UploadThread::update (this=0x8b65710) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/uploadthread.cpp:73
#5 0xb7f729f8 in net::NetworkThread::run (this=0x8b65710) at /build/buildd/ktorrent-3.2.1+dfsg.1/libbtcore/net/networkthread.cpp:48
#6 0xb723596e in QThreadPrivate::start (arg=0x8b65710) at thread/qthread_unix.cpp:189
#7 0xb5d374ff in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8 0xb664c49e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5840700 (LWP 2059)):
[KCrash Handler]
#6 0xb6da56d2 in QMenu::findIdForAction (this=0xb3729bc8, act=0xb372bb78) at widgets/qmenu.cpp:3157
#7 0xb6da6ead in QMenuPrivate::activateCausedStack (this=0xb3728740, causedStack=@0xbfca0b58, action=0xb372bb78, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:965
#8 0xb6dad76b in QMenuPrivate::activateAction (this=0xb3728740, action=0xb372bb78, action_e=QAction::Trigger, self=<value optimized out>) at widgets/qmenu.cpp:1058
#9 0xb6dae242 in QMenu::mouseReleaseEvent (this=0xb3729bc8, e=0xbfca1198) at widgets/qmenu.cpp:2252
#10 0xb7b29f25 in KMenu::mouseReleaseEvent (this=0xb3729bc8, e=0xbfca1198) at /build/buildd/kde4libs-4.2.3/kdeui/widgets/kmenu.cpp:454
#11 0xb6988b43 in QWidget::event (this=0xb3729bc8, event=0xbfca1198) at kernel/qwidget.cpp:7516
#12 0xb6db0629 in QMenu::event (this=0xb3729bc8, e=0xbfca1198) at widgets/qmenu.cpp:2351
#13 0xb6931e9c in QApplicationPrivate::notify_helper (this=0x8b947c8, receiver=0xb3729bc8, e=0xbfca1198) at kernel/qapplication.cpp:4084
#14 0xb693ab11 in QApplication::notify (this=0xbfca1aac, receiver=0xb3729bc8, e=0xbfca1198) at kernel/qapplication.cpp:3786
#15 0xb7a42e5d in KApplication::notify (this=0xbfca1aac, receiver=0xb3729bc8, event=0xbfca1198) at /build/buildd/kde4libs-4.2.3/kdeui/kernel/kapplication.cpp:307
#16 0xb7329a3b in QCoreApplication::notifyInternal (this=0xbfca1aac, receiver=0xb3729bc8, event=0xbfca1198) at kernel/qcoreapplication.cpp:602
#17 0xb6939b7e in QApplicationPrivate::sendMouseEvent (receiver=0xb3729bc8, event=0xbfca1198, alienWidget=0x0, nativeWidget=0xb3729bc8, buttonDown=0xb71dc200, lastMouseReceiver=@0xb71dc204)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:216
#18 0xb69a9c06 in QETWidget::translateMouseEvent (this=0xb3729bc8, event=0xbfca17dc) at kernel/qapplication_x11.cpp:4359
#19 0xb69a8ca7 in QApplication::x11ProcessEvent (this=0xbfca1aac, event=0xbfca17dc) at kernel/qapplication_x11.cpp:3421
#20 0xb69d3c6a in x11EventSourceDispatch (s=0x8b883a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#21 0xb5c7bb88 in IA__g_main_context_dispatch (context=0x8b87c40) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#22 0xb5c7f0eb in g_main_context_iterate (context=0x8b87c40, block=1, dispatch=1, self=0x8b94420) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#23 0xb5c7f268 in IA__g_main_context_iteration (context=0x8b87c40, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#24 0xb7355438 in QEventDispatcherGlib::processEvents (this=0x8b84e00, flags={i = -1077274216}) at kernel/qeventdispatcher_glib.cpp:323
#25 0xb69d3365 in QGuiEventDispatcherGlib::processEvents (this=0x8b84e00, flags={i = -1077274168}) at kernel/qguieventdispatcher_glib.cpp:202
#26 0xb732806a in QEventLoop::processEvents (this=0xbfca1a40, flags={i = -1077274104}) at kernel/qeventloop.cpp:149
#27 0xb73284aa in QEventLoop::exec (this=0xbfca1a40, flags={i = -1077274040}) at kernel/qeventloop.cpp:200
#28 0xb732a959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#29 0xb6931d17 in QApplication::exec () at kernel/qapplication.cpp:3553
#30 0x08064fa9 in main (argc=5, argv=0xbfca1e34) at /build/buildd/ktorrent-3.2.1+dfsg.1/ktorrent/main.cpp:170

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.