Bug 264826 - Bus Error
Summary: Bus Error
Status: RESOLVED DUPLICATE of bug 241598
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: 2011-01-30 07:59 UTC by riatef
Modified: 2011-01-30 10:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.58 KB, text/plain)
2011-01-30 08:05 UTC, riatef
Details

Note You need to log in before you can comment on or make changes to this bug.
Description riatef 2011-01-30 07:59:29 UTC
Application: ktorrent (4.0.3)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
K Torrent stops downloading and reports error repeatedly. Bus 7 error

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Bus error
[Current thread is 1 (Thread 0x7f2731857760 (LWP 12276))]

Thread 6 (Thread 0x7f2722a41700 (LWP 12277)):
#0  0x00007f272d3d2203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f272822d009 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f272822d7b5 in g_main_loop_run () from /lib/libglib-2.0.so.0
#3  0x00007f27231780f4 in ?? () from /usr/lib/libgio-2.0.so.0
#4  0x00007f27282527e4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f272eb09971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f272d3de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f2707f4c700 (LWP 12289)):
#0  0x00007f272d3d2203 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f273137379c in net::Poll::poll (this=0x1495330, timeout=<value optimized out>) at ../../src/net/poll.cpp:99
#2  0x00007f273136f700 in net::DownloadThread::waitForSocketReady (this=0x1495320) at ../../src/net/downloadthread.cpp:128
#3  0x00007f273136f7e6 in net::DownloadThread::update (this=0x22a8df0) at ../../src/net/downloadthread.cpp:48
#4  0x00007f27313702c9 in net::NetworkThread::run (this=0x1495320) at ../../src/net/networkthread.cpp:48
#5  0x00007f272ed9427e in QThreadPrivate::start (arg=0x1495320) at thread/qthread_unix.cpp:266
#6  0x00007f272eb09971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f272d3de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f270774b700 (LWP 12290)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f272ed93845 in thread_sleep (ti=0x7f270774ada0) at thread/qthread_unix.cpp:416
#2  0x00007f272ed939b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f273136f07d in net::UploadThread::update (this=0x1495990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f27313702c9 in net::NetworkThread::run (this=0x1495990) at ../../src/net/networkthread.cpp:48
#5  0x00007f272ed9427e in QThreadPrivate::start (arg=0x1495990) at thread/qthread_unix.cpp:266
#6  0x00007f272eb09971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f272d3de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f2706f4a700 (LWP 12291)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f272ed94e3b in wait (this=<value optimized out>, mutex=0x1e538a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e538a0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f27313732e2 in net::ReverseResolverThread::run (this=0x1e53890) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f272ed9427e in QThreadPrivate::start (arg=0x1e53890) at thread/qthread_unix.cpp:266
#5  0x00007f272eb09971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f272d3de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f2709151700 (LWP 12335)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f272ed94da2 in wait (this=<value optimized out>, mutex=0x2207c50, time=30000) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2207c50, time=30000) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f272ed89da2 in QThreadPoolThread::run (this=0x21279c0) at concurrent/qthreadpool.cpp:140
#4  0x00007f272ed9427e in QThreadPrivate::start (arg=0x21279c0) at thread/qthread_unix.cpp:266
#5  0x00007f272eb09971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f272d3de92d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f2731857760 (LWP 12276)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:162
#7  0x00007f2731395237 in bt::ChunkDownload::piece (this=0x1dc1fb0, p=..., ok=@0x7fffda01379f) at //usr/include/bits/string3.h:52
#8  0x00007f273139bbde in bt::Downloader::pieceReceived (this=0x1c136d0, p=...) at ../../src/download/downloader.cpp:134
#9  0x00007f273137f315 in bt::Peer::packetReady (this=0x23f7050, packet=0x24b5ac0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#10 0x00007f273138a248 in bt::PacketReader::update (this=0x1e37570) at ../../src/peer/packetreader.cpp:141
#11 0x00007f273137e0d5 in bt::Peer::update (this=0x23f7050) at ../../src/peer/peer.cpp:538
#12 0x00007f2731383995 in bt::PeerManager::update (this=0x1c240c0) at ../../src/peer/peermanager.cpp:144
#13 0x00007f27313b58a4 in bt::TorrentControl::update (this=0x1c094e0) at ../../src/torrent/torrentcontrol.cpp:163
#14 0x00000000004289fb in kt::Core::update (this=0x7f271c0040f0) at ../../ktorrent/core.cpp:1030
#15 0x0000000000431222 in kt::Core::qt_metacall (this=0x7f271c0040f0, _c=QMetaObject::InvokeMetaMethod, _id=181, _a=0x7fffda013bb0) at ./core.moc:167
#16 0x00007f272ee9fb27 in QMetaObject::activate (sender=0x7f271c004118, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0xfffffff9) at kernel/qobject.cpp:3280
#17 0x00007f272ee998f9 in QObject::event (this=0x7f271c004118, e=0x24b5ac9) at kernel/qobject.cpp:1183
#18 0x00007f272dfd1fdc in QApplicationPrivate::notify_helper (this=0x14c2540, receiver=0x7f271c004118, e=0x7fffda0142e0) at kernel/qapplication.cpp:4396
#19 0x00007f272dfd7aed in QApplication::notify (this=0x7fffda014610, receiver=0x7f271c004118, e=0x7fffda0142e0) at kernel/qapplication.cpp:4277
#20 0x0000000000437d1a in kt::App::notify (this=0x7f272003960b, receiver=0x24b5ac9, event=0x3ff9) at ../../ktorrent/app.cpp:97
#21 0x00007f272ee87cdc in QCoreApplication::notifyInternal (this=0x7fffda014610, receiver=0x7f271c004118, event=0x7fffda0142e0) at kernel/qcoreapplication.cpp:732
#22 0x00007f272eeb76f2 in sendEvent (this=0x14c92b0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x14c92b0) at kernel/qeventdispatcher_unix.cpp:602
#24 0x00007f272eeb44c8 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#25 idleTimerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:231
#26 0x00007f2728229342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f272822d2a8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f272822d45c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f272eeb4193 in QEventDispatcherGlib::processEvents (this=0x1493320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00007f272e084a4e in QGuiEventDispatcherGlib::processEvents (this=0x7f272003960b, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f272ee86a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f272ee86dec in QEventLoop::exec (this=0x7fffda014580, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f272ee8aebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#34 0x0000000000426a8b in main (argc=<value optimized out>, argv=<value optimized out>) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 263942, bug 263830, bug 263012, bug 262857, bug 262378.

Reported using DrKonqi
Comment 1 riatef 2011-01-30 08:05:49 UTC
Created attachment 56650 [details]
New crash information added by DrKonqi

ktorrent (4.0.3) on KDE Platform 4.5.1 (KDE 4.5.1) using Qt 4.7.0

- What I was doing when the application crashed: downloading torrents then k torrent stops and reports this message:Executable: ktorrent PID: 12399 Signal: 7 (Bus error)

-- Backtrace (Reduced):
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:162
#7  0x00007f38930e1237 in bt::ChunkDownload::piece (this=0x2e9c880, p=..., ok=@0x7fff5536dbcf) at //usr/include/bits/string3.h:52
#8  0x00007f38930e7bde in bt::Downloader::pieceReceived (this=0x2cee850, p=...) at ../../src/download/downloader.cpp:134
#9  0x00007f38930cb315 in bt::Peer::packetReady (this=0x3648560, packet=0x7f38640644e0 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#10 0x00007f38930d6248 in bt::PacketReader::update (this=0x2e99b00) at ../../src/peer/packetreader.cpp:141
Comment 2 Joris Guisson 2011-01-30 10:14:05 UTC

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