Bug 258207 - Crash while downloading
Summary: Crash while downloading
Status: RESOLVED DUPLICATE of bug 251117
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: 2010-11-28 18:59 UTC by karl sebastian liebich
Modified: 2010-12-14 19:39 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 karl sebastian liebich 2010-11-28 18:59:50 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-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
I dont know the exact factors. Maybe it is connected with the circumstance that I download 3 torrents only via webseed for there are no peers. webseeds sometimes go "offline" and switch to "not in use" for no obvious reason. When deselecting-selecting the webseed it is "online" and in use again. But I dont know if this really plays any role in the problem reported.

Ktorrent crashed the second time now so I decided to report.

The crash can be reproduced some of the time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb5b7b31760 (LWP 4817))]

Thread 6 (Thread 0x7fb5a2ba1710 (LWP 4819)):
#0  0x00007fb5b36bb2e3 in select () at ../sysdeps/unix/syscall-template.S:82
#1  0x00007fb5b76b6212 in ?? () from /usr/lib/libktorrent.so.2
#2  0x00007fb5b507827e in QThreadPrivate::start (arg=0x268af90) at thread/qthread_unix.cpp:266
#3  0x00007fb5b4ded971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#4  0x00007fb5b36c294d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fb58b333710 (LWP 4837)):
#0  0x00007fb5b7657adf in net::Poll::add(QSharedPointer<net::PollClient>) () from /usr/lib/libktorrent.so.2
#1  0x00007fb5b7653679 in ?? () from /usr/lib/libktorrent.so.2
#2  0x00007fb5b76537e6 in ?? () from /usr/lib/libktorrent.so.2
#3  0x00007fb5b76542c9 in ?? () from /usr/lib/libktorrent.so.2
#4  0x00007fb5b507827e in QThreadPrivate::start (arg=0x24d8320) at thread/qthread_unix.cpp:266
#5  0x00007fb5b4ded971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#6  0x00007fb5b36c294d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fb58ab32710 (LWP 4838)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fb5b5077533 in QMutexPrivate::wait (this=0x24d82a0, timeout=-1) at thread/qmutex_unix.cpp:84
#2  0x00007fb5b5072ee5 in QMutex::lock (this=0x6d9088) at thread/qmutex.cpp:167
#3  0x00007fb5b7652ea3 in ?? () from /usr/lib/libktorrent.so.2
#4  0x00007fb5b76542c9 in ?? () from /usr/lib/libktorrent.so.2
#5  0x00007fb5b507827e in QThreadPrivate::start (arg=0x24d8990) at thread/qthread_unix.cpp:266
#6  0x00007fb5b4ded971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#7  0x00007fb5b36c294d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fb58a331710 (LWP 4839)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5b365b1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fb5b3659c78 in __libc_free (mem=0x7fb5b395ae40) at malloc.c:3736
#3  0x00007fb5b517ce8e in QObjectPrivate::cleanConnectionLists (this=0x34b0180) at kernel/qobject.cpp:383
#4  0x00007fb5b5183f03 in QMetaObject::activate (sender=0x33174a0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fb58a330d90) at kernel/qobject.cpp:3316
#5  0x00007fb5b76394f2 in ?? () from /usr/lib/libktorrent.so.2
#6  0x00007fb5b7656ffb in ?? () from /usr/lib/libktorrent.so.2
#7  0x00007fb5b76571dd in ?? () from /usr/lib/libktorrent.so.2
#8  0x00007fb5b507827e in QThreadPrivate::start (arg=0x7fb59c0419e0) at thread/qthread_unix.cpp:266
#9  0x00007fb5b4ded971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#10 0x00007fb5b36c294d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fb591f81710 (LWP 4896)):
#0  __lll_lock_wait_private () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:97
#1  0x00007fb5b365b1dc in _L_lock_12347 () from /lib/libc.so.6
#2  0x00007fb5b3659c78 in __libc_free (mem=0x7fb5b395ae40) at malloc.c:3736
#3  0x00007fb5ae50cc3b in ?? () from /lib/libglib-2.0.so.0
#4  0x00007fb5b5198d33 in QEventDispatcherGlib::~QEventDispatcherGlib (this=0x3488230, __in_chrg=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:369
#5  0x00007fb5b5077ac4 in QThreadPrivate::finish (arg=<value optimized out>) at thread/qthread_unix.cpp:302
#6  0x00007fb5b5078286 in ~__pthread_cleanup_class (arg=0x7fb58c002860) at /usr/include/pthread.h:545
#7  QThreadPrivate::start (arg=0x7fb58c002860) at thread/qthread_unix.cpp:271
#8  0x00007fb5b4ded971 in start_thread (arg=<value optimized out>) at pthread_create.c:304
#9  0x00007fb5b36c294d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fb5b7b31760 (LWP 4817)):
[KCrash Handler]
#6  malloc_consolidate (av=0x7fb5b395ae40) at malloc.c:5155
#7  0x00007fb5b3656e82 in _int_malloc (av=0x7fb5b395ae40, bytes=32768) at malloc.c:4373
#8  0x00007fb5b365838e in __libc_malloc (bytes=32768) at malloc.c:3660
#9  0x00007fb5b507ac18 in QByteArray::realloc (this=0x24f7568, alloc=<value optimized out>) at tools/qbytearray.cpp:1421
#10 0x00007fb5b507b089 in QByteArray::resize (this=0x24f7568, size=16384) at tools/qbytearray.cpp:1389
#11 0x00007fb5b50fd91f in QRingBuffer::reserve (this=0x2629fc8, bytes=43) at ../../include/QtCore/private/../../../src/corelib/tools/qringbuffer_p.h:158
#12 0x00007fb5b50fbe7b in QFile::writeData (this=0x2629b70, data=0x3411478 "So. Nov 28 18:54:55 2010: Timeout occurred\n", len=<value optimized out>) at io/qfile.cpp:1646
#13 0x00007fb5b51014a7 in QIODevice::write (this=0x2629b70, data=0x3411478 "So. Nov 28 18:54:55 2010: Timeout occurred\n", maxSize=43558608) at io/qiodevice.cpp:1359
#14 0x00007fb5b510ea59 in write (this=0x7fb59c0008b0) at ../../include/QtCore/../../src/corelib/io/qiodevice.h:127
#15 QTextStreamPrivate::flushWriteBuffer (this=0x7fb59c0008b0) at io/qtextstream.cpp:679
#16 0x00007fb5b510fa09 in flush (stream=...) at io/qtextstream.cpp:2879
#17 0x00007fb5b7645142 in ?? () from /usr/lib/libktorrent.so.2
#18 0x00007fb5b7643f77 in bt::endl(bt::Log&) () from /usr/lib/libktorrent.so.2
#19 0x00007fb5b765c871 in ?? () from /usr/lib/libktorrent.so.2
#20 0x00007fb5b765c8b8 in ?? () from /usr/lib/libktorrent.so.2
#21 0x00007fb5b765cf28 in ?? () from /usr/lib/libktorrent.so.2
#22 0x00007fb5b5183b27 in QMetaObject::activate (sender=0x26afd68, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x151) at kernel/qobject.cpp:3280
#23 0x00007fb5b517d8f9 in QObject::event (this=0x26afd68, e=0x8000) at kernel/qobject.cpp:1183
#24 0x00007fb5b42b5fdc in QApplicationPrivate::notify_helper (this=0x2509ec0, receiver=0x26afd68, e=0x7fffe3bf8830) at kernel/qapplication.cpp:4396
#25 0x00007fb5b42bbaed in QApplication::notify (this=0x7fffe3bf8b60, receiver=0x26afd68, e=0x7fffe3bf8830) at kernel/qapplication.cpp:4277
#26 0x0000000000437d1a in _start ()

Possible duplicates by query: bug 257258, bug 256826.

Reported using DrKonqi
Comment 1 karl sebastian liebich 2010-11-28 19:29:35 UTC
At the moment I have 3 downloads running only via webseed. When activating more than 2 I get the crash.

Prozessor is working hard and ktorrent not reacting. even when trying to shut it down.
Comment 2 karl sebastian liebich 2010-11-28 19:31:39 UTC
sorry: It always happens when keeping more than 1 downloads alive
Comment 3 Joris Guisson 2010-11-29 18:05:46 UTC
Can you send me the torrents ?
Comment 4 Joris Guisson 2010-12-14 19:39:13 UTC

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