Bug 389454 - KTorrent always crash when i immediately close it after start
Summary: KTorrent always crash when i immediately close it after start
Status: RESOLVED WORKSFORME
Alias: None
Product: ktorrent
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Joris Guisson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-01-26 09:41 UTC by Andrey
Modified: 2021-01-01 04:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (9.77 KB, text/plain)
2018-09-21 05:57 UTC, yo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2018-01-26 09:41:47 UTC
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
Comment 1 yo 2018-09-21 05:57:33 UTC
Created attachment 115134 [details]
New crash information added by DrKonqi

ktorrent (5.1.0) using Qt 5.9.5

- What I was doing when the application crashed:

Enabled the Search plugin for KTorrent.

- Unusual behavior I noticed:

No window being presented.

Or when done from the console, it never displays a window nor show a tray icon.

-- Backtrace (Reduced):
#6  0x00007f15fcfaee97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#7  0x00007f15fcfb0801 in __GI_abort () at abort.c:79
[...]
#9  0x00007f15fd00090a in malloc_printerr (str=str@entry=0x7f15fd124d88 "free(): invalid pointer") at malloc.c:5350
#10 0x00007f15fd10bb8c in _int_free (have_lock=0, p=0x7f1560003f02, av=0x7f15fd35bc40 <main_arena>) at malloc.c:4157
#11 0x00007f15fd10bb8c in __GI___libc_free (mem=0x7f1560003f12) at malloc.c:3124
Comment 2 Justin Zobel 2020-12-02 05:27:15 UTC
Thank you for the report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thank you.
Comment 3 Bug Janitor Service 2020-12-17 04:34:12 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2021-01-01 04:39:34 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!