Bug 166176 - ktorrent recurrently crashes after a random amount of time
Summary: ktorrent recurrently crashes after a random amount of time
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: OpenBSD OpenBSD
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-09 22:51 UTC by Micky Wicky
Modified: 2008-07-17 23:30 UTC (History)
0 users

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 Micky Wicky 2008-07-09 22:51:48 UTC
Version:            (using KDE 3.5.8)
Installed from:    OpenBSD Packages
OS:                OpenBSD

Short description says it all... This ktorrent (and KDE with it) was installed using the OpenBSD 4.3 packages.
I tend to leave it running in a VNC session, but nearly every time I come back to it (after 45 minutes or several hours/days) I find it has crashed with SIGSEGV, signal 11.
I have unloaded all plugins, disabled DHT, no difference.
Here is the backtrace:

(no debugging symbols found)
[KCrash handler]
#12 0x0d0c79bf in bt::Packet::putInOutputBuffer(unsigned char*, unsigned, bool&) () from /usr/local/lib/libktorrent.so
#13 0x0d0c9805 in bt::PacketWriter::onReadyToWrite(unsigned char*, unsigned) ()
   from /usr/local/lib/libktorrent.so
#14 0x0d08d18f in mse::StreamSocket::onReadyToWrite(unsigned char*, unsigned)
    () from /usr/local/lib/libktorrent.so
#15 0x0d0829c2 in net::BufferedSocket::writeBuffered(unsigned, unsigned long long) () from /usr/local/lib/libktorrent.so
#16 0x0d08616a in net::SocketGroup::processUnlimited(bool, unsigned long long)
    () from /usr/local/lib/libktorrent.so
#17 0x0d0865a9 in net::SocketGroup::process(bool, unsigned long long, unsigned&) () from /usr/local/lib/libktorrent.so
#18 0x0d08638e in net::SocketGroup::upload(unsigned&, unsigned long long) ()
   from /usr/local/lib/libktorrent.so
#19 0x0d0877aa in net::UploadThread::doGroup(net::SocketGroup*, unsigned&, unsigned long long) () from /usr/local/lib/libktorrent.so
#20 0x0d084073 in net::NetworkThread::doGroups(unsigned, unsigned long long, unsigned) () from /usr/local/lib/libktorrent.so
#21 0x0d087734 in net::UploadThread::update() ()
   from /usr/local/lib/libktorrent.so
#22 0x0d083cb5 in net::NetworkThread::run() ()
   from /usr/local/lib/libktorrent.so
#23 0x041daf7a in QThreadInstance::start(void*) ()
   from /usr/local/lib/libqt-mt.so.31.1
#24 0x00eea2a7 in _thread_start ()
    at /usr/src/lib/libpthread/uthread/uthread_create.c:244
#25 0x0000001f in ?? ()
#26 0x00000000 in ?? ()
Comment 1 Micky Wicky 2008-07-09 22:52:46 UTC
This crash has happened on two separate partitions being used for torrents, one ext2 and one OpenBSD ffs.
Comment 2 Joris Guisson 2008-07-10 12:47:44 UTC
Version ?
Comment 3 Micky Wicky 2008-07-10 13:16:50 UTC
Sorry - it's version 2.2.5p0 (OpenBSD package)
Comment 4 Joris Guisson 2008-07-10 18:54:28 UTC
Have you tried 2.2.7 or 3.1 yet ? 2.2.5 is not very recent, and this might already be fixed in those versions.
Comment 5 Micky Wicky 2008-07-10 20:25:46 UTC
Can't do that without upgrading QT (3.1) and thereby messing around with overwriting the OpenBSD packages.
I recompiled the same version from the ports collection, same problem.
Now I'm running a debug version of it, I'll post more info about the crash when it next happens.
Comment 6 Micky Wicky 2008-07-17 23:30:09 UTC
Go figure - the debug compile hasn't crashed a single time.
Since this is an old version I might as well close the bug.
Thanks!
Comment 7 Micky Wicky 2008-07-17 23:30:41 UTC
oops