Bug 371203 - ktorrent immediately crashes
Summary: ktorrent immediately crashes
Status: RESOLVED FIXED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2016-10-19 06:48 UTC by Rewarp
Modified: 2017-06-06 07:45 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 Rewarp 2016-10-19 06:48:02 UTC
Application: ktorrent (5.0.1)

Qt Version: 5.7.0
Frameworks Version: 5.26.0
Operating System: Linux 4.7.6-1-default x86_64
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
ktorrent fails to properly launch and crashes as soon as it loads up. This behavior occurs whether it is launched on its own, or when used to open torrent links.

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7fab4f41b700 (LWP 22315)):
#0  0x00007fab909aeb39 in syscall () from /lib64/libc.so.6
#1  0x00007fab915b86c5 in QBasicMutex::lockInternal() () from /usr/lib64/libQt5Core.so.5
#2  0x00007fab915b8782 in QMutex::lock() () from /usr/lib64/libQt5Core.so.5
#3  0x00007fab9615cba9 in net::SocketMonitor::lock (this=<optimized out>) at /usr/src/debug/libktorrent-2.0.1/src/net/socketmonitor.cpp:108
#4  0x00007fab9615db8c in net::UploadThread::update (this=0x224a180) at /usr/src/debug/libktorrent-2.0.1/src/net/uploadthread.cpp:49
#5  0x00007fab9615e3d9 in net::NetworkThread::run (this=0x224a180) at /usr/src/debug/libktorrent-2.0.1/src/net/networkthread.cpp:48
#6  0x00007fab915c1558 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fab8c40e454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fab909b33ff in clone () from /lib64/libc.so.6

Thread 5 (Thread 0x7fab4fc1c700 (LWP 22314)):
[KCrash Handler]
#6  0x00007fab9164a52c in QString::indexOf(QChar, int, Qt::CaseSensitivity) const () from /usr/lib64/libQt5Core.so.5
#7  0x00007fab96199036 in HttpResponseHeader::parseLine (this=this@entry=0x7fab4fc1b9b0, line=..., number=number@entry=14) at /usr/src/debug/libktorrent-2.0.1/src/download/httpresponseheader.cpp:27
#8  0x00007fab96199af2 in HttpResponseHeader::parse (this=this@entry=0x7fab4fc1b9b0, str=...) at /usr/src/debug/libktorrent-2.0.1/src/download/httpresponseheader.cpp:88
#9  0x00007fab96197911 in HttpResponseHeader::HttpResponseHeader (str=..., this=0x7fab4fc1b9b0) at /usr/src/debug/libktorrent-2.0.1/src/download/httpresponseheader.h:27
#10 bt::HttpConnection::HttpGet::onDataReady (this=0x2c0f600, buf=buf@entry=0x7fab9648dba0 <net::input_buffer> "HTTP/1.1 302 Found\r\nCache-Control: no-cache, no-store, must-revalidate\r\nPragma: no-cache\r\nContent-Type: text/html; charset=utf-8\r\nExpires: -1\r\nLocation: http://201406.jb-dl.cdn.scaleengine.net/las/201"..., size=size@entry=665) at /usr/src/debug/libktorrent-2.0.1/src/download/httpconnection.cpp:386
#11 0x00007fab961984fb in bt::HttpConnection::onDataReady (this=0x2c0e270, buf=0x7fab9648dba0 <net::input_buffer> "HTTP/1.1 302 Found\r\nCache-Control: no-cache, no-store, must-revalidate\r\nPragma: no-cache\r\nContent-Type: text/html; charset=utf-8\r\nExpires: -1\r\nLocation: http://201406.jb-dl.cdn.scaleengine.net/las/201"..., size=665) at /usr/src/debug/libktorrent-2.0.1/src/download/httpconnection.cpp:158
#12 0x00007fab9616269f in net::TrafficShapedSocket::read (this=0x2bfce80, max_bytes_to_read=106230, now=1476859486396) at /usr/src/debug/libktorrent-2.0.1/src/net/trafficshapedsocket.cpp:142
#13 0x00007fab9615f4e3 in net::SocketGroup::processLimited (this=0x224a0d0, up=false, now=1476859486396, allowance=@0x7fab4fc1bbb4: 106230) at /usr/src/debug/libktorrent-2.0.1/src/net/socketgroup.cpp:79
#14 0x00007fab9615f750 in net::SocketGroup::process (this=0x224a0d0, up=<optimized out>, now=<optimized out>, global_allowance=@0x7fab4fc1bbb4: 106230) at /usr/src/debug/libktorrent-2.0.1/src/net/socketgroup.cpp:188
#15 0x00007fab9615e627 in net::NetworkThread::doGroupsLimited (this=this@entry=0x2249e50, num_ready=num_ready@entry=1, now=now@entry=1476859486396, allowance=@0x7fab4fc1bc10: 106230) at /usr/src/debug/libktorrent-2.0.1/src/net/networkthread.cpp:111
#16 0x00007fab9615e921 in net::NetworkThread::doGroups (this=this@entry=0x2249e50, num_ready=num_ready@entry=1, now=now@entry=1476859486396, limit=<optimized out>) at /usr/src/debug/libktorrent-2.0.1/src/net/networkthread.cpp:190
#17 0x00007fab9615e396 in net::DownloadThread::update (this=0x2249e50) at /usr/src/debug/libktorrent-2.0.1/src/net/downloadthread.cpp:83
#18 0x00007fab9615e3d9 in net::NetworkThread::run (this=0x2249e50) at /usr/src/debug/libktorrent-2.0.1/src/net/networkthread.cpp:48
#19 0x00007fab915c1558 in ?? () from /usr/lib64/libQt5Core.so.5
#20 0x00007fab8c40e454 in start_thread () from /lib64/libpthread.so.0
#21 0x00007fab909b33ff in clone () from /lib64/libc.so.6

Thread 4 (Thread 0x7fab5f6ab700 (LWP 22302)):
#0  0x00007fab8c41410f in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1  0x00007fab66a6af73 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#2  0x00007fab66a6ab37 in ?? () from /usr/lib64/dri/radeonsi_dri.so
#3  0x00007fab8c40e454 in start_thread () from /lib64/libpthread.so.0
#4  0x00007fab909b33ff in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7fab7c857700 (LWP 22299)):
#0  0x00007fab909aa6ed in poll () from /lib64/libc.so.6
#1  0x00007fab89bff876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fab89bff98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fab917e479b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fab9178e1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fab915bc8b3 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fab915c1558 in ?? () from /usr/lib64/libQt5Core.so.5
#7  0x00007fab8c40e454 in start_thread () from /lib64/libpthread.so.0
#8  0x00007fab909b33ff in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7fab7d4ef700 (LWP 22297)):
#0  0x00007fab909aa6ed in poll () from /lib64/libc.so.6
#1  0x00007fab89bff876 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007fab89bff98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007fab917e479b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#4  0x00007fab9178e1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#5  0x00007fab915bc8b3 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x00007fab8ff3dc15 in ?? () from /usr/lib64/libQt5DBus.so.5
#7  0x00007fab915c1558 in ?? () from /usr/lib64/libQt5Core.so.5
#8  0x00007fab8c40e454 in start_thread () from /lib64/libpthread.so.0
#9  0x00007fab909b33ff in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7fab968f2940 (LWP 22295)):
#0  0x00007fab909aeb39 in syscall () from /lib64/libc.so.6
#1  0x00007fab915b86c5 in QBasicMutex::lockInternal() () from /usr/lib64/libQt5Core.so.5
#2  0x00007fab915b8782 in QMutex::lock() () from /usr/lib64/libQt5Core.so.5
#3  0x00007fab96195fc5 in QMutexLocker::QMutexLocker (m=0x2c0e2a0, this=<synthetic pointer>) at /usr/include/qt5/QtCore/qmutex.h:137
#4  bt::HttpConnection::ok (this=0x2c0e270) at /usr/src/debug/libktorrent-2.0.1/src/download/httpconnection.cpp:87
#5  0x00007fab96189171 in bt::WebSeed::update (this=0x240f9c0) at /usr/src/debug/libktorrent-2.0.1/src/download/webseed.cpp:318
#6  0x00007fab96192468 in bt::Downloader::update (this=0x2403660) at /usr/src/debug/libktorrent-2.0.1/src/download/downloader.cpp:201
#7  0x00007fab961afe6a in bt::TorrentControl::update (this=0x236b4e0) at /usr/src/debug/libktorrent-2.0.1/src/torrent/torrentcontrol.cpp:167
#8  0x0000000000437b56 in kt::Core::update (this=0x233f430) at /usr/src/debug/ktorrent-5.0.1/ktorrent/core.cpp:1000
#9  0x00007fab917bc21e in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#10 0x00007fab917c8828 in QTimer::timerEvent(QTimerEvent*) () from /usr/lib64/libQt5Core.so.5
#11 0x00007fab917bcd13 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#12 0x00007fab92c7f92c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007fab92c870e1 in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007fab91790200 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#15 0x00007fab917e371e in QTimerInfoList::activateTimers() () from /usr/lib64/libQt5Core.so.5
#16 0x00007fab917e3c41 in ?? () from /usr/lib64/libQt5Core.so.5
#17 0x00007fab89bff677 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#18 0x00007fab89bff8e0 in ?? () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fab89bff98c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fab917e479b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#21 0x00007fab9178e1ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#22 0x00007fab9179695c in QCoreApplication::exec() () from /usr/lib64/libQt5Core.so.5
#23 0x0000000000436113 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/ktorrent-5.0.1/ktorrent/main.cpp:238

Reported using DrKonqi