Bug 349643 - Crash on adding torrent
Summary: Crash on adding torrent
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (other bugs)
Version First Reported In: 4.3.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-06-27 03:30 UTC by Kerry N
Modified: 2018-12-01 03:49 UTC (History)
1 user (show)

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


Attachments
New crash information added by DrKonqi (10.85 KB, text/plain)
2015-07-07 03:52 UTC, Kerry N
Details
New crash information added by DrKonqi (10.06 KB, text/plain)
2015-08-22 04:35 UTC, Kerry N
Details
New crash information added by DrKonqi (9.02 KB, text/plain)
2015-11-09 20:10 UTC, Kerry N
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kerry N 2015-06-27 03:30:09 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.9
Qt Version: 4.8.6
Operating System: Linux 4.0.5-200.fc21.x86_64 x86_64
Distribution: "Fedora release 21 (Twenty One)"

-- Information about the crash:
Adding new torrent when the application disappeared and crashed.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f0606b928c0 (LWP 5092))]

Thread 10 (Thread 0x7f0583fff700 (LWP 5098)):
#0  0x00007f0601aa1c8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f05fb7aeb34 in g_main_context_iterate (priority=2147483647, n_fds=1, fds=0x7f057c0013e0, timeout=5633, context=0x7f057c0009a0) at gmain.c:4076
#2  0x00007f05fb7aeb34 in g_main_context_iterate (context=context@entry=0x7f057c0009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3776
#3  0x00007f05fb7aec4c in g_main_context_iteration (context=0x7f057c0009a0, may_block=1) at gmain.c:3842
#4  0x00007f060274d57e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x7f057c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#5  0x00007f060271cd81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0583ffed10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f060271d0e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7f0583ffed10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f0602611bb9 in QThread::exec() (this=<optimized out>) at thread/qthread.cpp:538
#8  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x304e330) at thread/qthread_unix.cpp:349
#9  0x00007f0603c3f52a in start_thread (arg=0x7f0583fff700) at pthread_create.c:310
#10 0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7f0583175700 (LWP 5099)):
#0  0x00007f0603c44590 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f05d7260c93 in JSC::BlockAllocator::blockFreeingThreadMain() () at /lib64/libQtWebKit.so.4
#2  0x00007f05d7570c16 in WTF::wtfThreadEntryPoint(void*) () at /lib64/libQtWebKit.so.4
#3  0x00007f0603c3f52a in start_thread (arg=0x7f0583175700) at pthread_create.c:310
#4  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7f0590b1e700 (LWP 5129)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602612efa in thread_sleep(timespec*) (ti=ti@entry=0x7f0590b1dca0) at thread/qthread_unix.cpp:492
#2  0x00007f06026137bd in QThread::msleep(unsigned long) (msecs=<optimized out>) at thread/qthread_unix.cpp:518
#3  0x00007f06066e95bf in net::DownloadThread::update() () at /lib64/libktorrent.so.5
#4  0x00007f06066e9669 in net::NetworkThread::run() () at /lib64/libktorrent.so.5
#5  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x1d142b0) at thread/qthread_unix.cpp:349
#6  0x00007f0603c3f52a in start_thread (arg=0x7f0590b1e700) at pthread_create.c:310
#7  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7f059131f700 (LWP 5130)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602612efa in thread_sleep(timespec*) (ti=ti@entry=0x7f059131eca0) at thread/qthread_unix.cpp:492
#2  0x00007f06026137bd in QThread::msleep(unsigned long) (msecs=<optimized out>) at thread/qthread_unix.cpp:518
#3  0x00007f06066e8ec3 in net::UploadThread::update() () at /lib64/libktorrent.so.5
#4  0x00007f06066e9669 in net::NetworkThread::run() () at /lib64/libktorrent.so.5
#5  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x1d146a0) at thread/qthread_unix.cpp:349
#6  0x00007f0603c3f52a in start_thread (arg=0x7f059131f700) at pthread_create.c:310
#7  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f05df289700 (LWP 5131)):
#0  0x00007f0603c44590 in pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f0602614976 in QWaitCondition::wait(QMutex*, unsigned long) (time=18446744073709551615, this=0x32acb50) at thread/qwaitcondition_unix.cpp:86
#2  0x00007f0602614976 in QWaitCondition::wait(QMutex*, unsigned long) (this=<optimized out>, mutex=0x304ffc0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f06066ebf4a in net::ReverseResolverThread::run() () at /lib64/libktorrent.so.5
#4  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x304ffb0) at thread/qthread_unix.cpp:349
#5  0x00007f0603c3f52a in start_thread (arg=0x7f05df289700) at pthread_create.c:310
#6  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f057b7fe700 (LWP 5516)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x3235ee0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x3235c90, mutex=mutex@entry=0x3246428, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0602607cd5 in QThreadPoolThread::run() (this=0x3235c80) at concurrent/qthreadpool.cpp:142
#4  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x3235c80) at thread/qthread_unix.cpp:349
#5  0x00007f0603c3f52a in start_thread (arg=0x7f057b7fe700) at pthread_create.c:310
#6  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f0580e89700 (LWP 5517)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x1fc0260) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x32315c0, mutex=mutex@entry=0x3246428, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0602607cd5 in QThreadPoolThread::run() (this=0x32315b0) at concurrent/qthreadpool.cpp:142
#4  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x32315b0) at thread/qthread_unix.cpp:349
#5  0x00007f0603c3f52a in start_thread (arg=0x7f0580e89700) at pthread_create.c:310
#6  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f057bfff700 (LWP 5518)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x3235510) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x3041360, mutex=mutex@entry=0x3246428, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0602607cd5 in QThreadPoolThread::run() (this=0x3041350) at concurrent/qthreadpool.cpp:142
#4  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x3041350) at thread/qthread_unix.cpp:349
#5  0x00007f0603c3f52a in start_thread (arg=0x7f057bfff700) at pthread_create.c:310
#6  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f0591b20700 (LWP 5519)):
#0  0x00007f0603c44939 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238
#1  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (time=30000, this=0x3234dc0) at thread/qwaitcondition_unix.cpp:84
#2  0x00007f0602614954 in QWaitCondition::wait(QMutex*, unsigned long) (this=this@entry=0x315da00, mutex=mutex@entry=0x3246428, time=30000) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f0602607cd5 in QThreadPoolThread::run() (this=0x315d9f0) at concurrent/qthreadpool.cpp:142
#4  0x00007f060261441f in QThreadPrivate::start(void*) (arg=0x315d9f0) at thread/qthread_unix.cpp:349
#5  0x00007f0603c3f52a in start_thread (arg=0x7f0591b20700) at pthread_create.c:310
#6  0x00007f0601aad22d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f0606b928c0 (LWP 5092)):
[KCrash Handler]
#6  0x00007f06019e18d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f06019e353a in __GI_abort () at abort.c:89
#8  0x00007f0601a24da3 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7f0601b342f0 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007f0601a2e07a in _int_malloc (ptr=<optimized out>, str=0x7f0601b34460 "malloc(): smallbin double linked list corrupted", action=3) at malloc.c:4974
#10 0x00007f0601a2e07a in _int_malloc (av=av@entry=0x7f0601d64cc0 <main_arena>, bytes=bytes@entry=24) at malloc.c:3355
#11 0x00007f0601a3015e in __GI___libc_malloc (bytes=24) at malloc.c:2896
#12 0x00007f06022e8608 in operator new(unsigned long) (sz=24) at ../../../../libstdc++-v3/libsupc++/new_op.cc:49
#13 0x00007f0606786b30 in bt::MetadataDownload::download(unsigned int) () at /lib64/libktorrent.so.5
#14 0x00007f0606786ddd in bt::MetadataDownload::downloadNext() () at /lib64/libktorrent.so.5
#15 0x00007f0606787158 in bt::MetadataDownload::data(unsigned int, QByteArray const&) () at /lib64/libktorrent.so.5
#16 0x00007f06067099ab in bt::UTMetaData::data(bt::BDictNode*, QByteArray const&) () at /lib64/libktorrent.so.5
#17 0x00007f060670a2e7 in bt::UTMetaData::handlePacket(unsigned char const*, unsigned int) () at /lib64/libktorrent.so.5
#18 0x00007f06066ff06d in bt::Peer::handleExtendedPacket(unsigned char const*, unsigned int) () at /lib64/libktorrent.so.5
#19 0x00007f0606707d25 in bt::PacketReader::update(bt::PeerInterface&) () at /lib64/libktorrent.so.5
#20 0x00007f06066fbf28 in bt::Peer::update() () at /lib64/libktorrent.so.5
#21 0x00007f0606703acb in bt::PeerManager::Private::update() () at /lib64/libktorrent.so.5
#22 0x000000000044d44f in kt::MagnetModel::updateMagnetDownloaders() ()
#23 0x000000000042bbee in kt::Core::update() ()
#24 0x0000000000433e65 in kt::Core::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) ()
#25 0x00007f0602732d9c in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=0x1faa668, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3567
#26 0x00007f0602737363 in QObject::event(QEvent*) (this=0x1faa668, e=<optimized out>) at kernel/qobject.cpp:1253
#27 0x00007f0602c4eefc in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x1d52320, receiver=receiver@entry=0x1faa668, e=e@entry=0x7ffe6e8ec490) at kernel/qapplication.cpp:4565
#28 0x00007f0602c55958 in QApplication::notify(QObject*, QEvent*) (this=0x7ffe6e8ed3f0, receiver=0x1faa668, e=0x7ffe6e8ec490) at kernel/qapplication.cpp:4351
#29 0x000000000043a662 in kt::App::notify(QObject*, QEvent*) ()
#30 0x00007f060271e22d in QCoreApplication::notifyInternal(QObject*, QEvent*) (this=0x7ffe6e8ed3f0, receiver=0x1faa668, event=event@entry=0x7ffe6e8ec490) at kernel/qcoreapplication.cpp:953
#31 0x00007f060274fbab in QTimerInfoList::activateTimers() (event=0x7ffe6e8ec490, receiver=<optimized out>) at kernel/qcoreapplication.h:231
#32 0x00007f060274fbab in QTimerInfoList::activateTimers() (this=0x1d52730) at kernel/qeventdispatcher_unix.cpp:621
#33 0x00007f060274cbc9 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193
#34 0x00007f060274cbc9 in idleTimerSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240
#35 0x00007f05fb7ae7fb in g_main_context_dispatch (context=0x1d5a990) at gmain.c:3111
#36 0x00007f05fb7ae7fb in g_main_context_dispatch (context=context@entry=0x1d5a990) at gmain.c:3710
#37 0x00007f05fb7aeb98 in g_main_context_iterate (context=context@entry=0x1d5a990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3781
#38 0x00007f05fb7aec4c in g_main_context_iteration (context=0x1d5a990, may_block=1) at gmain.c:3842
#39 0x00007f060274d55e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x1d46b90, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#40 0x00007f0602cf2176 in QGuiEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#41 0x00007f060271cd81 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe6e8ec710, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f060271d0e5 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe6e8ec710, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f06027227c9 in QCoreApplication::exec() () at kernel/qcoreapplication.cpp:1225
#44 0x00000000004278e8 in main ()

Possible duplicates by query: bug 346742.

Reported using DrKonqi
Comment 1 Kerry N 2015-07-07 03:52:27 UTC
Created attachment 93507 [details]
New crash information added by DrKonqi

ktorrent (4.3.1) on KDE Platform 4.14.9 using Qt 4.8.6

- What I was doing when the application crashed:
Adding a new torrent through ctrl-p. Application crashed before it opened.

-- Backtrace (Reduced):
#6  0x00007f2114ee98d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007f2114eeb53a in __GI_abort () at abort.c:89
[...]
#9  0x00007f2114f3607a in _int_malloc (ptr=<optimized out>, str=0x7f211503c460 "malloc(): smallbin double linked list corrupted", action=3) at malloc.c:4974
#10 0x00007f2114f3607a in _int_malloc (av=av@entry=0x7f211526ccc0 <main_arena>, bytes=bytes@entry=129) at malloc.c:3355
#11 0x00007f2114f375a2 in _int_realloc (av=av@entry=0x7f211526ccc0 <main_arena>, oldp=oldp@entry=0x3e1e700, oldsize=oldsize@entry=112, nb=nb@entry=144) at malloc.c:4282
Comment 2 Kerry N 2015-08-22 04:35:24 UTC
Created attachment 94159 [details]
New crash information added by DrKonqi

ktorrent (4.3.1) on KDE Platform 4.14.9 using Qt 4.8.6

- What I was doing when the application crashed:
Used ctrl-p to open new torrent.
Ok
Application crash

-- Backtrace (Reduced):
#6  0x00007fa6e7b548d7 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55
#7  0x00007fa6e7b5653a in __GI_abort () at abort.c:89
[...]
#9  0x00007fa6e7ba107a in _int_malloc (ptr=<optimized out>, str=0x7fa6e7ca7460 "malloc(): smallbin double linked list corrupted", action=3) at malloc.c:4974
#10 0x00007fa6e7ba107a in _int_malloc (av=av@entry=0x7fa6e7ed7cc0 <main_arena>, bytes=bytes@entry=129) at malloc.c:3355
#11 0x00007fa6e7ba25a2 in _int_realloc (av=av@entry=0x7fa6e7ed7cc0 <main_arena>, oldp=oldp@entry=0x2edbc40, oldsize=oldsize@entry=64, nb=nb@entry=144) at malloc.c:4282
Comment 3 Kerry N 2015-11-09 20:10:19 UTC
Created attachment 95410 [details]
New crash information added by DrKonqi

ktorrent (4.3.1) on KDE Platform 4.14.11 using Qt 4.8.6

- What I was doing when the application crashed:
Used ctrl-p to open new torrent, immediately crashed.

-- Backtrace (Reduced):
#6  0x00007fb4c3c9e4c4 in net::DownloadThread::update() () at /lib64/libktorrent.so.5
#7  0x00007fb4c3c9e669 in net::NetworkThread::run() () at /lib64/libktorrent.so.5
#8  0x00007fb4bfbcc41f in QThreadPrivate::start(void*) (arg=0x12b32b0) at thread/qthread_unix.cpp:349
#9  0x00007fb4c11f752a in start_thread (arg=0x7fb43ee2f700) at pthread_create.c:310
#10 0x00007fb4bf06522d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
Comment 4 Andrew Crouthamel 2018-11-01 13:50:56 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2018-11-16 11:34:36 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Bug Janitor Service 2018-12-01 03:49:02 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!