Bug 266107 - Application: KTorrent (ktorrent), signal: Bus error
Summary: Application: KTorrent (ktorrent), signal: 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-02-11 22:22 UTC by fed.ser.hotmail
Modified: 2011-02-12 11:03 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 fed.ser.hotmail 2011-02-11 22:22:25 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:
- What I was doing when the application crashed:

- running KTorrent 4.0.3 italian version
	- upload limit to 10.0 KiB/S
	- added pre-existent file, which download was not completed yet, to download
	- checked data and found uncorrect data (system freezed while checking)
	- continued downloading without checking data anymore, then started crashing
- other applications: just using a web browser (chromium) and running skype and kopete

The crash can be reproduced every time.

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

Thread 4 (Thread 0x7f6aa2774700 (LWP 10960)):
#0  net::Poll::add (this=0x1c74330, fd=86, mode=net::Poll::INPUT) at ../../src/net/poll.cpp:62
#1  0x00007f6acea45964 in net::Socket::prepare (this=0x2251940, p=0x7f6ab40a8840, mode=net::Poll::INPUT) at ../../src/net/socket.cpp:460
#2  0x00007f6acea496de in net::DownloadThread::waitForSocketReady (this=0x1c74320) at ../../src/net/downloadthread.cpp:123
#3  0x00007f6acea497e6 in net::DownloadThread::update (this=0x7f6ab40a8840) at ../../src/net/downloadthread.cpp:48
#4  0x00007f6acea4a2c9 in net::NetworkThread::run (this=0x1c74320) at ../../src/net/networkthread.cpp:48
#5  0x00007f6acc46e27e in QThreadPrivate::start (arg=0x1c74320) at thread/qthread_unix.cpp:266
#6  0x00007f6acc1e3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f6acaab892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6aa1f73700 (LWP 10961)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:212
#1  0x00007f6acc46d845 in thread_sleep (ti=0x7f6aa1f72da0) at thread/qthread_unix.cpp:416
#2  0x00007f6acc46d9b0 in QThread::msleep (msecs=<value optimized out>) at thread/qthread_unix.cpp:442
#3  0x00007f6acea4907d in net::UploadThread::update (this=0x1c74990) at ../../src/net/uploadthread.cpp:89
#4  0x00007f6acea4a2c9 in net::NetworkThread::run (this=0x1c74990) at ../../src/net/networkthread.cpp:48
#5  0x00007f6acc46e27e in QThreadPrivate::start (arg=0x1c74990) at thread/qthread_unix.cpp:266
#6  0x00007f6acc1e3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007f6acaab892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6aa1772700 (LWP 10962)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f6acc46ee3b in wait (this=<value optimized out>, mutex=0x2774e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2774e40, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f6acea4d2e2 in net::ReverseResolverThread::run (this=0x2774e30) at ../../src/net/reverseresolver.cpp:123
#4  0x00007f6acc46e27e in QThreadPrivate::start (arg=0x2774e30) at thread/qthread_unix.cpp:266
#5  0x00007f6acc1e3971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007f6acaab892d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f6acef36760 (LWP 10944)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007f6acea6f237 in bt::ChunkDownload::piece (this=0x2d8db50, p=..., ok=@0x7fffe099f95f) at //usr/include/bits/string3.h:52
#8  0x00007f6acea75bde in bt::Downloader::pieceReceived (this=0x2067fa0, p=...) at ../../src/download/downloader.cpp:134
#9  0x00007f6acea59315 in bt::Peer::packetReady (this=0x2c78d40, packet=0x7f6aac0a6720 "\a", len=<value optimized out>) at ../../src/peer/peer.cpp:283
#10 0x00007f6acea64248 in bt::PacketReader::update (this=0x29405a0) at ../../src/peer/packetreader.cpp:141
#11 0x00007f6acea580d5 in bt::Peer::update (this=0x2c78d40) at ../../src/peer/peer.cpp:538
#12 0x00007f6acea5d995 in bt::PeerManager::update (this=0x201b020) at ../../src/peer/peermanager.cpp:144
#13 0x00007f6acea8f8a4 in bt::TorrentControl::update (this=0x2015880) at ../../src/torrent/torrentcontrol.cpp:163
#14 0x00000000004289fb in kt::Core::update (this=0x7f6ab4004070) at ../../ktorrent/core.cpp:1030
#15 0x0000000000431222 in kt::Core::qt_metacall (this=0x7f6ab4004070, _c=QMetaObject::InvokeMetaMethod, _id=233, _a=0x7fffe099fd70) at ./core.moc:167
#16 0x00007f6acc579b27 in QMetaObject::activate (sender=0x7f6ab4004098, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x600) at kernel/qobject.cpp:3280
#17 0x00007f6acc5738f9 in QObject::event (this=0x7f6ab4004098, e=0x7f6aac0a7728) at kernel/qobject.cpp:1183
#18 0x00007f6acb6abfdc in QApplicationPrivate::notify_helper (this=0x1cad2b0, receiver=0x7f6ab4004098, e=0x7fffe09a04a0) at kernel/qapplication.cpp:4396
#19 0x00007f6acb6b1aed in QApplication::notify (this=0x7fffe09a07d0, receiver=0x7f6ab4004098, e=0x7fffe09a04a0) at kernel/qapplication.cpp:4277
#20 0x0000000000437d1a in kt::App::notify (this=0x7f6aba79dfff, receiver=0x7f6aac0a7728, event=0x3ff9) at ../../ktorrent/app.cpp:97
#21 0x00007f6acc561cdc in QCoreApplication::notifyInternal (this=0x7fffe09a07d0, receiver=0x7f6ab4004098, event=0x7fffe09a04a0) at kernel/qcoreapplication.cpp:732
#22 0x00007f6acc5916f2 in sendEvent (this=0x1cab930) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QTimerInfoList::activateTimers (this=0x1cab930) at kernel/qeventdispatcher_unix.cpp:602
#24 0x00007f6acc58e4c8 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 0x00007f6ac5903342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#27 0x00007f6ac59072a8 in ?? () from /lib/libglib-2.0.so.0
#28 0x00007f6ac590745c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#29 0x00007f6acc58e193 in QEventDispatcherGlib::processEvents (this=0x1c72320, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#30 0x00007f6acb75ea4e in QGuiEventDispatcherGlib::processEvents (this=0x7f6aba79dfff, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f6acc560a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#32 0x00007f6acc560dec in QEventLoop::exec (this=0x7fffe09a0740, flags=) at kernel/qeventloop.cpp:201
#33 0x00007f6acc564ebb 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 264826, bug 263942, bug 263830, bug 263012, bug 262857.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-02-12 11:03:14 UTC

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