Summary: | Ktorrent Crashes on shutdown | ||
---|---|---|---|
Product: | [Applications] ktorrent | Reporter: | Timothy <timothy.m.butterworth> |
Component: | general | Assignee: | Joris Guisson <joris.guisson> |
Status: | RESOLVED DUPLICATE | ||
Severity: | crash | CC: | andrius, idarktemplar, kde, kjchapman80, nils |
Priority: | NOR | Keywords: | drkonqi |
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Neon | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
New crash information added by DrKonqi
valgrind.log |
Description
Timothy
2017-09-07 22:28:01 UTC
Created attachment 107805 [details]
New crash information added by DrKonqi
ktorrent (5.1.0) using Qt 5.7.1
- What I was doing when the application crashed:
I was viewing the Files tree of a completed and stopped torrent when I quit the application via the File menu. This crash seems to be happening every time I quit KTorrent.
-- Backtrace (Reduced):
#6 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7 0x00007f946297abfa in __GI_abort () at abort.c:89
[...]
#9 0x00007f94629c33de in malloc_printerr (action=3, str=0x7f9462abbebb "corrupted double-linked list", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5077
#10 0x00007f94629c44a6 in _int_free (av=0x7f9462cefae0 <main_arena>, p=0x22b9060, have_lock=0) at malloc.c:4012
#11 0x00000000004bc2ca in QTypedArrayData<unsigned short>::deallocate (data=<optimized out>) at /usr/include/qt5/QtCore/qarraydata.h:228
Same here on Kubuntu 17.10 Application: ktorrent (5.1.0) Qt Version: 5.9.1 Frameworks Version: 5.38.0 Operating System: Linux 4.13.0-11-generic x86_64 Distribution: Ubuntu Artful Aardvark (development branch) -- Information about the crash: <Erklären Sie bitte ganz genau, was Sie machten, als das Programm abstürzte.> The crash can be reproduced every time. -- Backtrace: Application: KTorrent (ktorrent), signal: Segmentation fault Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [Current thread is 1 (Thread 0x7f57440c1900 (LWP 24746))] Thread 16 (Thread 0x7f56c9ffb700 (LWP 24916)): #0 0x00007f57380db047 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f57380dd59b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573db4a7fc in start_thread (arg=0x7f56c9ffb700) at pthread_create.c:465 #9 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7f56ca7fc700 (LWP 24915)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f56b4002de0, nfds=1, timeout=98200) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f56ca7fc700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7f56caffd700 (LWP 24914)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f56c0002c80, nfds=1, timeout=98200) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f56caffd700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7f5717fff700 (LWP 24913)): #0 0x00007f573e069f2d in __GI___libc_read (fd=21, buf=0x7f5717ffea90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26 #1 0x00007f5738122240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f573db4a7fc in start_thread (arg=0x7f5717fff700) at pthread_create.c:465 #10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7f56cb7fe700 (LWP 24912)): #0 0x00007f5738122233 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573db4a7fc in start_thread (arg=0x7f56cb7fe700) at pthread_create.c:465 #9 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7f56cbfff700 (LWP 24911)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f56c40029e0, nfds=1, timeout=98201) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f56cbfff700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7f56f0b87700 (LWP 24910)): #0 0x00007f57380daff0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f57380dd59b in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573db4a7fc in start_thread (arg=0x7f56f0b87700) at pthread_create.c:465 #9 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 9 (Thread 0x7f56f1388700 (LWP 24909)): #0 0x00007f573e069f2d in __GI___libc_read (fd=24, buf=0x7f56f1387a90, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:26 #1 0x00007f5738122240 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380ddc0b in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de0d0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #5 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f573db4a7fc in start_thread (arg=0x7f56f1388700) at pthread_create.c:465 #10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7f5709c87700 (LWP 24908)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f57180029e0, nfds=1, timeout=98205) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f5709c87700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7f570a4a1700 (LWP 24907)): #0 0x00007f5738123570 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #1 0x00007f57380dd673 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #8 0x00007f573db4a7fc in start_thread (arg=0x7f570a4a1700) at pthread_create.c:465 #9 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 6 (Thread 0x7f5708c9e700 (LWP 24906)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f56fc00d450, nfds=1, timeout=98568) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f5708c9e700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7f570b4a3700 (LWP 24853)): #0 0x00007f573e069f2d in __GI___libc_read (fd=59, buf=0x7f570b4a2aee, nbytes=10) at ../sysdeps/unix/sysv/linux/read.c:26 #1 0x00007f5731375e41 in pa_read () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so #2 0x00007f57365a59fe in pa_mainloop_prepare () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #3 0x00007f57365a6470 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #4 0x00007f57365a6530 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #5 0x00007f57365b4399 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #6 0x00007f57313a4ed8 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-10.0.so #7 0x00007f573db4a7fc in start_thread (arg=0x7f570b4a3700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7f570aca2700 (LWP 24790)): #0 0x00007f573db51072 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55cfbe99aa30) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x55cfbe99a9e0, cond=0x55cfbe99aa08) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=0x55cfbe99aa08, mutex=0x55cfbe99a9e0) at pthread_cond_wait.c:655 #3 0x00007f573ece66cb in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f5743712413 in ?? () from /usr/lib/x86_64-linux-gnu/libKF5Torrent.so.6 #5 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573db4a7fc in start_thread (arg=0x7f570aca2700) at pthread_create.c:465 #7 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7f5725013700 (LWP 24750)): #0 0x00007f573e06e831 in __GI___poll (fds=0x7f571c002de0, nfds=1, timeout=9200) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007f57380de129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #4 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f573db4a7fc in start_thread (arg=0x7f5725013700) at pthread_create.c:465 #8 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7f5726a25700 (LWP 24748)): #0 0x00007f573ef1b324 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #1 0x00007f57380dd668 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #2 0x00007f57380de05b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00007f57380de23c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x00007f573ef1b41b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #5 0x00007f573eec0dba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #6 0x00007f573ece03ca in QThread::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #7 0x00007f5740342e45 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5 #8 0x00007f573ece529d in ?? () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #9 0x00007f573db4a7fc in start_thread (arg=0x7f5726a25700) at pthread_create.c:465 #10 0x00007f573e07aa3f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7f57440c1900 (LWP 24746)): [KCrash Handler] #6 0x000055cfbd54c5c1 in ?? () #7 0x00007f573ff021ac in QStyledItemDelegate::initStyleOption(QStyleOptionViewItem*, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #8 0x00007f573ff016ac in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #9 0x00007f573fec3b7a in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #10 0x00007f573fec44ee in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #11 0x00007f573fecc4ae in QTreeView::doItemsLayout() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #12 0x00007f573fec6cb5 in QTreeViewPrivate::updateScrollBars() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #13 0x00007f573fecdff8 in QTreeView::updateGeometries() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #14 0x00007f573fc7e962 in QWidget::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #15 0x00007f573fd5d2ce in QFrame::event(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #16 0x00007f573fe8ec3b in QAbstractItemView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #17 0x00007f573feccd0c in QTreeView::viewportEvent(QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #18 0x00007f573eec2a4c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #19 0x00007f573fc3d445 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #20 0x00007f573fc44d34 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #21 0x00007f573eec2d68 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #22 0x00007f573fc76ebb in QWidgetPrivate::sendPendingMoveAndResizeEvents(bool, bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #23 0x00007f573fc7ac93 in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #24 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #25 0x00007f573fc7ac00 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #26 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #27 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #28 0x00007f573fc7ac00 in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #29 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #30 0x00007f573fc7abae in QWidgetPrivate::showChildren(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #31 0x00007f573fc7acaf in QWidgetPrivate::show_helper() () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #32 0x00007f573fc7d95b in QWidget::setVisible(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #33 0x00007f5743ac362d in kt::TabBarWidget::unshrink() () from /usr/lib/x86_64-linux-gnu/libktcore.so.16 #34 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #35 0x00007f5743acd27f in ?? () from /usr/lib/x86_64-linux-gnu/libktcore.so.16 #36 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #37 0x00007f573fc36e02 in QAction::toggled(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #38 0x00007f573fc3935c in QAction::setChecked(bool) () from /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5 #39 0x00007f570c6c5368 in ?? () from /usr/lib/x86_64-linux-gnu/qt5/plugins/ktorrent/ktorrent_infowidget.so #40 0x00007f5743ac4f36 in kt::PluginManager::unloadAll() () from /usr/lib/x86_64-linux-gnu/libktcore.so.16 #41 0x000055cfbd51afed in ?? () #42 0x00007f573eef197f in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #43 0x00007f573eec1597 in QCoreApplication::aboutToQuit(QCoreApplication::QPrivateSignal) () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #44 0x00007f573eec5a9b in QCoreApplicationPrivate::execCleanup() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #45 0x00007f573eec9d3d in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 #46 0x000055cfbd51802a in ?? () #47 0x00007f573df871c1 in __libc_start_main (main=0x55cfbd515d60, argc=1, argv=0x7ffe38b38a28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe38b38a18) at ../csu/libc-start.c:308 #48 0x000055cfbd518a0a in _start () The reporter indicates this bug may be a duplicate of or related to bug 384476. Possible duplicates by query: bug 384476, bug 384299, bug 383127, bug 372765, bug 369352. Created attachment 108116 [details]
valgrind.log
I've hit same issue after an upgrade from ktorrent-5.0.1 to ktorrent-5.1.0.
I've ran it with valgrind and found a lot of memory errors after following message:
вс окт. 1 00:53:16 2017: Qt Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
Warning: 0x2e7b6590 deleted without having been removed from the factory first. This will leak standalone popupmenus and could lead to crashes.
There's a lot of errors related to core.cpp:879 in valgrind log. This line contains following code:
qman->clear();
And here's backtrace of crash:
Thread 1 "ktorrent" received signal SIGABRT, Aborted.
0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: Нет такого файла или каталога.
(gdb) bt
#0 0x00007ffff2f620d8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff2f6355a in __GI_abort () at abort.c:89
#2 0x00007ffff2f9ee60 in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x7ffff3093220 "*** Error in `%s': %s: 0x%s ***\n") at ../sysdeps/posix/libc_fatal.c:175
#3 0x00007ffff2fa46d6 in malloc_printerr (action=3, str=0x7ffff3093628 "malloc(): memory corruption (fast)", ptr=<optimized out>, ar_ptr=<optimized out>) at malloc.c:5004
#4 0x00007ffff2fa6a36 in _int_malloc (av=av@entry=0x7ffff32c2b00 <main_arena>, bytes=bytes@entry=120) at malloc.c:3384
#5 0x00007ffff2fa8474 in __GI___libc_malloc (bytes=120) at malloc.c:2911
#6 0x00007ffff3c79aa0 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () from /usr/lib64/libQt5Core.so.5
#7 0x00007ffff4186ecf in ?? () from /usr/lib64/libQt5Gui.so.5
#8 0x00007ffff41fc6b9 in QTextEngine::shapeText(int) const () from /usr/lib64/libQt5Gui.so.5
#9 0x00007ffff41fcfad in QTextEngine::shape(int) const () from /usr/lib64/libQt5Gui.so.5
#10 0x00007ffff420e4fb in QTextLine::layout_helper(int) () from /usr/lib64/libQt5Gui.so.5
#11 0x00007ffff420f24b in QTextLine::setLineWidth(double) () from /usr/lib64/libQt5Gui.so.5
#12 0x00007ffff46b73f1 in ?? () from /usr/lib64/libQt5Widgets.so.5
#13 0x00007ffff46b8e47 in ?? () from /usr/lib64/libQt5Widgets.so.5
#14 0x00007ffff46b9761 in ?? () from /usr/lib64/libQt5Widgets.so.5
#15 0x00007ffff46ba04e in QCommonStyle::sizeFromContents(QStyle::ContentsType, QStyleOption const*, QSize const&, QWidget const*) const () from
/usr/lib64/libQt5Widgets.so.5
#16 0x00007ffff4725123 in ?? () from /usr/lib64/libQt5Widgets.so.5
#17 0x00007ffff4910cc3 in QStyledItemDelegate::sizeHint(QStyleOptionViewItem const&, QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#18 0x00000000004c6e04 in kt::ViewDelegate::sizeHint (this=<optimized out>, option=..., index=...)
at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/view/viewdelegate.cpp:190
#19 0x00007ffff48c9f1c in QTreeView::indexRowSizeHint(QModelIndex const&) const () from /usr/lib64/libQt5Widgets.so.5
#20 0x00007ffff48caa8d in QTreeViewPrivate::layout(int, bool, bool) () from /usr/lib64/libQt5Widgets.so.5
#21 0x00007ffff48d2ea6 in QTreeView::doItemsLayout() () from /usr/lib64/libQt5Widgets.so.5
#22 0x00007ffff48cc853 in QTreeViewPrivate::updateScrollBars() () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007ffff48d49a3 in QTreeView::updateGeometries() () from /usr/lib64/libQt5Widgets.so.5
#24 0x00007ffff488de79 in ?? () from /usr/lib64/libQt5Widgets.so.5
#25 0x00007ffff3e377e7 in QMetaObject::activate(QObject*, int, int, void**) () from /usr/lib64/libQt5Core.so.5
#26 0x00007ffff48a1ebd in QHeaderView::viewportEvent(QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#27 0x00007ffff3e1116d in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#28 0x00007ffff4640aa5 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#29 0x00007ffff464846e in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#30 0x00007ffff3e113aa in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#31 0x00007ffff4682b7a in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#32 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#33 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#34 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#35 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#36 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#37 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#38 0x00007ffff4682b62 in QWidgetPrivate::hideChildren(bool) () from /usr/lib64/libQt5Widgets.so.5
#39 0x00007ffff4682e34 in QWidgetPrivate::hide_helper() () from /usr/lib64/libQt5Widgets.so.5
#40 0x00007ffff46876b0 in QWidget::setVisible(bool) () from /usr/lib64/libQt5Widgets.so.5
#41 0x00007ffff4683038 in QWidgetPrivate::close_helper(QWidgetPrivate::CloseMode) () from /usr/lib64/libQt5Widgets.so.5
#42 0x00007ffff46835a8 in QWidget::~QWidget() () from /usr/lib64/libQt5Widgets.so.5
#43 0x00007ffff691a541 in KMainWindow::~KMainWindow() () from /usr/lib64/libKF5XmlGui.so.5
#44 0x000000000044dc97 in kt::GUI::~GUI (this=0x7fffffffd9c0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>)
at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/gui.cpp:128
#45 0x000000000043d4fc in main (argc=1, argv=<optimized out>) at /var/tmp/portage/net-p2p/ktorrent-5.1.0/work/ktorrent-5.1.0/ktorrent/main.cpp:212
*** Bug 385320 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 383127 *** |