Bug 376329 - KTorrent quits unexpectly
Summary: KTorrent quits unexpectly
Status: RESOLVED DUPLICATE of bug 379483
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-02-11 01:01 UTC by kzhou97
Modified: 2017-06-06 19:48 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 kzhou97 2017-02-11 01:01:55 UTC
Application: ktorrent (5.0.1)

Qt Version: 5.8.0
Frameworks Version: 5.30.0
Operating System: Linux 4.9.8-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
I was downloading Arch Linux ISO using the official torrent, to be more specific: I clicked on the torrent and the download seem to start, at least an empty file with the `*.iso` name is placed into the download directly, five seconds later, it crashes. This is a brand new Arch Linux install, never installed anything weried and not customizations. The package is from Arch Linux official repo.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f73e9545840 (LWP 29904))]

Thread 25 (Thread 0x7f735d7fa700 (LWP 29937)):
#0  0x00007f73e3574f19 in syscall () at /usr/lib/libc.so.6
#1  0x00007f73e4176865 in QBasicMutex::lockInternal() () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e4176922 in QMutex::lock() () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e8e11d3c in  () at /usr/lib/libktorrent.so.6
#4  0x00007f73e8e12589 in  () at /usr/lib/libktorrent.so.6
#5  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#6  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#7  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 24 (Thread 0x7f735dffb700 (LWP 29936)):
[KCrash Handler]
#6  0x00007f73e4200eac in QString::indexOf(QChar, int, Qt::CaseSensitivity) const () at /usr/lib/libQt5Core.so.5
#7  0x00007f73e8e55f66 in  () at /usr/lib/libktorrent.so.6
#8  0x00007f73e8e56d94 in  () at /usr/lib/libktorrent.so.6
#9  0x00007f73e8e54508 in  () at /usr/lib/libktorrent.so.6
#10 0x00007f73e8e552a3 in  () at /usr/lib/libktorrent.so.6
#11 0x00007f73e8e1787f in  () at /usr/lib/libktorrent.so.6
#12 0x00007f73e8e13a24 in  () at /usr/lib/libktorrent.so.6
#13 0x00007f73e8e129ca in  () at /usr/lib/libktorrent.so.6
#14 0x00007f73e8e12551 in  () at /usr/lib/libktorrent.so.6
#15 0x00007f73e8e12589 in  () at /usr/lib/libktorrent.so.6
#16 0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#17 0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#18 0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 23 (Thread 0x7f735e7fc700 (LWP 29935)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 22 (Thread 0x7f735effd700 (LWP 29934)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 21 (Thread 0x7f735f7fe700 (LWP 29933)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 20 (Thread 0x7f735ffff700 (LWP 29932)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 19 (Thread 0x7f737cff9700 (LWP 29931)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 18 (Thread 0x7f737d7fa700 (LWP 29930)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 17 (Thread 0x7f737dffb700 (LWP 29929)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 16 (Thread 0x7f737e7fc700 (LWP 29928)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 15 (Thread 0x7f737effd700 (LWP 29927)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 14 (Thread 0x7f737f7fe700 (LWP 29926)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f737ffff700 (LWP 29925)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f73a0df3700 (LWP 29924)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f73a17fa700 (LWP 29923)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f73a1ffb700 (LWP 29922)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f73a27fc700 (LWP 29921)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f73a2ffd700 (LWP 29920)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f73a37fe700 (LWP 29919)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f73a3fff700 (LWP 29918)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f73a894e700 (LWP 29917)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f73a914f700 (LWP 29916)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417bbc4 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#4  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f73cb7fe700 (LWP 29908)):
#0  0x00007f73dc5e5dd4 in g_mutex_unlock () at /usr/lib/libglib-2.0.so.0
#1  0x00007f73dc5a0114 in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#2  0x00007f73dc5a0724 in  () at /usr/lib/libglib-2.0.so.0
#3  0x00007f73dc5a089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#4  0x00007f73e43af06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f73e435889a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f73e417aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#7  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f73cbfff700 (LWP 29906)):
#0  0x00007f73e357048d in poll () at /usr/lib/libc.so.6
#1  0x00007f73dc5a0786 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f73dc5a089c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f73e43af06b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f73e435889a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f73e417aa73 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f73e2ae5125 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f73e417f6d8 in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f73deb70454 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f73e35797df in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f73e9545840 (LWP 29904)):
#0  0x00007f73deb764b8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f73e41804c6 in QWaitCondition::wait(QMutex*, unsigned long) () at /usr/lib/libQt5Core.so.5
#2  0x00007f73e417f27e in QThread::wait(unsigned long) () at /usr/lib/libQt5Core.so.5
#3  0x00007f73e8e10d27 in net::SocketMonitor::Private::shutdown() () at /usr/lib/libktorrent.so.6
#4  0x000000000043690e in  ()
#5  0x00000000004c07a5 in  ()
#6  0x00007f73e4385d49 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#7  0x00007f73e435d06b in QCoreApplicationPrivate::execCleanup() () at /usr/lib/libQt5Core.so.5
#8  0x00007f73e4360dfd in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#9  0x000000000043395a in  ()
#10 0x00007f73e34b1291 in __libc_start_main () at /usr/lib/libc.so.6
#11 0x00000000004343a9 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-06 19:48:13 UTC
If you can provide the information requested at bug 379483 comment #2, please add it there.

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