Bug 381226 - Konsole crashes in Wayland if closing window if there is a running process
Summary: Konsole crashes in Wayland if closing window if there is a running process
Status: RESOLVED DUPLICATE of bug 372597
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 17.04.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2017-06-15 10:30 UTC by Rainer Finke
Modified: 2017-06-28 21:14 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (4.51 KB, text/plain)
2017-06-28 21:14 UTC, Tony
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rainer Finke 2017-06-15 10:30:49 UTC
Application: konsole (17.04.2)

Qt Version: 5.9.0
Frameworks Version: 5.35.0
Operating System: Linux 4.11.5-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
Close Konsole with the normal close button, I had an open SSH session, so the Konsole asked me if I want to close even if there is an running process, after confirming with yes Konsole will crash in Plasma-Wayland
- Unusual behavior I noticed:
I need a running process, only then I see the crash

The crash can be reproduced sometimes.

-- Backtrace:
Application: Konsole (konsole), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f61980a92c0 (LWP 5393))]

Thread 2 (Thread 0x7f61833c8700 (LWP 5394)):
#0  0x00007f6197a6d2bd in poll () at /usr/lib/libc.so.6
#1  0x00007f618d89ebf9 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f618d89ed0c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f6193faae9b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f6193f5121a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f6193d7340a in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f61920b0d45 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f6193d77cbd in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f618f7ab297 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f6197a7725f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f61980a92c0 (LWP 5393)):
[KCrash Handler]
#5  0x00007f6186413d49 in wl_map_insert_at () at /usr/lib/libwayland-client.so.0
#6  0x00007f618640ff1e in wl_proxy_destroy () at /usr/lib/libwayland-client.so.0
#7  0x00007f6184e2b3e7 in KWayland::Client::PlasmaWindow::release() () at /usr/lib/libKF5WaylandClient.so.5
#8  0x00007f6184e2b40a in KWayland::Client::PlasmaWindow::~PlasmaWindow() () at /usr/lib/libKF5WaylandClient.so.5
#9  0x00007f6184e2b509 in KWayland::Client::PlasmaWindow::~PlasmaWindow() () at /usr/lib/libKF5WaylandClient.so.5
#10 0x00007f6193f7f03b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#11 0x00007f6193f889cb in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#12 0x00007f6184e2aa79 in KWayland::Client::PlasmaWindowManagement::~PlasmaWindowManagement() () at /usr/lib/libKF5WaylandClient.so.5
#13 0x00007f6193f7f03b in QObjectPrivate::deleteChildren() () at /usr/lib/libQt5Core.so.5
#14 0x00007f6193f889cb in QObject::~QObject() () at /usr/lib/libQt5Core.so.5
#15 0x00007f6181fab633 in  () at /usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemKWaylandPlugin.so
#16 0x00007f61979c0298 in __run_exit_handlers () at /usr/lib/libc.so.6
#17 0x00007f61979c02ea in  () at /usr/lib/libc.so.6
#18 0x00007f61979aa441 in __libc_start_main () at /usr/lib/libc.so.6
#19 0x000000000040065a in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-06-15 10:52:59 UTC

*** This bug has been marked as a duplicate of bug 372597 ***
Comment 2 Tony 2017-06-28 21:14:45 UTC
Created attachment 106363 [details]
New crash information added by DrKonqi

konsole (17.07.70) using Qt 5.9.0

- What I was doing when the application crashed:
On a wayland session, just closing Kosonel causes a crash after the exit.

-- Backtrace (Reduced):
#6  0x00007fc2edb1d099 in wl_map_insert_at (map=<optimized out>, flags=flags@entry=0, i=<optimized out>, data=<optimized out>) at src/wayland-util.c:249
#7  0x00007fc2edb191ae in proxy_destroy (proxy=0x562f2709d190) at src/wayland-client.c:411
#8  wl_proxy_destroy (proxy=0x562f2709d190) at src/wayland-client.c:442
#9  0x00007fc2ec7bd587 in org_kde_plasma_window_destroy (org_kde_plasma_window=0x562f2709d190) at /usr/src/debug/kwayland-5.36.0git.20170610T100046~faedcd4/build/src/client/wayland-plasma-window-management-client-protocol.h:634
#10 KWayland::Client::WaylandPointer<org_kde_plasma_window, org_kde_plasma_window_destroy>::release (this=0x562f2709ccd0, this=0x562f2709ccd0) at /usr/src/debug/kwayland-5.36.0git.20170610T100046~faedcd4/src/client/wayland_pointer_p.h:53