Bug 247654 - Crash on routine background usage
Summary: Crash on routine background usage
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
: 244428 (view as bug list)
Depends on:
Blocks:
 
Reported: 2010-08-13 15:37 UTC by Con Kolivas
Modified: 2010-08-31 19:36 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Con Kolivas 2010-08-13 15:37:52 UTC
Application: ktorrent (4.0.2)
KDE Platform Version: 4.4.5 (KDE 4.4.5)
Qt Version: 4.6.3
Operating System: Linux 2.6.35-ck1 x86_64
Distribution: Debian GNU/Linux testing (squeeze)

-- Information about the crash:
Simply running ktorrent unattended seeding and downloading made it crash spontaneously.

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

Thread 7 (Thread 0x7f60fb6bc710 (LWP 32007)):
[KCrash Handler]
#5  0x00007f610de82329 in QApplicationPrivate::notify_helper (this=0x70a640, receiver=0x1c822c0, e=0x7f60fb6bbb70) at kernel/qapplication.cpp:4302
#6  0x00007f610de8880b in QApplication::notify (this=0x7fff58bed660, receiver=0x1c822c0, e=0x7f60fb6bbb70) at kernel/qapplication.cpp:4185
#7  0x0000000000439a0a in kt::App::notify (this=0x1c822c0, receiver=0x7f60fb6bbb70, event=0xfe37c920) at ../../ktorrent/app.cpp:97
#8  0x00007f610eae215c in QCoreApplication::notifyInternal (this=0x7fff58bed660, receiver=0x1c822c0, event=0x7f60fb6bbb70) at kernel/qcoreapplication.cpp:726
#9  0x00007f610eb0eed2 in QCoreApplication::sendEvent (this=0x7cb980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#10 QTimerInfoList::activateTimers (this=0x7cb980) at kernel/qeventdispatcher_unix.cpp:603
#11 0x00007f610eb0ba48 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#12 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#13 0x00007f61096bb6c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#14 0x00007f61096bf538 in ?? () from /lib/libglib-2.0.so.0
#15 0x00007f61096bf6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#16 0x00007f610eb0b713 in QEventDispatcherGlib::processEvents (this=0x7db120, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#17 0x00007f610eae0a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#18 0x00007f610eae0e5c in QEventLoop::exec (this=0x7f60fb6bbde0, flags=) at kernel/qeventloop.cpp:201
#19 0x00007f610e9f079b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#20 0x00007f611103b38e in utp::UTPServerThread::run (this=0x7db5b0) at ../../src/utp/utpserverthread.cpp:44
#21 0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x7db5b0) at thread/qthread_unix.cpp:248
#22 0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#23 0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#24 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f60faebb710 (LWP 32012)):
#0  0x00007f610d2458b3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6111003b22 in dht::RPCServerThread::run (this=0x7f5740) at ../../src/dht/rpcserver.cpp:107
#2  0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x7f5740) at thread/qthread_unix.cpp:248
#3  0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#4  0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 5 (Thread 0x7f60f95af710 (LWP 32060)):
#0  0x00007f610d241103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f61096bf299 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f61096bf6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f610eb0b766 in QEventDispatcherGlib::processEvents (this=0x2232170, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4  0x00007f610eae0a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5  0x00007f610eae0e5c in QEventLoop::exec (this=0x7f60f95aede0, flags=) at kernel/qeventloop.cpp:201
#6  0x00007f610e9f079b in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7  0x00007f610eac1398 in QInotifyFileSystemWatcherEngine::run (this=0x1c499a0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x1c499a0) at thread/qthread_unix.cpp:248
#9  0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f60f2ffd710 (LWP 32067)):
#0  0x00007f610d23fead in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007f6110f9aadf in bt::Pipe::read (this=<value optimized out>, buffer=0x7f60f2ffcd50 "\300\315\377\362`\177", max_len=20) at ../../src/util/pipe.cpp:106
#2  0x00007f6110fa7ad8 in net::WakeUpPipe::handleData (this=0x6e0800) at ../../src/net/wakeuppipe.cpp:55
#3  0x00007f6110fa8820 in net::Poll::poll (this=0x6e0270, timeout=<value optimized out>) at ../../src/net/poll.cpp:108
#4  0x00007f6110fa4970 in net::DownloadThread::waitForSocketReady (this=0x6e0260) at ../../src/net/downloadthread.cpp:128
#5  0x00007f6110fa4a46 in net::DownloadThread::update (this=0x4) at ../../src/net/downloadthread.cpp:48
#6  0x00007f6110fa5529 in net::NetworkThread::run (this=0x6e0260) at ../../src/net/networkthread.cpp:48
#7  0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x6e0260) at thread/qthread_unix.cpp:248
#8  0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#9  0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()
The current source language is "auto; currently c".

Thread 3 (Thread 0x7f60f37fe710 (LWP 32068)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:211
#1  0x00007f610e9f27b5 in thread_sleep (ti=0x7f60f37fddd0) at thread/qthread_unix.cpp:398
#2  0x00007f610e9f2910 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:424
#3  0x00007f6110fa42ed in net::UploadThread::update (this=0x6e08b0) at ../../src/net/uploadthread.cpp:89
#4  0x00007f6110fa5529 in net::NetworkThread::run (this=0x6e08b0) at ../../src/net/networkthread.cpp:48
#5  0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x6e08b0) at thread/qthread_unix.cpp:248
#6  0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#7  0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()
The current source language is "auto; currently asm".

Thread 2 (Thread 0x7f60f3fff710 (LWP 32069)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f610e9f3e8b in QWaitConditionPrivate::wait (this=<value optimized out>, mutex=0x1278220, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:87
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1278220, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:159
#3  0x00007f6110fa8252 in net::ReverseResolverThread::run (this=0x1278210) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f610e9f2e35 in QThreadPrivate::start (arg=0x1278210) at thread/qthread_unix.cpp:248
#5  0x00007f610a3a18ba in start_thread (arg=<value optimized out>) at pthread_create.c:300
#6  0x00007f610d24c01d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6111483760 (LWP 32003)):
#0  0x00007f610d241103 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f6107d408ca in ?? () from /usr/lib/libxcb.so.1
#2  0x00007f6107d40ec9 in ?? () from /usr/lib/libxcb.so.1
#3  0x00007f6107d41175 in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x00007f610bac6616 in _XSend () from /usr/lib/libX11.so.6
#5  0x00007f610bac6bb1 in _XEventsQueued () from /usr/lib/libX11.so.6
#6  0x00007f610baaf463 in XEventsQueued () from /usr/lib/libX11.so.6
#7  0x00007f610df32377 in x11EventSourcePrepare (s=0x70e000, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#8  0x00007f61096beca1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#9  0x00007f61096bf108 in ?? () from /lib/libglib-2.0.so.0
#10 0x00007f61096bf6ec in g_main_context_iteration () from /lib/libglib-2.0.so.0
#11 0x00007f610eb0b713 in QEventDispatcherGlib::processEvents (this=0x6de1d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#12 0x00007f610df3214e in QGuiEventDispatcherGlib::processEvents (this=0x7fff58bed250, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#13 0x00007f610eae0a82 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#14 0x00007f610eae0e5c in QEventLoop::exec (this=0x7fff58bed5d0, flags=) at kernel/qeventloop.cpp:201
#15 0x00007f610eae5aeb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#16 0x0000000000428f5b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176
The current source language is "auto; currently c".

This bug may be a duplicate of or related to bug 246693.

Possible duplicates by query: bug 247207, bug 247201, bug 246835, bug 246693, bug 245796.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-08-22 20:21:44 UTC
*** Bug 244428 has been marked as a duplicate of this bug. ***
Comment 2 Joris Guisson 2010-08-31 19:36:27 UTC
This should be fixed in libktorrent 1.0.3