https://bugs.kde.org/show_bug.cgi?id=389454

            Bug ID: 389454
           Summary: KTorrent always crash when i immediately close it
                    after start
           Product: ktorrent
           Version: unspecified
          Platform: Ubuntu Packages
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: joris.guis...@gmail.com
          Reporter: mks...@gmail.com
  Target Milestone: ---

Application: ktorrent (5.1.0)

Qt Version: 5.9.3
Frameworks Version: 5.42.0
Operating System: Linux 4.13.0-32-generic x86_64
Distribution: KDE neon User Edition 5.11

-- Information about the crash:
- What I was doing when the application crashed:
I start ktorrent (all downloads are stoped) and then press File/quit.
Error is always reprodused

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 0x7f23026448c0 (LWP 6886))]

Thread 4 (Thread 0x7f22d0512700 (LWP 6892)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22d563160b in ?? () from
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#2  0x00007f22d5631517 in ?? () from
/usr/lib/x86_64-linux-gnu/dri/nouveau_dri.so
#3  0x00007f22f82126ba in start_thread (arg=0x7f22d0512700) at
pthread_create.c:333
#4  0x00007f22fc8d641d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f22e3fff700 (LWP 6890)):
#0  0x00007f22f67a7dd8 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f22f67a8330 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f22f67a849c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f22fd7106cb in QEventDispatcherGlib::processEvents
(this=0x7f22d80013c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f22fd6b8e2a in QEventLoop::exec (this=this@entry=0x7f22e3ffed00,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f22fd4e18f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f22fd4e6709 in QThreadPrivate::start (arg=0x1cabd00) at
thread/qthread_unix.cpp:368
#7  0x00007f22f82126ba in start_thread (arg=0x7f22e3fff700) at
pthread_create.c:333
#8  0x00007f22fc8d641d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f22e9321700 (LWP 6888)):
#0  0x00007f22fc8ca74d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f22f67a838c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f22f67a849c in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f22fd7106cb in QEventDispatcherGlib::processEvents
(this=0x7f22dc0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007f22fd6b8e2a in QEventLoop::exec (this=this@entry=0x7f22e9320cd0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#5  0x00007f22fd4e18f4 in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:515
#6  0x00007f22feb30315 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f22fd4e6709 in QThreadPrivate::start (arg=0x7f22feda4d40) at
thread/qthread_unix.cpp:368
#8  0x00007f22f82126ba in start_thread (arg=0x7f22e9321700) at
pthread_create.c:333
#9  0x00007f22fc8d641d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f23026448c0 (LWP 6886)):
[KCrash Handler]
#6  0x00007f22fc804428 in __GI_raise (sig=sig@entry=6) at
../sysdeps/unix/sysv/linux/raise.c:54
#7  0x00007f22fc80602a in __GI_abort () at abort.c:89
#8  0x00007f22fc8467ea in __libc_message (do_abort=2,
fmt=fmt@entry=0x7f22fc95fed8 "*** Error in `%s': %s: 0x%s ***\n") at
../sysdeps/posix/libc_fatal.c:175
#9  0x00007f22fc84d9dc in malloc_printerr (ar_ptr=0x7f22fcb93b20 <main_arena>,
ptr=0x1d07bb0, str=0x7f22fc95cc75 "corrupted size vs. prev_size",
action=<optimized out>) at malloc.c:5006
#10 malloc_consolidate (av=av@entry=0x7f22fcb93b20 <main_arena>) at
malloc.c:4183
#11 0x00007f22fc850cde in _int_malloc (av=av@entry=0x7f22fcb93b20 <main_arena>,
bytes=bytes@entry=3560) at malloc.c:3450
#12 0x00007f22fc853184 in __GI___libc_malloc (bytes=3560) at malloc.c:2913
#13 0x00007f22fd536d4c in QListData::detach (this=this@entry=0x7ffd786e1970,
alloc=443) at tools/qlist.cpp:120
#14 0x00007f22fe423c28 in QList<QWidget*>::detach_helper (this=0x7ffd786e1970,
alloc=<optimized out>) at
../../include/QtCore/../../src/corelib/tools/qlist.h:786
#15 0x00007f22fe41a04c in QList<QWidget*>::reserve (alloc=<optimized out>,
this=0x7ffd786e1970) at
../../include/QtCore/../../src/corelib/tools/qlist.h:572
#16 QSet<QWidget*>::toList (this=0x1c606f0) at
../../include/QtCore/../../src/corelib/tools/qset.h:371
#17 QApplication::allWidgets () at kernel/qapplication.cpp:1756
#18 0x00007f22fe41a0a9 in QApplication::topLevelWidgets () at
kernel/qapplication.cpp:1730
#19 0x00007f22fe4521c3 in QWidgetPrivate::close_helper (this=0x1caa910,
mode=<optimized out>) at kernel/qwidget.cpp:8427
#20 0x00007f22fe452700 in QWidget::~QWidget (this=0x7ffd786e22c0,
__in_chrg=<optimized out>) at kernel/qwidget.cpp:1641
#21 0x00007f230106f861 in KMainWindow::~KMainWindow (this=0x7ffd786e22c0,
__in_chrg=<optimized out>) at /workspace/build/src/kmainwindow.cpp:393
#22 0x000000000044d2d7 in kt::GUI::~GUI (this=0x7ffd786e22c0,
__in_chrg=<optimized out>, __vtt_parm=<optimized out>) at
/workspace/build/ktorrent/gui.cpp:128
#23 0x000000000043d00c in main (argc=1, argv=<optimized out>) at
/workspace/build/ktorrent/main.cpp:212

The reporter indicates this bug may be a duplicate of or related to bug 383127.

Possible duplicates by query: bug 387754, bug 387393, bug 385320, bug 384476,
bug 381268.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to