Bug 389708 - KTorrent crashes after starting
Summary: KTorrent crashes after starting
Status: RESOLVED UNMAINTAINED
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: 4.3.1
Platform: Debian stable Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-31 17:34 UTC by Daniel
Modified: 2018-02-15 00:57 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 Daniel 2018-01-31 17:34:43 UTC
Application: ktorrent (4.3.1)
KDE Platform Version: 4.14.26
Qt Version: 4.8.7
Operating System: Linux 4.9.0-5-amd64 x86_64
Distribution: Debian GNU/Linux 9.3 (stretch)

-- Information about the crash:
KDE crashes after starting. It doesn't stay open long enough for me to remove or stop any torrents.

The crash can be reproduced every time.

-- Backtrace:
Application: KTorrent (ktorrent), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7eff74a9dd80 (LWP 3572))]

Thread 11 (Thread 0x7eff00f6d700 (LWP 3585)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007eff4e66d739 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007eff4e984ccb in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007eff6dfcf494 in start_thread (arg=0x7eff00f6d700) at pthread_create.c:333
#4  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 10 (Thread 0x7eff01df5700 (LWP 3584)):
#0  0x00007eff708606ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007eff6c3219f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff6c321b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff71578876 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff715467ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#5  0x00007eff71546b55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#6  0x00007eff714354d9 in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#7  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#8  0x00007eff6dfcf494 in start_thread (arg=0x7eff01df5700) at pthread_create.c:333
#9  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 9 (Thread 0x7eff027fc700 (LWP 3583)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007eff714382f4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007eff7142af97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff6dfcf494 in start_thread (arg=0x7eff027fc700) at pthread_create.c:333
#5  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 8 (Thread 0x7eff02ffd700 (LWP 3582)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007eff714382f4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007eff7142af97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff6dfcf494 in start_thread (arg=0x7eff02ffd700) at pthread_create.c:333
#5  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 7 (Thread 0x7eff037fe700 (LWP 3581)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007eff714382f4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007eff7142af97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff6dfcf494 in start_thread (arg=0x7eff037fe700) at pthread_create.c:333
#5  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 6 (Thread 0x7eff03fff700 (LWP 3580)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007eff714382f4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007eff7142af97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff6dfcf494 in start_thread (arg=0x7eff03fff700) at pthread_create.c:333
#5  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 5 (Thread 0x7eff08a2f700 (LWP 3579)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:225
#1  0x00007eff714382f4 in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#2  0x00007eff7142af97 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#3  0x00007eff71437daa in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#4  0x00007eff6dfcf494 in start_thread (arg=0x7eff08a2f700) at pthread_create.c:333
#5  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 4 (Thread 0x7eff098c9700 (LWP 3578)):
#0  0x00007eff708606ad in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007eff6c3219f6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff6c321d82 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff63dba656 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007eff6c3493d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007eff6dfcf494 in start_thread (arg=0x7eff098c9700) at pthread_create.c:333
#6  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 3 (Thread 0x7eff0a0ca700 (LWP 3577)):
#0  0x00007eff7085c71d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007eff6c365d40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007eff6c3214be in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007eff6c321994 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007eff6c321b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007eff6c321b51 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007eff6c3493d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007eff6dfcf494 in start_thread (arg=0x7eff0a0ca700) at pthread_create.c:333
#8  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7eff57557700 (LWP 3576)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007eff4e95395f in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007eff4e9539b9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007eff6dfcf494 in start_thread (arg=0x7eff57557700) at pthread_create.c:333
#4  0x00007eff70869aff in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7eff74a9dd80 (LWP 3572)):
[KCrash Handler]
#6  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007eff707b53fa in __GI_abort () at abort.c:89
#8  0x00007eff707f1bd0 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7eff708e533c "*** %s ***: %s terminated\n") at ../sysdeps/posix/libc_fatal.c:175
#9  0x00007eff7087a227 in __GI___fortify_fail (msg=msg@entry=0x7eff708e52d3 "buffer overflow detected") at fortify_fail.c:30
#10 0x00007eff70878360 in __GI___chk_fail () at chk_fail.c:28
#11 0x00007eff7087a19a in __fdelt_chk (d=<optimized out>) at fdelt_chk.c:25
#12 0x00007eff7344f367 in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#13 0x00007eff7344cb0a in ?? () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#14 0x00007eff734450e6 in QAbstractSocket::waitForBytesWritten(int) () from /usr/lib/x86_64-linux-gnu/libQtNetwork.so.4
#15 0x00007eff73a9aebf in ?? () from /usr/lib/libkio.so.5
#16 0x00007eff73a9bcd7 in KIO::Connection::sendnow(int, QByteArray const&) () from /usr/lib/libkio.so.5
#17 0x00007eff73a9c30c in ?? () from /usr/lib/libkio.so.5
#18 0x00007eff73b6e25c in KIO::Slave::accept() () from /usr/lib/libkio.so.5
#19 0x00007eff7155c660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#20 0x00007eff7155c660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#21 0x00007eff73a9b0c3 in ?? () from /usr/lib/libkio.so.5
#22 0x00007eff7155c660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#23 0x00007eff729a8194 in KLocalSocketServer::incomingConnection(int) () from /usr/lib/libkdecore.so.5
#24 0x00007eff72a1ea2c in ?? () from /usr/lib/libkdecore.so.5
#25 0x00007eff7155c660 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#26 0x00007eff715ad70e in QSocketNotifier::activated(int) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#27 0x00007eff71566dfb in QSocketNotifier::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#28 0x00007eff71a7454c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#29 0x00007eff71a7b52c in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#30 0x0000556467dd4271 in ?? ()
#31 0x00007eff71547f1d in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#32 0x00007eff71578e12 in ?? () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#33 0x00007eff6c3217f7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007eff6c321a60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007eff6c321b0c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007eff71578854 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#37 0x00007eff71b1e5d6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
#38 0x00007eff715467ef in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#39 0x00007eff71546b55 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#40 0x00007eff7154cbd9 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
#41 0x0000556467dbf623 in ?? ()
#42 0x00007eff707a12b1 in __libc_start_main (main=0x556467dbd3c0, argc=6, argv=0x7ffcbbf21098, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffcbbf21088) at ../csu/libc-start.c:291
#43 0x0000556467dc15fa in _start ()

Possible duplicates by query: bug 385281.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-02-15 00:57:48 UTC
Please use the Qt5 version of KTorrent (with at least Qt 5.7.0).