Bug 394484

Summary: Konsole crashes if closed with anything running in a tab on Wayland with Intel iGPU
Product: [Applications] konsole Reporter: Mario Fajardo <llomellamomario>
Component: generalAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version: 18.04.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mario Fajardo 2018-05-20 16:31:03 UTC
Application: konsole (18.04.1)

Qt Version: 5.10.0
Frameworks Version: 5.46.0
Operating System: Linux 4.13.0-41-generic x86_64
Distribution: KDE neon User Edition 5.12

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

I had 2 Konsole tabs open, one of the mad something open (can't remember). Asked if I was sure of quitting, which I answered yes and it promptly crashed. KDE Neon User edition fully updated. This bug may be a duplicate of bug report 381226 which is a duplicate of bug 372597. Not so sure since that bug seems to have been fixed.

-- 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 0x7f3e02a098c0 (LWP 12622))]

Thread 2 (Thread 0x7f3dec762700 (LWP 12625)):
#0  0x00007f3e023a074d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f3df80ca38c in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7f3de4003220, timeout=<optimized out>, context=0x7f3de4000990) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:4135
#2  g_main_context_iterate (context=context@entry=0x7f3de4000990, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3835
#3  0x00007f3df80ca49c in g_main_context_iteration (context=0x7f3de4000990, may_block=may_block@entry=1) at /build/glib2.0-prJhLS/glib2.0-2.48.2/./glib/gmain.c:3901
#4  0x00007f3dfe71b5cb in QEventDispatcherGlib::processEvents (this=0x7f3de40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#5  0x00007f3dfe6c264a in QEventLoop::exec (this=this@entry=0x7f3dec761cd0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:212
#6  0x00007f3dfe4e2554 in QThread::exec (this=this@entry=0x7f3dfc870d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread.cpp:522
#7  0x00007f3dfc5fc2c5 in QDBusConnectionManager::run (this=0x7f3dfc870d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at qdbusconnection.cpp:178
#8  0x00007f3dfe4e76eb in QThreadPrivate::start (arg=0x7f3dfc870d60 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at thread/qthread_unix.cpp:376
#9  0x00007f3df9f756ba in start_thread (arg=0x7f3dec762700) at pthread_create.c:333
#10 0x00007f3e023ac41d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f3e02a098c0 (LWP 12622)):
[KCrash Handler]
#6  0x00007f3def70b5b9 in wl_map_insert_at (map=<optimized out>, flags=<optimized out>, i=<optimized out>, data=<optimized out>) at ../src/wayland-util.c:249
#7  0x00007f3def7077be in proxy_destroy (proxy=0xd4aeb0) at ../src/wayland-client.c:411
#8  wl_proxy_destroy (proxy=proxy@entry=0xd4aeb0) at ../src/wayland-client.c:442
#9  0x00007f3dee316307 in org_kde_plasma_window_destroy (org_kde_plasma_window=0xd4aeb0) at /workspace/build/obj-x86_64-linux-gnu/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=0xe53f90, this=0xe53f90) at /workspace/build/src/client/wayland_pointer_p.h:53
#11 KWayland::Client::PlasmaWindow::release (this=this@entry=0xe54070) at /workspace/build/src/client/plasmawindowmanagement.cpp:745
#12 0x00007f3dee31632a in KWayland::Client::PlasmaWindow::~PlasmaWindow (this=0xe54070, __in_chrg=<optimized out>) at /workspace/build/src/client/plasmawindowmanagement.cpp:735
#13 0x00007f3dee316419 in KWayland::Client::PlasmaWindow::~PlasmaWindow (this=0xe54070, __in_chrg=<optimized out>) at /workspace/build/src/client/plasmawindowmanagement.cpp:736
#14 0x00007f3dfe6eef73 in QObjectPrivate::deleteChildren (this=this@entry=0xd04c20) at kernel/qobject.cpp:1992
#15 0x00007f3dfe6f8e94 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1022
#16 0x00007f3dee3169b9 in KWayland::Client::PlasmaWindowManagement::~PlasmaWindowManagement (this=0xd0a6c0, __in_chrg=<optimized out>) at /workspace/build/src/client/plasmawindowmanagement.cpp:252
#17 0x00007f3dfe6eef73 in QObjectPrivate::deleteChildren (this=this@entry=0xb04eb0) at kernel/qobject.cpp:1992
#18 0x00007f3dfe6f8e94 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1022
#19 0x00007f3deb3486a3 in WaylandIntegration::~WaylandIntegration (this=<optimized out>, __in_chrg=<optimized out>) at /workspace/build/src/windowsystem/waylandintegration.cpp:54
#20 WaylandIntegrationSingleton::~WaylandIntegrationSingleton (this=<optimized out>, __in_chrg=<optimized out>) at /workspace/build/src/windowsystem/waylandintegration.cpp:40
#21 (anonymous namespace)::Q_QGS_privateWaylandIntegrationSelf::Holder::~Holder (this=<optimized out>, __in_chrg=<optimized out>) at /workspace/build/src/windowsystem/waylandintegration.cpp:46
#22 0x00007f3e022deff8 in __run_exit_handlers (status=0, listp=0x7f3e026695f8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#23 0x00007f3e022df045 in __GI_exit (status=<optimized out>) at exit.c:104
#24 0x00007f3e022c5837 in __libc_start_main (main=0x4006b0 <main(int, char**)>, argc=1, argv=0x7ffeead71298, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffeead71288) at ../csu/libc-start.c:325
#25 0x00000000004006e9 in _start ()

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

Possible duplicates by query: bug 385633, bug 381226, bug 379728.

Reported using DrKonqi
Comment 1 Christoph Feck 2018-06-15 22:22:08 UTC

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