Bug 248645

Summary: Ktorrent 4 crashes on freeBSD 8.1 with one running torrent
Product: [Applications] ktorrent Reporter: Keren Sky <keren_sky>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: FreeBSD   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Keren Sky 2010-08-22 01:25:03 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.5.00 (KDE 4.5.0) (Compiled from sources)
Qt Version: 4.7.0
Operating System: FreeBSD 8.1-RELEASE i386
Distribution (Platform): FreeBSD Ports

-- Information about the crash:
- What I was doing when the application crashed: I had just booted up freebsd 8.1. I start kdm manually by running /usr/local/kde4/bin/kdm . I hve the Kmenu in classic mode. I started ktorrent via the menu. ktorrent hase 2 completed stopped torrents and 1 running torrent.

- Unusual behavior I noticed: The desktop effects were not active when I logged in. I had to manually start the effects via the alt+shift+f12 shortcut. Ktorrent 4 has been stated to crash in the past  when I close it by clicking quit or via crtl+q , but the backtrace is labled as not being useful, so I didn't report those crashes.

- Custom settings of the application: I have uTP enabled.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault: 11
[Current thread is 1 (Thread 2e55c600 (LWP 100207))]

Thread 9 (Thread 2c101140 (LWP 100098)):
#0  0x2a23c227 in __error () from /lib/libthr.so.3
#1  0x2a23be08 in __error () from /lib/libthr.so.3
#2  0x33267b20 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000001 in ?? ()
#5  0x33267b00 in ?? ()
#6  0xbfbfdf2c in ?? ()
#7  0x2a341b78 in ?? () from /lib/libc.so.7
#8  0x2c119000 in ?? ()
#9  0x2a23a76f in pthread_setcancelstate () from /lib/libthr.so.3
#10 0x2a23a00e in pthread_cond_signal () from /lib/libthr.so.3
#11 0x293545fe in thread_sleep () from /usr/local/lib/qt4/libQtCore.so.4
#12 0x2935472b in QThread::msleep () from /usr/local/lib/qt4/libQtCore.so.4
#13 0x333f7cdf in Phonon::Xine::Backend::~Backend () from /usr/local/kde4/lib/kde4/plugins/phonon_backend/phonon_xine.so
#14 0x2ad8677a in Phonon::FactoryPrivate::~FactoryPrivate () from /usr/local/kde4/lib/libphonon.so.4
#15 0x2ad85985 in QHash<int, QHashDummyValue>::deleteNode2 () from /usr/local/kde4/lib/libphonon.so.4
#16 0x2ad85948 in QHash<int, QHashDummyValue>::deleteNode2 () from /usr/local/kde4/lib/libphonon.so.4
#17 0x2a30b9a7 in __cxa_finalize () from /lib/libc.so.7
#18 0x2a2b494a in exit () from /lib/libc.so.7
#19 0x297ffcfb in qt_xio_errhandler () from /usr/local/lib/qt4/libQtGui.so.4
#20 0x2899f4aa in KApplication::xioErrhandler () from /usr/local/kde4/lib/libkdeui.so.7
#21 0x2899f4e6 in KApplication::xioErrhandler () from /usr/local/kde4/lib/libkdeui.so.7
#22 0x2abf1646 in _XIOError () from /usr/local/lib/libX11.so.6
#23 0x2abf89dd in process_responses () from /usr/local/lib/libX11.so.6
#24 0x2abf9270 in _XEventsQueued () from /usr/local/lib/libX11.so.6
#25 0x2abe261f in XEventsQueued () from /usr/local/lib/libX11.so.6
#26 0x2983b0ba in x11EventSourcePrepare () from /usr/local/lib/qt4/libQtGui.so.4
#27 0x2ae32631 in g_main_context_prepare () from /usr/local/lib/libglib-2.0.so.0
#28 0x2ae32eda in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0
#29 0x2ae337c5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#30 0x2948f48b in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#31 0x2983b195 in QGuiEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtGui.so.4
#32 0x2945dfb3 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#33 0x2945e24a in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
#34 0x29460356 in QCoreApplication::exec () from /usr/local/lib/qt4/libQtCore.so.4
#35 0x2977cb77 in QApplication::exec () from /usr/local/lib/qt4/libQtGui.so.4
#36 0x08068538 in ?? ()
#37 0x08064917 in ?? ()
#38 0x00000005 in ?? ()
#39 0xbfbfe794 in ?? ()
#40 0xbfbfe7ac in ?? ()
#41 0xbfbfe780 in ?? ()
#42 0xbfbfe790 in ?? ()
#43 0x00000000 in ?? ()
#44 0xbfbfe78c in ?? ()
#45 0x08064885 in ?? ()
#46 0x28109f40 in dlclose () from /libexec/ld-elf.so.1

Thread 8 (Thread 2c3b0240 (LWP 100183)):
[KCrash Handler]
#7  0x29784046 in QApplication::notify () from /usr/local/lib/qt4/libQtGui.so.4
#8  0x0807b137 in std::_Rb_tree<QString, std::pair<QString const, kt::Group*>, std::_Select1st<std::pair<QString const, kt::Group*> >, std::less<QString>, std::allocator<std::pair<QString const, kt::Group*> > >::find ()
#9  0x2945eddb in QCoreApplication::notifyInternal () from /usr/local/lib/qt4/libQtCore.so.4
#10 0x2946006f in QCoreApplicationPrivate::sendPostedEvents () from /usr/local/lib/qt4/libQtCore.so.4
#11 0x2946028d in QCoreApplication::sendPostedEvents () from /usr/local/lib/qt4/libQtCore.so.4
#12 0x2948f06f in postEventSourceDispatch () from /usr/local/lib/qt4/libQtCore.so.4
#13 0x2ae2f957 in g_main_context_dispatch () from /usr/local/lib/libglib-2.0.so.0
#14 0x2ae3319e in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0
#15 0x2ae337c5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#16 0x2948f48b in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#17 0x2945dfb3 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#18 0x2945e24a in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
#19 0x29351f5d in QThread::exec () from /usr/local/lib/qt4/libQtCore.so.4
#20 0x28253b5e in utp::UTPServerThread::run () from /usr/local/kde4/lib/libktorrent.so.2
#21 0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#22 0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#23 0x00000000 in ?? ()

Thread 7 (Thread 2c3b0100 (LWP 100184)):
#0  0x2a32f523 in select () from /lib/libc.so.7
#1  0x2a233a20 in select () from /lib/libthr.so.3
#2  0x282156f6 in std::_Rb_tree<unsigned char, std::pair<unsigned char const, dht::RPCCall*>, std::_Select1st<std::pair<unsigned char const, dht::RPCCall*> >, std::less<unsigned char>, std::allocator<std::pair<unsigned char const, dht::RPCCall*> > >::_M_insert_unique () from /usr/local/kde4/lib/libktorrent.so.2
#3  0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#4  0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#5  0x00000000 in ?? ()

Thread 6 (Thread 33089940 (LWP 100154)):
#0  0x2a23c227 in __error () from /lib/libthr.so.3
#1  0x2a23be08 in __error () from /lib/libthr.so.3
#2  0x332308e0 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000001 in ?? ()
#5  0x332308c0 in ?? ()
#6  0xbf1f6f2c in ?? ()
#7  0xbf1f6ed4 in ?? ()
#8  0x2a236205 in pthread_rwlock_unlock () from /lib/libthr.so.3
#9  0x2a23a00e in pthread_cond_signal () from /lib/libthr.so.3
#10 0x33447663 in metronom_sync_loop () from /usr/local/lib/libxine.so

Thread 5 (Thread 33089580 (LWP 100201)):
#0  0x2a2d5b1f in poll () from /lib/libc.so.7
#1  0x2a233c82 in poll () from /lib/libthr.so.3
#2  0x2ae3ffdb in g_poll () from /usr/local/lib/libglib-2.0.so.0
#3  0x2ae331bd in g_main_context_check () from /usr/local/lib/libglib-2.0.so.0
#4  0x2ae337c5 in g_main_context_iteration () from /usr/local/lib/libglib-2.0.so.0
#5  0x2948f4a7 in QEventDispatcherGlib::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#6  0x2945dfb3 in QEventLoop::processEvents () from /usr/local/lib/qt4/libQtCore.so.4
#7  0x2945e24a in QEventLoop::exec () from /usr/local/lib/qt4/libQtCore.so.4
#8  0x29351f5d in QThread::exec () from /usr/local/lib/qt4/libQtCore.so.4
#9  0x333c0dfa in Phonon::Xine::XineThread::run () from /usr/local/kde4/lib/kde4/plugins/phonon_backend/phonon_xine.so
#10 0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#11 0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#12 0x00000000 in ?? ()

Thread 4 (Thread 33089300 (LWP 100202)):
#0  0x2a23c227 in __error () from /lib/libthr.so.3
#1  0x2a23be08 in __error () from /lib/libthr.so.3
#2  0x332670a0 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000001 in ?? ()
#5  0x33267080 in ?? ()
#6  0x00000000 in ?? ()
#7  0x00000000 in ?? ()
#8  0x00000000 in ?? ()
#9  0x2a23a76f in pthread_setcancelstate () from /lib/libthr.so.3
#10 0x2a23a00e in pthread_cond_signal () from /lib/libthr.so.3
#11 0x33457138 in ao_loop () from /usr/local/lib/libxine.so
#12 0x00000000 in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000000 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000000 in ?? ()
#18 0x00000000 in ?? ()
#19 0x00000000 in ?? ()
#20 0x00000000 in ?? ()
#21 0x00000000 in ?? ()
#22 0x00000000 in ?? ()
#23 0x0811bc90 in KDialog::staticMetaObject ()
#24 0x0811bc90 in KDialog::staticMetaObject ()
#25 0x0811bc90 in KDialog::staticMetaObject ()
#26 0x33282f90 in ?? ()
#27 0x33282f8c in ?? ()
#28 0x00000000 in ?? ()
#29 0x00000000 in ?? ()
#30 0x00000000 in ?? ()
#31 0x00000000 in ?? ()
#32 0x00000000 in ?? ()
#33 0x00000000 in ?? ()
#34 0x00000000 in ?? ()
#35 0x00000000 in ?? ()
#36 0x00000000 in ?? ()
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0x00000000 in ?? ()
#40 0x00000000 in ?? ()
#41 0x00000000 in ?? ()
#42 0x00000000 in ?? ()
#43 0x2a23a62f in pthread_setcancelstate () from /lib/libthr.so.3

Thread 3 (Thread 2c3aa480 (LWP 100205)):
#0  0x2a31ea73 in gettimeofday () from /lib/libc.so.7
#1  0x2818996d in bt::Now () from /usr/local/kde4/lib/libktorrent.so.2
#2  0x281a2e2a in std::_Rb_tree<unsigned int, std::pair<unsigned int const, net::SocketGroup*>, std::_Select1st<std::pair<unsigned int const, net::SocketGroup*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, net::SocketGroup*> > >::find () from /usr/local/kde4/lib/libktorrent.so.2
#3  0x281a30e8 in std::_Rb_tree<unsigned int, std::pair<unsigned int const, net::SocketGroup*>, std::_Select1st<std::pair<unsigned int const, net::SocketGroup*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, net::SocketGroup*> > >::find () from /usr/local/kde4/lib/libktorrent.so.2
#4  0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#5  0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#6  0xbf5fafec in ?? ()

Thread 2 (Thread 2c3aa340 (LWP 100206)):
#0  0x2a23c227 in __error () from /lib/libthr.so.3
#1  0x2a23be08 in __error () from /lib/libthr.so.3
#2  0x376fc520 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000001 in ?? ()
#5  0x376fc500 in ?? ()
#6  0xbf5fae4c in ?? ()
#7  0x2a341b78 in ?? () from /lib/libc.so.7
#8  0x373aee00 in ?? ()
#9  0x2a23a76f in pthread_setcancelstate () from /lib/libthr.so.3
#10 0x2a23a00e in pthread_cond_signal () from /lib/libthr.so.3
#11 0x293545fe in thread_sleep () from /usr/local/lib/qt4/libQtCore.so.4
#12 0x2935472b in QThread::msleep () from /usr/local/lib/qt4/libQtCore.so.4
#13 0x281a2525 in std::_List_base<net::BufferedSocket*, std::allocator<net::BufferedSocket*> >::_M_clear () from /usr/local/kde4/lib/libktorrent.so.2
#14 0x281a30e8 in std::_Rb_tree<unsigned int, std::pair<unsigned int const, net::SocketGroup*>, std::_Select1st<std::pair<unsigned int const, net::SocketGroup*> >, std::less<unsigned int>, std::allocator<std::pair<unsigned int const, net::SocketGroup*> > >::find () from /usr/local/kde4/lib/libktorrent.so.2
#15 0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#16 0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#17 0xbf4f9fec in ?? ()

Thread 1 (Thread 2e55c600 (LWP 100207)):
#0  0x2a23c227 in __error () from /lib/libthr.so.3
#1  0x2a23be08 in __error () from /lib/libthr.so.3
#2  0x37394aa0 in ?? ()
#3  0x00000008 in ?? ()
#4  0x00000001 in ?? ()
#5  0x37394a80 in ?? ()
#6  0x00000000 in ?? ()
#7  0x2a341b78 in ?? () from /lib/libc.so.7
#8  0x2a2373d0 in pthread_mutex_timedlock () from /lib/libthr.so.3
#9  0x2a23a00e in pthread_cond_signal () from /lib/libthr.so.3
#10 0x29355a36 in QWaitCondition::wait () from /usr/local/lib/qt4/libQtCore.so.4
#11 0x281a6e5d in net::WakeUpPipe::WakeUpPipe () from /usr/local/kde4/lib/libktorrent.so.2
#12 0x29354ed8 in QThreadPrivate::start () from /usr/local/lib/qt4/libQtCore.so.4
#13 0x2a23175f in pthread_getprio () from /lib/libthr.so.3
#14 0xbf2f7fec in ?? ()

Reported using DrKonqi
Comment 1 Joris Guisson 2010-09-16 19:57:20 UTC

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