Bug 323283 - Ktorrent crashing when finishing to allocate space for torrent
Summary: Ktorrent crashing when finishing to allocate space for torrent
Status: RESOLVED DUPLICATE of bug 325076
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-08-08 09:33 UTC by flatron.tonga
Modified: 2013-11-23 21:42 UTC (History)
1 user (show)

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 flatron.tonga 2013-08-08 09:33:38 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.10.5 "release 1"
Qt Version: 4.8.4
Operating System: Linux 3.7.10-1.16-desktop x86_64
Distribution: "openSUSE 12.3 (x86_64)"

-- Information about the crash:
- Custom settings of the application:

Pre-allocation of the files checked (to prevent fragmentation). ktorrent saving files to a ntfs partition. This occurs mostly with files bigger then 4GB. It happens everytime ktorrent allocate space for file

Thanks for reading, have a nice beautiful day :P

Flatrongraad

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f3a91e7a780 (LWP 5418))]

Thread 8 (Thread 0x7f3a7dcb8700 (LWP 5420)):
#0  0x00007f3a8f2e1964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a74e577c7 in WTF::TCMalloc_PageHeap::scavengerThread() () from /usr/lib64/libQtWebKit.so.4
#2  0x00007f3a74e577f9 in WTF::TCMalloc_PageHeap::runScavengerThread(void*) () from /usr/lib64/libQtWebKit.so.4
#3  0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#4  0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 7 (Thread 0x7f3a6c5c2700 (LWP 5421)):
#0  0x00007f3a8db3297d in read () from /lib64/libc.so.6
#1  0x00007f3a705a9e41 in ?? () from /usr/lib64/tls/libnvidia-tls.so.319.32
#2  0x00007f3a88ca5e0f in ?? () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3a88c69634 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3a88c69a42 in ?? () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f3a88c69bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#6  0x00007f3a8f69e2e6 in QEventDispatcherGlib::processEvents (this=0x7f3a640008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x00007f3a8f66eadf in QEventLoop::processEvents (this=this@entry=0x7f3a6c5c1e00, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f3a8f66ed68 in QEventLoop::exec (this=0x7f3a6c5c1e00, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007f3a8f5710f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#10 0x00007f3a8f5740cc in QThreadPrivate::start (arg=0x31668c0) at thread/qthread_unix.cpp:338
#11 0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 6 (Thread 0x7f3a0f71b700 (LWP 5434)):
#0  0x00007f3a8db3b449 in syscall () from /lib64/libc.so.6
#1  0x00007f3a8f572b74 in _q_futex (timeout=0x0, val=2, op=0, addr=0x161eda0, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x161eda0, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f3a8f56eead in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164
#4  0x00007f3a91976aa0 in update (this=0x161edd0) at /usr/src/debug/libktorrent-1.3.1/src/net/downloadthread.cpp:51
#5  net::DownloadThread::update (this=0x161edd0) at /usr/src/debug/libktorrent-1.3.1/src/net/downloadthread.cpp:46
#6  0x00007f3a91976c79 in net::NetworkThread::run (this=0x161edd0) at /usr/src/debug/libktorrent-1.3.1/src/net/networkthread.cpp:48
#7  0x00007f3a8f5740cc in QThreadPrivate::start (arg=0x161edd0) at thread/qthread_unix.cpp:338
#8  0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#9  0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7f3a0ef1a700 (LWP 5435)):
#0  0x00007fff8f31c9ef in gettimeofday ()
#1  0x00007f3a9195f8be in bt::Now () at /usr/src/debug/libktorrent-1.3.1/src/util/functions.cpp:70
#2  0x00007f3a919763a5 in update (this=0x161f1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/uploadthread.cpp:51
#3  net::UploadThread::update (this=0x161f1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/uploadthread.cpp:43
#4  0x00007f3a91976c79 in net::NetworkThread::run (this=0x161f1a0) at /usr/src/debug/libktorrent-1.3.1/src/net/networkthread.cpp:48
#5  0x00007f3a8f5740cc in QThreadPrivate::start (arg=0x161f1a0) at thread/qthread_unix.cpp:338
#6  0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#7  0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7f3a0e719700 (LWP 5436)):
#0  0x00007f3a8f2e1964 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007f3a8f57462b in wait (time=18446744073709551615, this=0x342c0d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x33d3950, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f3a91979572 in net::ReverseResolverThread::run (this=0x33d3940) at /usr/src/debug/libktorrent-1.3.1/src/net/reverseresolver.cpp:124
#4  0x00007f3a8f5740cc in QThreadPrivate::start (arg=0x33d3940) at thread/qthread_unix.cpp:338
#5  0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#6  0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f3a6ad2b700 (LWP 5913)):
#0  0x00007f3a88ca6810 in ?? () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f3a88ca6a69 in g_mutex_lock () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f3a88c69343 in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f3a88c699cb in ?? () from /usr/lib64/libglib-2.0.so.0
#4  0x00007f3a88c69bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#5  0x00007f3a8f69e2e6 in QEventDispatcherGlib::processEvents (this=0x7f3a58002980, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f3a8f66eadf in QEventLoop::processEvents (this=this@entry=0x7f3a6ad2add0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f3a8f66ed68 in QEventLoop::exec (this=0x7f3a6ad2add0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f3a8f5710f0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:542
#9  0x00007f3a8f64f29f in QInotifyFileSystemWatcherEngine::run (this=0x3681590) at io/qfilesystemwatcher_inotify.cpp:256
#10 0x00007f3a8f5740cc in QThreadPrivate::start (arg=0x3681590) at thread/qthread_unix.cpp:338
#11 0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#12 0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f39f4a73700 (LWP 9930)):
#0  0x00007f3a8db3b449 in syscall () from /lib64/libc.so.6
#1  0x00007f3a8f572b74 in _q_futex (timeout=0x0, val=2, op=0, addr=0x455b450, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99
#2  QMutexPrivate::wait (this=0x455b450, timeout=<optimized out>) at thread/qmutex_unix.cpp:113
#3  0x00007f3a8f56ed75 in QMutex::lockInternal (this=<optimized out>) at thread/qmutex.cpp:450
#4  0x00007f3a8f573df1 in lockInline (this=0x1f1e948) at ../../src/corelib/thread/qmutex.h:190
#5  lockInline (this=0x1f1e948) at thread/qthread_unix.cpp:709
#6  QMutexLocker (m=0x1f1e948, this=0x7f39f4a72e00) at ../../src/corelib/thread/qmutex.h:109
#7  QThread::setPriority (this=this@entry=0x1d586f0, priority=QThread::IdlePriority) at thread/qthread_unix.cpp:712
#8  0x00007f3a8f57412e in QThreadPrivate::start (arg=0x1d586f0) at thread/qthread_unix.cpp:309
#9  0x00007f3a8f2dde0f in start_thread () from /lib64/libpthread.so.0
#10 0x00007f3a8db3f7dd in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f3a91e7a780 (LWP 5418)):
[KCrash Handler]
#5  0x00007f3a8da8c3d5 in raise () from /lib64/libc.so.6
#6  0x00007f3a8da8d858 in abort () from /lib64/libc.so.6
#7  0x00007f3a8dacc07b in __libc_message () from /lib64/libc.so.6
#8  0x00007f3a8dad1bf6 in malloc_printerr () from /lib64/libc.so.6
#9  0x00007f3a8dad2973 in _int_free () from /lib64/libc.so.6
#10 0x00007f3a70cd807c in ?? () from /usr/X11R6/lib64/libGL.so.1
#11 0x00007f3a705a917a in ?? () from /usr/lib64/tls/libnvidia-tls.so.319.32
#12 0x00007f3a8f57389e in QThread::start (this=0x1d586f0, priority=<optimized out>) at thread/qthread_unix.cpp:640
#13 0x00007f3a8f68529f in QMetaObject::activate (sender=0x45ad100, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff8f20d340) at kernel/qobject.cpp:3548
#14 0x00007f3a8fafe7e2 in KJob::result (this=this@entry=0x45ad100, _t1=_t1@entry=0x45ad100) at /usr/src/debug/kdelibs-4.10.5/build/kdecore/kjob.moc:208
#15 0x00007f3a8fafe820 in KJob::emitResult (this=0x45ad100) at /usr/src/debug/kdelibs-4.10.5/kdecore/jobs/kjob.cpp:318
#16 0x00007f3a919f0e50 in bt::PreallocationJob::finished (this=0x45ad100) at /usr/src/debug/libktorrent-1.3.1/src/diskio/preallocationjob.cpp:71
#17 0x00007f3a8f68477e in QObject::event (this=0x45ad100, e=<optimized out>) at kernel/qobject.cpp:1203
#18 0x00007f3a8e7fd86c in QApplicationPrivate::notify_helper (this=this@entry=0x1650f20, receiver=receiver@entry=0x45ad100, e=e@entry=0x7f39ec010580) at kernel/qapplication.cpp:4562
#19 0x00007f3a8e801ceb in QApplication::notify (this=0x7fff8f20e990, receiver=0x45ad100, e=0x7f39ec010580) at kernel/qapplication.cpp:4423
#20 0x000000000043c5ca in ?? ()
#21 0x00007f3a8f66fd8e in QCoreApplication::notifyInternal (this=0x7fff8f20e990, receiver=receiver@entry=0x45ad100, event=event@entry=0x7f39ec010580) at kernel/qcoreapplication.cpp:946
#22 0x00007f3a8f6736f1 in sendEvent (event=0x7f39ec010580, receiver=0x45ad100) at kernel/qcoreapplication.h:231
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x160e670) at kernel/qcoreapplication.cpp:1570
#24 0x00007f3a8f69e133 in sendPostedEvents () at kernel/qcoreapplication.h:236
#25 postEventSourceDispatch (s=0x165b750) at kernel/qeventdispatcher_glib.cpp:279
#26 0x00007f3a88c697d5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f3a88c69b08 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f3a88c69bc4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f3a8f69e2c6 in QEventDispatcherGlib::processEvents (this=0x1613ad0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#30 0x00007f3a8e89dc1e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f3a8f66eadf in QEventLoop::processEvents (this=this@entry=0x7fff8f20dc60, flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f3a8f66ed68 in QEventLoop::exec (this=0x7fff8f20dc60, flags=...) at kernel/qeventloop.cpp:204
#33 0x00007f3a8f673a08 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#34 0x000000000042ab3b in ?? ()
#35 0x00007f3a8da78a15 in __libc_start_main () from /lib64/libc.so.6
#36 0x000000000042be65 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2013-11-23 21:42:14 UTC

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