Bug 394453

Summary: Konsole crashed when closed while a process is running
Product: [Applications] konsole Reporter: Luca Carlon <carlon.luca>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 17.12.3   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Luca Carlon 2018-05-19 19:43:03 UTC
Application: konsole (17.12.3)

Qt Version: 5.9.5
Frameworks Version: 5.44.0
Operating System: Linux 4.15.0-20-generic x86_64
Distribution: Ubuntu 18.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

Konsole seems to crash on wayland when closed with a process running. I just open a process without detaching, like docker, or kate., then keep it running and close konsole. A dialog asks me if I'm sure I want to close. Then the crash happens. Tried a few times and the crash always happened.

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f58b18b9180 (LWP 16665))]

Thread 2 (Thread 0x7f589c5e0700 (LWP 16667)):
#0  0x00007f58b11c40b4 in __GI___libc_read (fd=6, buf=0x7f589c5dfb60, nbytes=16) at ../sysdeps/unix/sysv/linux/read.c:27
#1  0x00007f58a7297960 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f58a7252f27 in g_main_context_check () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f58a72533e0 in  () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f58a725354c in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f58ad72690b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f58ad6cb9ea in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f58ad4ea22a in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f58ab87bd45 in  () at /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#9  0x00007f58ad4ef16d in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f58a8f2b6db in start_thread (arg=0x7f589c5e0700) at pthread_create.c:463
#11 0x00007f58b11d588f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f58b18b9180 (LWP 16665)):
[KCrash Handler]
#6  0x00007f58a0046609 in  () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#7  0x00007f58a004271e in wl_proxy_destroy () at /usr/lib/x86_64-linux-gnu/libwayland-client.so.0
#8  0x00007f589e5381d7 in KWayland::Client::PlasmaWindow::release() () at /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#9  0x00007f589e5381fa in KWayland::Client::PlasmaWindow::~PlasmaWindow() () at /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#10 0x00007f589e5382f9 in KWayland::Client::PlasmaWindow::~PlasmaWindow() () at /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#11 0x00007f58ad6fa19b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f58ad7039cb in QObject::~QObject() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#13 0x00007f589e5388c9 in KWayland::Client::PlasmaWindowManagement::~PlasmaWindowManagement() () at /usr/lib/x86_64-linux-gnu/libKF5WaylandClient.so.5
#14 0x00007f58ad6fa19b in QObjectPrivate::deleteChildren() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007f58ad7039cb in QObject::~QObject() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007f589b1c6623 in  () at /usr/lib/x86_64-linux-gnu/qt5/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so
#17 0x00007f58b10f7041 in __run_exit_handlers (status=0, listp=0x7f58b149f718 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true, run_dtors=run_dtors@entry=true) at exit.c:108
#18 0x00007f58b10f713a in __GI_exit (status=<optimized out>) at exit.c:139
#19 0x00007f58b10d5b9e in __libc_start_main (main=0x55dafd523730, argc=1, argv=0x7ffe65ca9788, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe65ca9778) at ../csu/libc-start.c:344
#20 0x000055dafd52376a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2018-06-06 22:24:13 UTC

*** This bug has been marked as a duplicate of bug 390151 ***