Bug 245270 - crash when launching ktorrent 4.0.2 (stable)
Summary: crash when launching ktorrent 4.0.2 (stable)
Status: RESOLVED WAITINGFORINFO
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: 2010-07-21 01:55 UTC by Nicolás Adamo
Modified: 2010-07-31 04:58 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 Nicolás Adamo 2010-07-21 01:55:54 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-23-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
a simple sudo make install can make it work again.

The crash can be reproduced every time.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fa9b3a21760 (LWP 2730))]

Thread 14 (Thread 0x7fa9a630d710 (LWP 2732)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa9b0f8bea3 in QMutexPrivate::wait (this=0xcc2d00, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fa9b0f879e5 in QMutex::lock (this=0xcc2bd8) at thread/qmutex.cpp:167
#3  0x00007fa9b35cf4fc in QMutexLocker::relock (this=0xcc2b20) at /usr/include/qt4/QtCore/qmutex.h:120
#4  QMutexLocker (this=0xcc2b20) at /usr/include/qt4/QtCore/qmutex.h:102
#5  utp::UTPServer::wakeUpPollPipes (this=0xcc2b20) at /home/nico/libktorrent-1.0.2/src/utp/utpserver.cpp:500
#6  0x00007fa9b1090a63 in QObject::event (this=0xcc2b20, e=0x7fa9a630cb40) at kernel/qobject.cpp:1212
#7  0x00007fa9b021d22c in QApplicationPrivate::notify_helper (this=0xcc1f90, receiver=0xcc2b20, e=0x7fa9a630cb40) at kernel/qapplication.cpp:4300
#8  0x00007fa9b02236fb in QApplication::notify (this=0x7fff9d689530, receiver=0xcc2b20, e=0x7fa9a630cb40) at kernel/qapplication.cpp:4183
#9  0x0000000000439b1a in kt::App::notify (this=0xcc2d4c, receiver=0x80, event=0x1) at /home/nico/ktorrent-4.0.2/ktorrent/app.cpp:97
#10 0x00007fa9b108106c in QCoreApplication::notifyInternal (this=0x7fff9d689530, receiver=0xcc2b20, event=0x7fa9a630cb40) at kernel/qcoreapplication.cpp:704
#11 0x00007fa9b10add42 in QCoreApplication::sendEvent (this=0x7fa9a004e8d0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#12 QTimerInfoList::activateTimers (this=0x7fa9a004e8d0) at kernel/qeventdispatcher_unix.cpp:603
#13 0x00007fa9b10aa848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#14 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#15 0x00007fa9abc968c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#16 0x00007fa9abc9a748 in ?? () from /lib/libglib-2.0.so.0
#17 0x00007fa9abc9a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#18 0x00007fa9b10aa513 in QEventDispatcherGlib::processEvents (this=0xd9dc10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#19 0x00007fa9b107f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#20 0x00007fa9b107fd6c in QEventLoop::exec (this=0x7fa9a630cdb0, flags=) at kernel/qeventloop.cpp:201
#21 0x00007fa9b0f89d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#22 0x00007fa9b35d3d8e in utp::UTPServerThread::run (this=0xd9dc70) at /home/nico/libktorrent-1.0.2/src/utp/utpserverthread.cpp:44
#23 0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0xd9dc70) at thread/qthread_unix.cpp:248
#24 0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#25 0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#26 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7fa9a5b0c710 (LWP 2733)):
#0  0x00007fa9af60cfe3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fa9b359c2c2 in dht::RPCServerThread::run (this=0xda4740) at /home/nico/libktorrent-1.0.2/src/dht/rpcserver.cpp:107
#2  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0xda4740) at thread/qthread_unix.cpp:248
#3  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7fa9990b8710 (LWP 2739)):
#0  0x00007fa9b0d00a2d in __pthread_mutex_unlock_usercnt (mutex=0x1a94e98) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x1a94e98) at pthread_mutex_unlock.c:290
#2  0x00007fa9abc99ff1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007fa9abc9a318 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fa9abc9a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007fa9b10aa566 in QEventDispatcherGlib::processEvents (this=0x1a94620, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#6  0x00007fa9b107f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#7  0x00007fa9b107fd6c in QEventLoop::exec (this=0x7fa9990b7db0, flags=) at kernel/qeventloop.cpp:201
#8  0x00007fa9b0f89d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007fa9b1060178 in QInotifyFileSystemWatcherEngine::run (this=0x1a93a50) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x1a93a50) at thread/qthread_unix.cpp:248
#11 0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#12 0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7fa98e5b3710 (LWP 2740)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa99385f081 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7fa98ddb2710 (LWP 2741)):
#0  0x00007fa9af607f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa9abc9a4a9 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007fa9abc9a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007fa9b10aa566 in QEventDispatcherGlib::processEvents (this=0x1c10a80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007fa9b107f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007fa9b107fd6c in QEventLoop::exec (this=0x7fa98ddb1d90, flags=) at kernel/qeventloop.cpp:201
#6  0x00007fa9b0f89d59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007fa993abb440 in Phonon::Xine::XineThread::run (this=0x1c8ea50) at ../../xine/xinethread.cpp:143
#8  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x1c8ea50) at thread/qthread_unix.cpp:248
#9  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fa988455710 (LWP 2750)):
#0  0x00007fa98cf823b0 in pa_mainloop_dispatch () from /usr/lib/libpulse.so.0
#1  0x00007fa98cf82818 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#2  0x00007fa98cf828c0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#3  0x00007fa98cf9121b in ?? () from /usr/lib/libpulse.so.0
#4  0x00007fa98cd500e8 in ?? () from /usr/lib/libpulsecommon-0.9.21.so
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fa98c250710 (LWP 2751)):
#0  0x00007fa9af607f83 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=333) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fa98d3ac915 in ?? () from /usr/lib/xine/plugins/1.27/xineplug_ao_out_alsa.so
#2  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7fa98ba4f710 (LWP 2752)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fa99386fe23 in ?? () from /usr/lib/libxine.so.1
#2  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#3  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7fa97e753710 (LWP 2753)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa9b0f8d692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9b0f82a79 in QThreadPoolThread::run (this=0x22be160) at concurrent/qthreadpool.cpp:140
#4  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x22be160) at thread/qthread_unix.cpp:248
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fa97df52710 (LWP 2754)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa9b0f8d692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9b0f82a79 in QThreadPoolThread::run (this=0x22448c0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x22448c0) at thread/qthread_unix.cpp:248
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa97d751710 (LWP 2755)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa9b0f8d692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9b0f82a79 in QThreadPoolThread::run (this=0x22c30a0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x22c30a0) at thread/qthread_unix.cpp:248
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fa97cf50710 (LWP 2756)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa9b0f8d692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9b0f82a79 in QThreadPoolThread::run (this=0x22472e0) at concurrent/qthreadpool.cpp:140
#4  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x22472e0) at thread/qthread_unix.cpp:248
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa97c74f710 (LWP 2757)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007fa9b0f8d692 in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:85
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2243570, time=30000) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fa9b0f82a79 in QThreadPoolThread::run (this=0x2248780) at concurrent/qthreadpool.cpp:140
#4  0x00007fa9b0f8c775 in QThreadPrivate::start (arg=0x2248780) at thread/qthread_unix.cpp:248
#5  0x00007fa9b0cfc9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007fa9af6146fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fa9b3a21760 (LWP 2730)):
[KCrash Handler]
#5  net::Poll::add (this=0x6d6b20, fd=114, mode=net::Poll::INPUT) at /home/nico/libktorrent-1.0.2/src/net/poll.cpp:60
#6  0x00007fa9b3540ce5 in net::Poll::add (this=0x6d6b20, pc=) at /home/nico/libktorrent-1.0.2/src/net/poll.cpp:73
#7  0x00007fa9b35d91c6 in utp::PollPipe::prepare (this=0x3083590, p=<value optimized out>, conn_id=32351, self=) at /home/nico/libktorrent-1.0.2/src/utp/pollpipe.cpp:43
#8  0x00007fa9b35d0add in utp::UTPServer::preparePolling (this=0xcc2b20, p=0x6d6b20, mode=net::Poll::OUTPUT, conn=<value optimized out>) at /home/nico/libktorrent-1.0.2/src/utp/utpserver.cpp:533
#9  0x00007fa9b35d8129 in utp::UTPSocket::prepare (this=0x1b347e0, p=0x6d6b20, mode=net::Poll::OUTPUT) at /home/nico/libktorrent-1.0.2/src/utp/utpsocket.cpp:199
#10 0x00007fa9b3547aff in bt::AuthenticationMonitor::update (this=0x6d6b20) at /home/nico/libktorrent-1.0.2/src/peer/authenticationmonitor.cpp:93
#11 0x000000000042ae7a in kt::Core::update (this=0xd967f0) at /home/nico/ktorrent-4.0.2/ktorrent/core.cpp:1014
#12 0x0000000000433402 in kt::Core::qt_metacall (this=0xd967f0, _c=QMetaObject::InvokeMetaMethod, _id=-3, _a=0x7fff9d688ad0) at /home/nico/ktorrent-4.0.2/build/ktorrent/core.moc:167
#13 0x00007fa9b1093e3f in QMetaObject::activate (sender=0xd96818, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x100000072) at kernel/qobject.cpp:3293
#14 0x00007fa9b1090a63 in QObject::event (this=0xd96818, e=0x7fff9d689200) at kernel/qobject.cpp:1212
#15 0x00007fa9b021d22c in QApplicationPrivate::notify_helper (this=0xcc1f90, receiver=0xd96818, e=0x7fff9d689200) at kernel/qapplication.cpp:4300
#16 0x00007fa9b02236fb in QApplication::notify (this=0x7fff9d689530, receiver=0xd96818, e=0x7fff9d689200) at kernel/qapplication.cpp:4183
#17 0x0000000000439b1a in kt::App::notify (this=0x100000072, receiver=0x72, event=0x0) at /home/nico/ktorrent-4.0.2/ktorrent/app.cpp:97
#18 0x00007fa9b108106c in QCoreApplication::notifyInternal (this=0x7fff9d689530, receiver=0xd96818, event=0x7fff9d689200) at kernel/qcoreapplication.cpp:704
#19 0x00007fa9b10add42 in QCoreApplication::sendEvent (this=0xcc7be0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0xcc7be0) at kernel/qeventdispatcher_unix.cpp:603
#21 0x00007fa9b10aa848 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#23 0x00007fa9abc968c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#24 0x00007fa9abc9a748 in ?? () from /lib/libglib-2.0.so.0
#25 0x00007fa9abc9a8fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#26 0x00007fa9b10aa513 in QEventDispatcherGlib::processEvents (this=0xc8c980, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#27 0x00007fa9b02cd46e in QGuiEventDispatcherGlib::processEvents (this=0x100000072, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#28 0x00007fa9b107f992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#29 0x00007fa9b107fd6c in QEventLoop::exec (this=0x7fff9d6894a0, flags=) at kernel/qeventloop.cpp:201
#30 0x00007fa9b1083aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#31 0x000000000042902b in main (argc=<value optimized out>, argv=<value optimized out>) at /home/nico/ktorrent-4.0.2/ktorrent/main.cpp:176

Reported using DrKonqi
Comment 1 Joris Guisson 2010-07-21 09:54:10 UTC
What do you mean by "a simple sudo make install can make it work again" ?
Comment 2 Nicolás Adamo 2010-07-31 04:58:02 UTC
Sorry about the delay. I mean that reinstalling ktorrent with $ sudo make install makes it stop crashing; so i guess that is something related to the updates. Whenever some dependence is updated, it starts crashing and so I need to reinstall it.