Bug 241253 - Apparent Seg Fault
Summary: Apparent Seg Fault
Status: RESOLVED DUPLICATE of bug 227400
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-10 00:28 UTC by William Henry
Modified: 2010-06-10 08:27 UTC (History)
0 users

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 William Henry 2010-06-10 00:28:18 UTC
Application: ktorrent (3.3.4)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic i686
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
AMD Sempron
2GB Ram
250GB hdd Western Digital
NEW Install of Ubuntu 10.04 LTS
NEW Install  of KTorrent in Gnome 
Set Up 3 Downloads to run. Left system running, came back and found that KTorrent had crashed.
Other Apps running at the time include;
Firefox
Terminal Session running MC
Thunderbird
Terminal session no active commands
Nautilus 2.30.1 with SMB access to XP System shared drives
I have experienced Ktorrent crashes for a couple of months and thoght I had messed up a config on the old system as I had been running Kubuntu 9 and upgraded. lost the access to the KDE Interface but had loaded Gnome so was using that. Finally saved the files and re-installed from scratch including a fresh partition on a known good drive. Removed 2 WD 250gb HDD's with some bad sectors. 
Install of Ubuntu v10.04 revealed no errors.
Note!!! Attempted to Install Kubuntu 10.04 on this system and failed several times 
memtest shows no memory errors.

Thanks

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

Thread 4 (Thread 0xb3dc4b70 (LWP 24027)):
#0  net::DownloadThread::waitForSocketReady (this=0x8eca560) at /usr/include/c++/4.4/bits/stl_list.h:708
#1  0x00d13a4f in net::DownloadThread::update (this=0x8eca560) at ../../libbtcore/net/downloadthread.cpp:53
#2  0x00d146b8 in net::NetworkThread::run (this=0x8eca560) at ../../libbtcore/net/networkthread.cpp:48
#3  0x0847f32e in QThreadPrivate::start (arg=0x8eca560) at thread/qthread_unix.cpp:248
#4  0x00bc896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#5  0x042f4a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 3 (Thread 0xb33ffb70 (LWP 24028)):
#0  0x00bb7422 in __kernel_vsyscall ()
#1  0x00bcd015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08480287 in QWaitConditionPrivate::wait (this=0x8eca8f8, mutex=0x8eca8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x8eca8f8, mutex=0x8eca8fc, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d133a9 in net::UploadThread::update (this=0x8eca8c0) at ../../libbtcore/net/uploadthread.cpp:73
#5  0x00d146b8 in net::NetworkThread::run (this=0x8eca8c0) at ../../libbtcore/net/networkthread.cpp:48
#6  0x0847f32e in QThreadPrivate::start (arg=0x8eca8c0) at thread/qthread_unix.cpp:248
#7  0x00bc896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x042f4a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb2bfeb70 (LWP 24029)):
#0  0x00bb7422 in __kernel_vsyscall ()
#1  0x00bcd015 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x08480287 in QWaitConditionPrivate::wait (this=0x96f8684, mutex=0x96f8680, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#3  QWaitCondition::wait (this=0x96f8684, mutex=0x96f8680, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#4  0x00d17baa in net::ReverseResolverThread::run (this=0x96f8678) at ../../libbtcore/net/reverseresolver.cpp:123
#5  0x0847f32e in QThreadPrivate::start (arg=0x96f8678) at thread/qthread_unix.cpp:248
#6  0x00bc896e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0x042f4a4e in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7872710 (LWP 24000)):
[KCrash Handler]
#6  0x0429bfe1 in ?? () from /lib/tls/i686/cmov/libc.so.6
#7  0x039aa016 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x039c1167 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00cfd18f in bt::SHA1HashGen::update (this=0x9f83c80, data=0xb49e300a "\307\070\026j\302\030\362\250\252\275\266\227\027", len=16384) at ../../libbtcore/util/sha1hashgen.cpp:240
#10 0x00d35b7e in bt::ChunkDownload::updateHash (this=0x9f83c10) at ../../libbtcore/download/chunkdownload.cpp:579
#11 0x00d3740d in bt::ChunkDownload::piece (this=0x9f83c10, p=..., ok=@0xbf84608f) at ../../libbtcore/download/chunkdownload.cpp:145
#12 0x00d3daf9 in bt::Downloader::pieceReceived (this=0x9009e50, p=...) at ../../libbtcore/download/downloader.cpp:126
#13 0x00d2541f in bt::PeerManager::pieceReceived (this=0x971c430, p=...) at ../../libbtcore/peer/peermanager.cpp:677
#14 0x00d23abf in bt::Peer::packetReady (this=0x9c24e38, packet=0xb344b2b8 "\a", len=16393) at ../../libbtcore/peer/peer.cpp:268
#15 0x00d2dba9 in bt::PacketReader::update (this=0x94b6d68) at ../../libbtcore/peer/packetreader.cpp:141
#16 0x00d23409 in bt::Peer::update (this=0x9c24e38) at ../../libbtcore/peer/peer.cpp:462
#17 0x00d27886 in bt::PeerManager::update (this=0x971c430) at ../../libbtcore/peer/peermanager.cpp:119
#18 0x00d5997d in bt::TorrentControl::update (this=0x9752438) at ../../libbtcore/torrent/torrentcontrol.cpp:150
#19 0x08071a63 in kt::Core::update (this=0x9009478) at ../../ktorrent/core.cpp:849
#20 0x08077308 in kt::Core::qt_metacall (this=0x9009478, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbf84640c) at ./core.moc:155
#21 0x08586c9a in QMetaObject::metacall (object=0x9009478, cl=3075, idx=21, argv=0xbf84640c) at kernel/qmetaobject.cpp:237
#22 0x085953d5 in QMetaObject::activate (sender=0x900948c, m=0x86955a4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3293
#23 0x085e6aa7 in QTimer::timeout (this=0x900948c) at .moc/release-shared/moc_qtimer.cpp:134
#24 0x0859d60e in QTimer::timerEvent (this=0x900948c, e=0xbf846940) at kernel/qtimer.cpp:271
#25 0x08592254 in QObject::event (this=0x900948c, e=0x9634c80) at kernel/qobject.cpp:1212
#26 0x02e444dc in QApplicationPrivate::notify_helper (this=0x8eebeb0, receiver=0x900948c, e=0xbf846940) at kernel/qapplication.cpp:4300
#27 0x02e4b05e in QApplication::notify (this=0xbf846c94, receiver=0x900948c, e=0xbf846940) at kernel/qapplication.cpp:3704
#28 0x0083af2a in KApplication::notify (this=0xbf846c94, receiver=0x900948c, event=0xbf846940) at ../../kdeui/kernel/kapplication.cpp:302
#29 0x08581a3b in QCoreApplication::notifyInternal (this=0xbf846c94, receiver=0x900948c, event=0xbf846940) at kernel/qcoreapplication.cpp:704
#30 0x085b0d66 in QCoreApplication::sendEvent (this=0x8eee8bc) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QTimerInfoList::activateTimers (this=0x8eee8bc) at kernel/qeventdispatcher_unix.cpp:603
#32 0x085ad917 in timerSourceDispatch (source=0x8eeed00) at kernel/qeventdispatcher_glib.cpp:184
#33 idleTimerSourceDispatch (source=0x8eeed00) at kernel/qeventdispatcher_glib.cpp:231
#34 0x028c85e5 in g_main_dispatch (context=0x8eee090) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:1960
#35 IA__g_main_context_dispatch (context=0x8eee090) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2513
#36 0x028cc2d8 in g_main_context_iterate (context=0x8eee090, block=<value optimized out>, dispatch=1, self=0x8ee9b10) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2591
#37 0x028cc4b8 in IA__g_main_context_iteration (context=0x8eee090, may_block=1) at /build/buildd/glib2.0-2.24.1/glib/gmain.c:2654
#38 0x085ad60f in QEventDispatcherGlib::processEvents (this=0x8ec9380, flags=...) at kernel/qeventdispatcher_glib.cpp:414
#39 0x02f04135 in QGuiEventDispatcherGlib::processEvents (this=0x8ec9380, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x08580059 in QEventLoop::processEvents (this=0xbf846c04, flags=) at kernel/qeventloop.cpp:149
#41 0x085804aa in QEventLoop::exec (this=0xbf846c04, flags=...) at kernel/qeventloop.cpp:201
#42 0x0858469f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#43 0x02e44577 in QApplication::exec () at kernel/qapplication.cpp:3579
#44 0x08067a51 in main (argc=5, argv=0xbf847064) at ../../ktorrent/main.cpp:172

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

Possible duplicates by query: bug 240923, bug 239065, bug 238377, bug 237235, bug 236130.

Reported using DrKonqi
Comment 1 Joris Guisson 2010-06-10 08:27:37 UTC

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