Bug 212921 - ktorrent crashes on my laptop, not on my workstation
Summary: ktorrent crashes on my laptop, not on my workstation
Status: RESOLVED DUPLICATE of bug 212231
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-03 15:52 UTC by Martin Marques
Modified: 2009-11-03 22:31 UTC (History)
2 users (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 Martin Marques 2009-11-03 15:52:43 UTC
Version:           3.2.4 (using KDE 4.3.2)
OS:                Linux
Installed from:    Fedora RPMs

Ktorrent crashes unexpectedly on my laptop running Fedora 11 with the latest updates.

I don't have this problem with my workstation at home, with the exact same system and version of ktorrent and both with AMD64 chips.

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

Thread 3 (Thread 0x7f035506b910 (LWP 12886)):
#0  0x00000036bb00b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000035e8e59593 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00000035e8e55115 in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#3  0x0000003b65c6246c in bt::PacketReader::onDataReady (this=0x1e71ab0, 
    buf=0x3b65f0c9e0 "\30n4h\321\206\33\215\32\64a\206\343F\215\30a\270\321\243F\30n4h\321\206\33\215\32\64a\206\343F\215\30a\270\321\243F\30n4h\321\206\30", size=524)
    at /usr/src/debug/ktorrent-3.2.4/libbtcore/peer/packetreader.cpp:223
#4  0x0000003b65c485f5 in net::BufferedSocket::readBuffered (this=0x1e8e4b0, max_bytes_to_read=0, now=1257259054203) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/bufferedsocket.cpp:110
#5  0x0000003b65c4dd0a in net::SocketGroup::processUnlimited (this=<value optimized out>, up=false, now=1257259054203) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketgroup.cpp:53
#6  0x0000003b65c4df08 in net::SocketGroup::process (this=0x1e2b8ac, up=128, now=1, global_allowance=@0x7f035506af1c) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/socketgroup.cpp:192
#7  0x0000003b65c4cd1c in net::NetworkThread::doGroups (this=0xf20700, num_ready=<value optimized out>, now=1257259054203, limit=<value optimized out>)
    at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:155
#8  0x0000003b65c4c632 in net::DownloadThread::update (this=0xf20700) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/downloadthread.cpp:102
#9  0x0000003b65c4cde9 in net::NetworkThread::run (this=0xf20700) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48
#10 0x00000035e8e59d45 in ?? () from /usr/lib64/libQtCore.so.4
#11 0x00000036bb00686a in start_thread () from /lib64/libpthread.so.0
#12 0x00000036ba4de3bd in clone () from /lib64/libc.so.6
#13 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f035466a910 (LWP 12887)):
#0  0x00000036bb00b2f9 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00000035e8e59593 in ?? () from /usr/lib64/libQtCore.so.4
#2  0x00000035e8e550f5 in QMutex::lock() () from /usr/lib64/libQtCore.so.4
#3  0x0000003b65c4bbba in net::UploadThread::update (this=0xf20c50) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/uploadthread.cpp:44
#4  0x0000003b65c4cde9 in net::NetworkThread::run (this=0xf20c50) at /usr/src/debug/ktorrent-3.2.4/libbtcore/net/networkthread.cpp:48
#5  0x00000035e8e59d45 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00000036bb00686a in start_thread () from /lib64/libpthread.so.0
#7  0x00000036ba4de3bd in clone () from /lib64/libc.so.6
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f036583e820 (LWP 12878)):
[KCrash Handler]
#5  0x00000035e8f54e7a in QObject::~QObject() () from /usr/lib64/libQtCore.so.4
#6  0x0000003b65c6e340 in bt::PtrMap<unsigned int, bt::ChunkDownload>::clear (this=<value optimized out>) at /usr/src/debug/ktorrent-3.2.4/libbtcore/util/ptrmap.h:90
#7  bt::Downloader::clearDownloads (this=<value optimized out>) at /usr/src/debug/ktorrent-3.2.4/libbtcore/download/downloader.cpp:483
#8  0x0000003b65c904a6 in bt::TorrentControl::stop (this=0x1387140, user=false, wjob=0x0) at /usr/src/debug/ktorrent-3.2.4/libbtcore/torrent/torrentcontrol.cpp:475
#9  0x0000003b65c8d308 in bt::TorrentControl::update (this=0x1387140) at /usr/src/debug/ktorrent-3.2.4/libbtcore/torrent/torrentcontrol.cpp:169
#10 0x0000000000429d72 in kt::Core::update (this=0x1033340) at /usr/src/debug/ktorrent-3.2.4/ktorrent/core.cpp:877
#11 0x000000000042f83c in kt::Core::qt_metacall (this=0x1033340, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0x7fff2bd897d0)
    at /usr/src/debug/ktorrent-3.2.4/x86_64-redhat-linux-gnu/ktorrent/core.moc:148
#12 0x00000035e8f547dc in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQtCore.so.4
#13 0x00000035e8f4e7de in QObject::event(QEvent*) () from /usr/lib64/libQtCore.so.4
#14 0x00000035ea78f69c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#15 0x00000035ea7968fe in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4
#16 0x0000003b662117f6 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5
#17 0x00000035e8f3f59c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib64/libQtCore.so.4
#18 0x00000035e8f69fc2 in ?? () from /usr/lib64/libQtCore.so.4
#19 0x00000035e8f679ed in ?? () from /usr/lib64/libQtCore.so.4
#20 0x00000035e7a3790e in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#21 0x00000035e7a3b0e8 in ?? () from /lib64/libglib-2.0.so.0
#22 0x00000035e7a3b20a in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#23 0x00000035e8f67936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#24 0x00000035ea821f8e in ?? () from /usr/lib64/libQtGui.so.4
#25 0x00000035e8f3ded2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#26 0x00000035e8f3e2a4 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#27 0x00000035e8f40439 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#28 0x0000000000422ba2 in main (argc=<value optimized out>, argv=<value optimized out>) at /usr/src/debug/ktorrent-3.2.4/ktorrent/main.cpp:171
Comment 1 Dario Andres 2009-11-03 22:31:47 UTC
Merging with bug 212231. Thanks

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