Bug 212254 - KTorrent crashed while adding torrents
Summary: KTorrent crashed while adding torrents
Status: RESOLVED DUPLICATE of bug 191589
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-10-29 03:06 UTC by Daniel Lin
Modified: 2009-10-29 14:06 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 Daniel Lin 2009-10-29 03:06:26 UTC
Application that crashed: ktorrent
Version of the application: 3.3rc1
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.3
Operating System: Linux 2.6.31-gentoo-r2 x86_64

What I was doing when the application crashed:
I used "qdbus org.ktorrent.ktorrent /core load" to load several torrents in short succession.

The "where do you want to download to?" dialogs were very slow in appearing and unresponsive once they did.  After finally clicking ok to all of them, KTorrent crashed.

 -- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
The current source language is "auto; currently c".
[Current thread is 1 (Thread 0x7fe32fddb740 (LWP 13469))]

Thread 10 (Thread 0x7fe31e148910 (LWP 13475)):
#0  0x00007fe32c3ce6f2 in select () from /lib/libc.so.6
#1  0x00007fe32f97f888 in dht::RPCServerThread::run (this=0x23b21e0) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/dht/rpcserver.cpp:107
#2  0x00007fe32db71d44 in QThreadPrivate::start (arg=0x23b21e0) at thread/qthread_unix.cpp:188
#3  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#4  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7fe31e949910 (LWP 13503)):
#0  QThreadData::current () at thread/qthread_unix.cpp:106
#1  0x00007fe32dc69191 in postEventSourcePrepare (s=0x30a7a20, timeout=0x7fe31e948e04) at kernel/qeventdispatcher_glib.cpp:187
#2  0x00007fe3285ed1a2 in IA__g_main_context_prepare (context=0x30a7fd0, priority=0x7fe31e948e84) at gmain.c:2144
#3  0x00007fe3285ed539 in g_main_context_iterate (context=0x30a7fd0, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2435
#4  0x00007fe3285ed9fe in IA__g_main_context_iteration (context=0x30a7fd0, may_block=1) at gmain.c:2518
#5  0x00007fe32dc68e0e in QEventDispatcherGlib::processEvents (this=0x30a7b40, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:330
#6  0x00007fe32dc429f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fe32dc42b9c in QEventLoop::exec (this=0x7fe31e948f90, flags=...) at kernel/qeventloop.cpp:197
#8  0x00007fe32db6f20c in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#9  0x00007fe32dc2a641 in QInotifyFileSystemWatcherEngine::run (this=0x311e7f0) at io/qfilesystemwatcher_inotify.cpp:214
#10 0x00007fe32db71d44 in QThreadPrivate::start (arg=0x311e7f0) at thread/qthread_unix.cpp:188
#11 0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#12 0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7fe30e3c5910 (LWP 13513)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fe313cea1c1 in metronom_sync_loop (this=0x3372680) at metronom.c:870
#2  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#3  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()
The current source language is "auto; currently c++".

Thread 7 (Thread 0x7fe30c87a910 (LWP 13517)):
#0  0x00007fe32c3cc369 in *__GI___poll (fds=0x32eaee0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe3285ed721 in g_main_context_poll (context=0x3377790, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2768
#2  g_main_context_iterate (context=0x3377790, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2450
#3  0x00007fe3285ed9fe in IA__g_main_context_iteration (context=0x3377790, may_block=1) at gmain.c:2518
#4  0x00007fe32dc68e0e in QEventDispatcherGlib::processEvents (this=0x3377570, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:330
#5  0x00007fe32dc429f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe32dc42b9c in QEventLoop::exec (this=0x7fe30c879f80, flags=...) at kernel/qeventloop.cpp:197
#7  0x00007fe32db6f20c in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#8  0x00007fe313f41e8c in Phonon::Xine::XineThread::run (this=0x32ec9c0) at /var/tmp/paludis/media-sound-phonon-4.4_pre20090520/work/phonon-4.4_pre20090520/xine/xinethread.cpp:143
#9  0x00007fe32db71d44 in QThreadPrivate::start (arg=0x32ec9c0) at thread/qthread_unix.cpp:188
#10 0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#11 0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 6 (Thread 0x7fe30c079910 (LWP 13534)):
#0  0x00007fe32c3cc369 in *__GI___poll (fds=0x339fe30, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe30d7abc4f in poll_func (ufds=0x339fe30, nfds=2, timeout=-1, userdata=0x339cb80) at pulse/thread-mainloop.c:75
#2  0x00007fe30d79bf93 in pa_mainloop_poll (m=0x339cc00) at pulse/mainloop.c:879
#3  0x00007fe30d79d3ad in pa_mainloop_iterate (m=0x339cc00, block=<value optimized out>, retval=0x0) at pulse/mainloop.c:961
#4  0x00007fe30d79d470 in pa_mainloop_run (m=0x339cc00, retval=0x0) at pulse/mainloop.c:979
#5  0x00007fe30d7aba56 in thread (userdata=0x3376600) at pulse/thread-mainloop.c:94
#6  0x00007fe30d56a5c7 in internal_thread_func (userdata=0x339cd80) at pulsecore/thread-posix.c:72
#7  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#8  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#9  0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 5 (Thread 0x7fe307877910 (LWP 13572)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fe313cf8290 in fifo_peek_int (fifo=0x33a4680, blocking=1) at audio_out.c:348
#2  0x00007fe313cf9c6c in fifo_peek (this_gen=<value optimized out>) at audio_out.c:388
#3  ao_loop (this_gen=<value optimized out>) at audio_out.c:1015
#4  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#5  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe2fd688910 (LWP 13603)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:220
#1  0x00007fe32db7165b in thread_sleep (ti=0x7fe2fd687f70) at thread/qthread_unix.cpp:297
#2  0x00007fe32db717ae in QThread::msleep (msecs=50) at thread/qthread_unix.cpp:323
#3  0x00007fe32f92689d in net::DownloadThread::update (this=0x236fe60) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/downloadthread.cpp:110
#4  0x00007fe32f927129 in net::NetworkThread::run (this=0x236fe60) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/networkthread.cpp:48
#5  0x00007fe32db71d44 in QThreadPrivate::start (arg=0x236fe60) at thread/qthread_unix.cpp:188
#6  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 3 (Thread 0x7fe2fce87910 (LWP 13604)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:261
#1  0x00007fe32db72a99 in QWaitConditionPrivate::wait (this=0x23707d8, mutex=0x23707e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=0x23707d8, mutex=0x23707e0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007fe32f925ff3 in net::UploadThread::update (this=0x2370770) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/uploadthread.cpp:73
#4  0x00007fe32f927129 in net::NetworkThread::run (this=0x2370770) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/networkthread.cpp:48
#5  0x00007fe32db71d44 in QThreadPrivate::start (arg=0x2370770) at thread/qthread_unix.cpp:188
#6  0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#7  0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe2fc686910 (LWP 13606)):
#0  0x00007fe32c3c837b in read () from /lib/libc.so.6
#1  0x00007fe32c373378 in _IO_new_file_underflow (fp=0x7fe3180d23f0) at fileops.c:598
#2  0x00007fe32c374b6e in _IO_default_uflow (fp=0x4) at genops.c:440
#3  0x00007fe32c368f1b in _IO_getline_info (fp=0x7fe3180d23f0, buf=0x7fe2fc685260 "-15 Timeout reached\n", n=255, delim=10, extract_delim=1, eof=0x0) at iogetline.c:74
#4  0x00007fe32c367bef in _IO_fgets (buf=0x7fe2fc685260 "-15 Timeout reached\n", n=256, fp=0x7fe3180d23f0) at iofgets.c:58
#5  0x00007fe2fb481ff5 in fgets (af=<value optimized out>, data=<value optimized out>, name=0x7fe2fc6854b0 "\220Vh\374\342\177", name_len=256) at /usr/include/bits/stdio2.h:255
#6  avahi_resolve_address (af=<value optimized out>, data=<value optimized out>, name=0x7fe2fc6854b0 "\220Vh\374\342\177", name_len=256) at avahi.c:138
#7  0x00007fe2fb482488 in _nss_mdns_gethostbyaddr_r (addr=0x6cf8b54, len=<value optimized out>, af=2, result=0x7fe2fc685ce0, buffer=0x7fe2fc685690 "\206o\307\005", buflen=1024, 
    errnop=0x7fe2fc6868a8, h_errnop=0x7fe2fc685d1c) at nss.c:640
#8  0x00007fe32c3ec050 in __gethostbyaddr_r (addr=0x6cf8b54, len=4, type=2, resbuf=0x7fe2fc685ce0, buffer=0x7fe2fc685690 "\206o\307\005", buflen=1024, result=0x7fe2fc685d10, h_errnop=0x7fe2fc685d1c)
    at ../nss/getXXbyYY_r.c:253
#9  0x00007fe32c3f44c5 in *__GI_getnameinfo (sa=0x6cf8b50, addrlen=<value optimized out>, host=0x7fe2fc685e40 "", hostlen=199, serv=0x7fe2fc685d70 "", servlen=<value optimized out>, 
    flags=<value optimized out>) at getnameinfo.c:223
#10 0x00007fe32f929aae in net::ReverseResolver::resolve (this=<value optimized out>, addr=...) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/reverseresolver.cpp:61
#11 0x00007fe32f929b19 in net::ReverseResolver::run (this=0x6d022b0) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/reverseresolver.cpp:70
#12 0x00007fe32f929c38 in net::ReverseResolverThread::run (this=0x7fe318003110) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/libbtcore/net/reverseresolver.cpp:115
#13 0x00007fe32db71d44 in QThreadPrivate::start (arg=0x7fe318003110) at thread/qthread_unix.cpp:188
#14 0x00007fe32d8ff427 in start_thread (arg=<value optimized out>) at pthread_create.c:297
#15 0x00007fe32c3d50fd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe32fddb740 (LWP 13469)):
[KCrash Handler]
#5  KIO::Slave::deref (this=0x4bd6e00) at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kio/kio/slave.cpp:242
#6  0x00007fe32f07d7cc in KIO::Slave::gotInput (this=0x4bd6e00) at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kio/kio/slave.cpp:335
#7  0x00007fe32f07fa60 in KIO::Slave::qt_metacall (this=0x4bd6e00, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffb9b62350)
    at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2_build/kio/slave.moc:76
#8  0x00007fe32dc55cda in QMetaObject::activate (sender=0x5db2110, from_signal_index=<value optimized out>, to_signal_index=4, argv=0x6947d50) at kernel/qobject.cpp:3101
#9  0x00007fe32ef9af9f in KIO::ConnectionPrivate::dequeue (this=0x676f240) at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kio/kio/connection.cpp:82
#10 0x00007fe32ef9b412 in KIO::Connection::qt_metacall (this=0x5db2110, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x50dc770)
    at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2_build/kio/connection.moc:73
#11 0x00007fe32dc52a89 in QObject::event (this=0x5db2110, e=0x5e8d350) at kernel/qobject.cpp:1099
#12 0x00007fe32cfb02d5 in QApplicationPrivate::notify_helper (this=0x23a4b30, receiver=0x5db2110, e=0x5e8d350) at kernel/qapplication.cpp:4065
#13 0x00007fe32cfb783a in QApplication::notify (this=0x7fffb9b62db0, receiver=0x5db2110, e=0x5e8d350) at kernel/qapplication.cpp:4030
#14 0x00007fe32ead568a in KApplication::notify (this=0x7fffb9b62db0, receiver=0x5db2110, event=0x5e8d350)
    at /var/tmp/paludis/kde-base-kdelibs-4.3.2-r3/work/kdelibs-4.3.2/kdeui/kernel/kapplication.cpp:302
#15 0x00007fe32dc4402b in QCoreApplication::notifyInternal (this=0x7fffb9b62db0, receiver=0x5db2110, event=0x5e8d350) at kernel/qcoreapplication.cpp:606
#16 0x00007fe32dc44958 in QCoreApplication::sendEvent (receiver=<value optimized out>, event_type=0, data=0x236d1f0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#17 QCoreApplicationPrivate::sendPostedEvents (receiver=<value optimized out>, event_type=0, data=0x236d1f0) at kernel/qcoreapplication.cpp:1244
#18 0x00007fe32dc69173 in QCoreApplication::sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#19 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:210
#20 0x00007fe3285ea3a9 in g_main_dispatch (context=0x23a7400) at gmain.c:1824
#21 IA__g_main_context_dispatch (context=0x23a7400) at gmain.c:2377
#22 0x00007fe3285ed848 in g_main_context_iterate (context=0x23a7400, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2455
#23 0x00007fe3285ed9fe in IA__g_main_context_iteration (context=0x23a7400, may_block=1) at gmain.c:2518
#24 0x00007fe32dc68def in QEventDispatcherGlib::processEvents (this=0x23a41b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:328
#25 0x00007fe32d034f08 in QGuiEventDispatcherGlib::processEvents (this=0x20, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:202
#26 0x00007fe32dc429f2 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#27 0x00007fe32dc42b9c in QEventLoop::exec (this=0x7fffb9b62d10, flags=...) at kernel/qeventloop.cpp:197
#28 0x00007fe32dc44bdc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#29 0x00000000004270c4 in main (argc=1, argv=0x7fffb9b63a88) at /var/tmp/paludis/net-p2p-ktorrent-3.3_rc1/work/ktorrent-3.3rc1/ktorrent/main.cpp:172
The current source language is "auto; currently c".

Reported using DrKonqi
Comment 1 Dario Andres 2009-10-29 14:06:15 UTC
This is probably related to bug 191589 (KIO and dialogs affecting it...)
Thanks

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