Bug 272289

Summary: Crash upon opening
Product: [Applications] ktorrent Reporter: demonays
Component: generalAssignee: Joris Guisson <joris.guisson>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description demonays 2011-05-03 01:20:34 UTC
Application: ktorrent (4.0.5)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
It seems to have happened after I shutdown Ubuntu without closing the application. Afterwards, everytime I tried to open ktorrent it crashed.

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7ff256523700 (LWP 1892)):
#0  0x00007ff261511f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ff25cec6104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff25cec69f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff256e82c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007ff25ceed3e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff25ddd3d8c in start_thread (arg=0x7ff256523700) at pthread_create.c:304
#6  0x00007ff26151f04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff265054780 (LWP 1891)):
[KCrash Handler]
#6  memcpy () at ../sysdeps/x86_64/memcpy.S:267
#7  0x00007ff260f3d0b6 in QCA::MemoryRegion::MemoryRegion(QByteArray const&) () from /usr/lib/libqca.so.2
#8  0x00007ff260f534c5 in QCA::Hash::update(QByteArray const&) () from /usr/lib/libqca.so.2
#9  0x00007ff264b680ca in bt::SHA1HashGen::update (this=0x1c6eb20, data=0x7ff23859b050 <Address 0x7ff23859b050 out of bounds>, len=16384) at ../../src/util/sha1hashgen.cpp:240
#10 0x00007ff264b9e881 in bt::ChunkDownload::updateHash (this=0x1c6ea60) at ../../src/download/chunkdownload.cpp:555
#11 0x00007ff264ba02c2 in bt::ChunkDownload::load (this=0x1c6ea60, file=..., hdr=<value optimized out>, update_hash=true) at ../../src/download/chunkdownload.cpp:468
#12 0x00007ff264ba673d in bt::Downloader::loadDownloads (this=0x18f96b0, file=<value optimized out>) at ../../src/download/downloader.cpp:642
#13 0x00007ff264bbe770 in bt::TorrentControl::continueStart (this=0x1858210) at ../../src/torrent/torrentcontrol.cpp:427
#14 0x00007ff264bbf379 in bt::TorrentControl::start (this=0x1858210) at ../../src/torrent/torrentcontrol.cpp:417
#15 0x00007ff2648d2641 in kt::QueueManager::startSafely (this=<value optimized out>, tc=0x1858210) at ../../libktcore/torrent/queuemanager.cpp:731
#16 0x00007ff2648d2781 in kt::QueueManager::startInternal (this=0x1523c00, tc=0x1858210) at ../../libktcore/torrent/queuemanager.cpp:104
#17 0x00007ff2648d465b in kt::QueueManager::orderQueue (this=0x1523c00) at ../../libktcore/torrent/queuemanager.cpp:588
#18 0x00000000004309b6 in kt::Core::qt_metacall (this=0x1721060, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0x18fc830) at ./core.moc:197
#19 0x00007ff262d7a49a in QObject::event (this=0x1721060, e=<value optimized out>) at kernel/qobject.cpp:1226
#20 0x00007ff2621279e4 in QApplicationPrivate::notify_helper (this=0x1536850, receiver=0x1721060, e=0x18fd2b0) at kernel/qapplication.cpp:4462
#21 0x00007ff26212c3aa in QApplication::notify (this=<value optimized out>, receiver=0x1721060, e=0x18fd2b0) at kernel/qapplication.cpp:4341
#22 0x0000000000437d91 in kt::App::notify (this=<value optimized out>, receiver=<value optimized out>, event=<value optimized out>) at ../../ktorrent/app.cpp:97
#23 0x00007ff262d6649c in QCoreApplication::notifyInternal (this=0x7fff14f1f970, receiver=0x1721060, event=0x18fd2b0) at kernel/qcoreapplication.cpp:731
#24 0x00007ff262d69c25 in sendEvent (receiver=0x0, event_type=0, data=0x14b8b60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#25 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14b8b60) at kernel/qcoreapplication.cpp:1372
#26 0x00007ff262d91253 in sendPostedEvents (s=0x152ec10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#27 postEventSourceDispatch (s=0x152ec10) at kernel/qeventdispatcher_glib.cpp:277
#28 0x00007ff25cec5bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ff25cec63a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#30 0x00007ff25cec6639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#31 0x00007ff262d913ef in QEventDispatcherGlib::processEvents (this=0x14b8340, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#32 0x00007ff2621cedfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#33 0x00007ff262d65882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#34 0x00007ff262d65abc in QEventLoop::exec (this=0x7fff14f1f900, flags=...) at kernel/qeventloop.cpp:201
#35 0x00007ff262d69ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#36 0x00000000004271ef in main (argc=5, argv=0x7fff14f20728) at ../../ktorrent/main.cpp:176

Possible duplicates by query: bug 271116, bug 268333, bug 267437, bug 267104, bug 266962.

Reported using DrKonqi
Comment 1 Joris Guisson 2011-05-03 18:05:04 UTC

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