Application: ktorrent (4.0.3) KDE Platform Version: 4.4.4 (KDE 4.4.4) "release 3" Qt Version: 4.6.3 Operating System: Linux 2.6.34.7-0.7-default i686 Distribution: "openSUSE 11.3 (i586)" -- Information about the crash: crash of Ktorrent at starting under my account but under root works great i don't know why ?! The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault [Current thread is 1 (Thread 0xb4ad8710 (LWP 11736))] Thread 6 (Thread 0xb31d6b70 (LWP 11738)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5c570b1 in select () from /lib/libc.so.6 #2 0xb76df8ba in dht::RPCServerThread::run (this=0x81f0448) at /usr/src/debug/libktorrent-1.0.3/src/dht/rpcserver.cpp:107 #3 0xb693404f in ?? () from /usr/lib/libQtCore.so.4 #4 0xb68b9b25 in start_thread () from /lib/libpthread.so.0 #5 0xb5c5e46e in clone () from /lib/libc.so.6 Thread 5 (Thread 0xad7aeb70 (LWP 11740)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb68be452 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xaeac11d7 in metronom_sync_loop () from /usr/lib/libxine.so.1 #3 0xb68b9b25 in start_thread () from /lib/libpthread.so.0 #4 0xb5c5e46e in clone () from /lib/libc.so.6 Thread 4 (Thread 0xacfadb70 (LWP 11741)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5c5375e in poll () from /lib/libc.so.6 #2 0xb51e41db in g_poll () from /usr/lib/libglib-2.0.so.0 #3 0xb51d4286 in ?? () from /usr/lib/libglib-2.0.so.0 #4 0xb51d460e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #5 0xb6a59d97 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0xb6a2d11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0xb6a2d319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #8 0xb6931403 in QThread::exec() () from /usr/lib/libQtCore.so.4 #9 0xaeb1adc8 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #10 0xb693404f in ?? () from /usr/lib/libQtCore.so.4 #11 0xb68b9b25 in start_thread () from /lib/libpthread.so.0 #12 0xb5c5e46e in clone () from /lib/libc.so.6 Thread 3 (Thread 0xac7acb70 (LWP 11744)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb5c5375e in poll () from /lib/libc.so.6 #2 0xae81f04c in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.29/xineplug_ao_out_alsa.so #3 0xb68b9b25 in start_thread () from /lib/libpthread.so.0 #4 0xb5c5e46e in clone () from /lib/libc.so.6 Thread 2 (Thread 0xabfabb70 (LWP 11745)): #0 0xffffe430 in __kernel_vsyscall () #1 0xb68be125 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #2 0xaead4180 in ao_loop () from /usr/lib/libxine.so.1 #3 0xb68b9b25 in start_thread () from /lib/libpthread.so.0 #4 0xb5c5e46e in clone () from /lib/libc.so.6 Thread 1 (Thread 0xb4ad8710 (LWP 11736)): [KCrash Handler] #6 net::Poll::add (this=0x81135e0, fd=79, mode=net::Poll::OUTPUT) at /usr/src/debug/libktorrent-1.0.3/src/net/poll.cpp:60 #7 0xb767d6a7 in net::Socket::prepare (this=0x8cb78d8, p=0x81135e0, mode=net::Poll::OUTPUT) at /usr/src/debug/libktorrent-1.0.3/src/net/socket.cpp:458 #8 0xb768bc7b in bt::AuthenticationMonitor::update (this=0x81135e0) at /usr/src/debug/libktorrent-1.0.3/src/peer/authenticationmonitor.cpp:93 #9 0x0806c1bb in kt::Core::update (this=0x82309c0) at /usr/src/debug/ktorrent-4.0.3/ktorrent/core.cpp:1021 #10 0x08073ade in kt::Core::qt_metacall (this=0x82309c0, _c=QMetaObject::InvokeMetaMethod, _id=12, _a=0xbfc27f5c) at /usr/src/debug/ktorrent-4.0.3/build/ktorrent/core.moc:167 #11 0xb6a33efd in QMetaObject::metacall(QObject*, QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #12 0xb6a42fe8 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0xb6a8fa35 in QTimer::timeout() () from /usr/lib/libQtCore.so.4 #14 0xb6a488e6 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib/libQtCore.so.4 #15 0xb6a40774 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #16 0xb5f66c64 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #17 0xb5f6ebf7 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #18 0x0807a517 in kt::App::notify (this=0xbfc287c0, receiver=0x82309d4, event=0xbfc28470) at /usr/src/debug/ktorrent-4.0.3/ktorrent/app.cpp:97 #19 0xb6a2de0e in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #20 0xb6a5c70e in ?? () from /usr/lib/libQtCore.so.4 #21 0xb6a59675 in ?? () from /usr/lib/libQtCore.so.4 #22 0xb51d3b49 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #23 0xb51d4350 in ?? () from /usr/lib/libglib-2.0.so.0 #24 0xb51d460e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #25 0xb6a59d4b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #26 0xb601719a in ?? () from /usr/lib/libQtGui.so.4 #27 0xb6a2d11d in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #28 0xb6a2d319 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #29 0xb6a31c70 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #30 0xb5f64164 in QApplication::exec() () from /usr/lib/libQtGui.so.4 #31 0x08069741 in main (argc=) at /usr/src/debug/ktorrent-4.0.3/ktorrent/main.cpp:176 Possible duplicates by query: bug 238647, bug 238646, bug 236190. Reported using DrKonqi
Would it be possible to run under valgrind ? valgrind --log-file=vg.log --num-callers=50 /usr/bin/ktorrent --nofork Post the vg.log file here. Note that running under valgrind is slow.