Bug 185234

Summary: ktorrent crashes with Signal 11 repeatedly for no discernable reason
Product: [Applications] ktorrent Reporter: Andreas Tiemeyer <grey271>
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Backtrace 1
Backtrace 2

Description Andreas Tiemeyer 2009-02-22 15:09:20 UTC
Version:           3.1.6 (using KDE 4.2.0)
Compiler:          gcc (GCC) 4.3.3 
OS:                Linux
Installed from:    Unlisted Binary Package

No long description - ktorrent crashes after 5-15 minutes of running.
Backtraces for 2 crashes are attached. They don't look similar to the existing crash backtraces in the bug list.
Comment 1 Andreas Tiemeyer 2009-02-22 15:10:20 UTC
Created attachment 31540 [details]
Backtrace 1
Comment 2 Andreas Tiemeyer 2009-02-22 15:11:07 UTC
Created attachment 31541 [details]
Backtrace 2
Comment 3 Dario Andres 2009-02-22 18:49:59 UTC
Pasted backtrace:

Application: KTorrent (ktorrent), signal SIGSEGV
0x00007fd2f44f4001 in nanosleep () from /lib/libc.so.6
[Current thread is 0 (LWP 4414)]

Thread 3 (Thread 0x7fd2c7276950 (LWP 4425)):
#0  0x00007fd2f451bc66 in poll () from /lib/libc.so.6
#1  0x00007fd2f6bbbc61 in net::DownloadThread::waitForSocketReady () from /usr/lib/libbtcore.so.7
#2  0x00007fd2f6bbbccc in net::DownloadThread::update () from /usr/lib/libbtcore.so.7
#3  0x00007fd2f6bbc6d9 in net::NetworkThread::run () from /usr/lib/libbtcore.so.7
#4  0x00007fd2fba5ad79 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd2fb7e9fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd2f45245dd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd2c6a75950 (LWP 4426)):
#0  0x00007fd2fb7edd69 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007fd2fba5bb09 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007fd2f6bbb7a4 in net::UploadThread::update () from /usr/lib/libbtcore.so.7
#3  0x00007fd2f6bbc6d9 in net::NetworkThread::run () from /usr/lib/libbtcore.so.7
#4  0x00007fd2fba5ad79 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007fd2fb7e9fc7 in start_thread () from /lib/libpthread.so.0
#6  0x00007fd2f45245dd in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd2fc35f750 (LWP 4414)):
[KCrash Handler]
#5  0x00007fd2f44d272b in memcpy () from /lib/libc.so.6
#6  0x00007fd2f6bd4add in bt::WebSeed::handleData () from /usr/lib/libbtcore.so.7
#7  0x00007fd2f6bd5703 in bt::WebSeed::update () from /usr/lib/libbtcore.so.7
#8  0x00007fd2f6bdc120 in bt::Downloader::update () from /usr/lib/libbtcore.so.7
#9  0x00007fd2f6bfee5b in bt::TorrentControl::update () from /usr/lib/libbtcore.so.7
#10 0x000000000042996a in _start ()
Comment 4 Dario Andres 2009-02-22 18:51:40 UTC
The backtrace looks like bug 184986
If you can reproduce the crash at will, may you read http://techbase.kde.org/Development/Tutorials/Debugging/How_to_create_useful_crash_reports and post a complete backtrace here? 
You need to install the debug symbols package for ktorrent
Thanks :)
Comment 5 Andreas Tiemeyer 2009-02-23 00:33:36 UTC
The sources used for the current Archlinux build of ktorrent (3.1.6-2) are no longer available, so I built version 3.2 instead.
So far the crash has not happened again.
Looking at presumed duplicate bug 184986 an additional parallel is that ktorrent started crashing after I added torrent

ftp://ftp.archlinux.org/iso/2009.02/archlinux-2009.02-core-i686.iso.torrent

which is similar (though not identical) to the one mentioned in 184986.
Comment 6 Joris Guisson 2009-02-23 08:05:10 UTC
Closing this as a dupe of 184986.

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