Bug 199646

Summary: crash after several hour of operation (memcpy)
Product: [Applications] ktorrent Reporter: oferkv
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:

Description oferkv 2009-07-10 10:33:28 UTC
Version:           3.2.2 (using KDE 4.2.4)
Compiler:          na 
OS:                Linux
Installed from:    Unlisted Binary Package

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

Thread 4 (Thread 0x7f064f6f6910 (LWP 2195)):
#0  0x00007f065b943a62 in select () from /lib/libc.so.6
#1  0x00007f065d263041 in ?? () from /usr/lib/libQtCore.so.4
#2  0x00007f065d19e285 in ?? () from /usr/lib/libQtCore.so.4
#3  0x00007f065cf2b57a in start_thread () from /lib/libpthread.so.0
#4  0x00007f065b94a16d in clone () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f0646000910 (LWP 2209)):
#0  0x00007f065b9419b3 in poll () from /lib/libc.so.6
#1  0x00007f065eee02d9 in net::DownloadThread::waitForSocketReady () from /usr/lib/libbtcore.so.11
#2  0x00007f065eee039c in net::DownloadThread::update () from /usr/lib/libbtcore.so.11
#3  0x00007f065eee0d69 in net::NetworkThread::run () from /usr/lib/libbtcore.so.11
#4  0x00007f065d19e285 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f065cf2b57a in start_thread () from /lib/libpthread.so.0
#6  0x00007f065b94a16d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f06457ff910 (LWP 2210)):
#0  0x00007f065cf2fdd9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x00007f065d19f33b in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#2  0x00007f065eedfc68 in net::UploadThread::update () from /usr/lib/libbtcore.so.11
#3  0x00007f065eee0d69 in net::NetworkThread::run () from /usr/lib/libbtcore.so.11
#4  0x00007f065d19e285 in ?? () from /usr/lib/libQtCore.so.4
#5  0x00007f065cf2b57a in start_thread () from /lib/libpthread.so.0
#6  0x00007f065b94a16d in clone () from /lib/libc.so.6
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f065f3a9760 (LWP 2182)):
[KCrash Handler]
#5  0x00007f065b8fb45b in memcpy () from /lib/libc.so.6
#6  0x00007f065b3858d6 in QCA::MemoryRegion::MemoryRegion () from /usr/lib/libqca.so.2
#7  0x00007f065b39d684 in QCA::Hash::update () from /usr/lib/libqca.so.2
#8  0x00007f065eefd112 in bt::ChunkDownload::updateHash () from /usr/lib/libbtcore.so.11
#9  0x00007f065eefde95 in bt::ChunkDownload::piece () from /usr/lib/libbtcore.so.11
#10 0x00007f065ef046ae in bt::Downloader::pieceReceived () from /usr/lib/libbtcore.so.11
#11 0x00007f065eeece91 in bt::Peer::packetReady () from /usr/lib/libbtcore.so.11
#12 0x00007f065eef5dd5 in bt::PacketReader::update () from /usr/lib/libbtcore.so.11
#13 0x00007f065eeecbd5 in bt::Peer::update () from /usr/lib/libbtcore.so.11
#14 0x00007f065eef0600 in bt::PeerManager::update () from /usr/lib/libbtcore.so.11
#15 0x00007f065ef2127c in bt::TorrentControl::update () from /usr/lib/libbtcore.so.11
#16 0x000000000042bf55 in _start ()
Comment 1 Dario Andres 2009-07-10 17:05:28 UTC
This reminds me bug 186621. But it seems it is not the same
Thanks
Comment 2 Joris Guisson 2009-07-10 18:37:31 UTC
It's the same problem, in 186621 the backtrace is probably from a debug build and this is from an optimized build (some functions are inlined, so they don't show up in the backtrace)

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