Bug 408910 - Konsole crashes on wayland
Summary: Konsole crashes on wayland
Status: RESOLVED WORKSFORME
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 19.04.2
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords: drkonqi, wayland
: 409188 (view as bug list)
Depends on:
Blocks:
 
Reported: 2019-06-19 15:20 UTC by Rohan Garg
Modified: 2021-03-23 16:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-13538-0.html (9.61 KB, text/html)
2019-06-19 15:48 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Rohan Garg 2019-06-19 15:20:21 UTC
Application: konsole (19.04.2)

Qt Version: 5.12.3
Frameworks Version: 5.59.0
Operating System: Linux 4.18.0-21-generic x86_64
Distribution: KDE neon User Edition 5.16

-- Information about the crash:
- What I was doing when the application crashed:
I had just opened konsole.

- Unusual behavior I noticed:
konsole crashed, didn't even manage to type anything

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 0x7f4da212b800 (LWP 3029))]

Thread 3 (Thread 0x7f4d8305e700 (LWP 3031)):
#0  0x00007f4d98fac9f3 in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x55ab625329e8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88
#1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ab62532998, cond=0x55ab625329c0) at pthread_cond_wait.c:502
#2  __pthread_cond_wait (cond=0x55ab625329c0, mutex=0x55ab62532998) at pthread_cond_wait.c:655
#3  0x00007f4d834d23da in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#4  0x00007f4d834d2107 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#5  0x00007f4d98fa66db in start_thread (arg=0x7f4d8305e700) at pthread_create.c:463
#6  0x00007f4da1a3d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f4d8bf6b700 (LWP 3030)):
#0  0x00007f4da1a30bf9 in __GI___poll (fds=0x7f4d84003ce0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f4d972604c9 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4d972605dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4d9dec7dcb in QEventDispatcherGlib::processEvents (this=0x7f4d84000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4d9de6903a in QEventLoop::exec (this=this@entry=0x7f4d8bf6ad70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#5  0x00007f4d9dc904ca in QThread::exec (this=<optimized out>) at thread/qthread.cpp:531
#6  0x00007f4d9b6c2015 in ?? () from /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
#7  0x00007f4d9dc91c72 in QThreadPrivate::start (arg=0x7f4d9b939d80) at thread/qthread_unix.cpp:361
#8  0x00007f4d98fa66db in start_thread (arg=0x7f4d8bf6b700) at pthread_create.c:463
#9  0x00007f4da1a3d88f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f4da212b800 (LWP 3029)):
[KCrash Handler]
#6  0x00007f4d8f4ebcf9 in wl_proxy_marshal (proxy=0x0, opcode=opcode@entry=2) at ../src/wayland-client.c:780
#7  0x00007f4d8f97129a in wl_surface_damage (height=<optimized out>, width=<optimized out>, y=<optimized out>, x=<optimized out>, wl_surface=<optimized out>) at ../../include/QtWaylandClient/5.12.3/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:2753
#8  QtWayland::wl_surface::damage (this=<optimized out>, x=<optimized out>, y=<optimized out>, width=<optimized out>, height=<optimized out>) at qwayland-wayland.cpp:1124
#9  0x00007f4d8f954474 in QtWaylandClient::QWaylandWindow::damage (this=<optimized out>, rect=...) at qwaylandwindow.cpp:565
#10 0x00007f4d8f95ea69 in QtWaylandClient::QWaylandAbstractDecoration::contentImage (this=0x55ab626e5530) at qwaylandabstractdecoration.cpp:134
#11 0x00007f4d8f94ba1b in QtWaylandClient::QWaylandShmBackingStore::updateDecorations (this=this@entry=0x55ab626889f0) at qwaylandshmbackingstore.cpp:323
#12 0x00007f4d8f94bfe0 in QtWaylandClient::QWaylandShmBackingStore::flush (this=this@entry=0x55ab626889f0, window=window@entry=0x55ab62412b20, region=..., offset=...) at qwaylandshmbackingstore.cpp:232
#13 0x00007f4d9e5e34e5 in QBackingStore::flush (this=this@entry=0x55ab62538ff0, region=..., window=0x55ab62412b20, offset=...) at painting/qbackingstore.cpp:249
#14 0x00007f4d9ec73493 in QWidgetBackingStore::qt_flush (widget=0x55ab62329fa0, region=..., backingStore=0x55ab62538ff0, tlw=0x55ab62329fa0, widgetTextures=<optimized out>, widgetBackingStore=<optimized out>) at kernel/qwidgetbackingstore.cpp:159
#15 0x00007f4d9ec74b84 in QWidgetBackingStore::flush (this=this@entry=0x55ab62539010, widget=widget@entry=0x0) at kernel/qwidgetbackingstore.cpp:1442
#16 0x00007f4d9ec7627b in QWidgetBackingStore::endPaint (beginPaintInfo=<synthetic pointer>, backingStore=<optimized out>, cleaned=..., this=0x55ab62539010) at kernel/qwidgetbackingstore.cpp:363
#17 QWidgetBackingStore::doSync (this=this@entry=0x55ab62539010) at kernel/qwidgetbackingstore.cpp:1426
#18 0x00007f4d9ec764a5 in QWidgetBackingStore::sync (this=0x55ab62539010) at kernel/qwidgetbackingstore.cpp:1204
#19 0x00007f4d9ec8e8bf in QWidgetPrivate::syncBackingStore (this=0x55ab622bb610) at kernel/qwidget.cpp:1961
#20 0x00007f4d9eca6b38 in QWidget::event (this=this@entry=0x55ab62329fa0, event=event@entry=0x55ab625b40f0) at kernel/qwidget.cpp:9261
#21 0x00007f4d9edafe50 in QMainWindow::event (this=this@entry=0x55ab62329fa0, event=event@entry=0x55ab625b40f0) at widgets/qmainwindow.cpp:1339
#22 0x00007f4da1126a11 in KMainWindow::event (this=this@entry=0x55ab62329fa0, ev=ev@entry=0x55ab625b40f0) at ./src/kmainwindow.cpp:877
#23 0x00007f4da116c935 in KXmlGuiWindow::event (this=0x55ab62329fa0, ev=0x55ab625b40f0) at ./src/kxmlguiwindow.cpp:125
#24 0x00007f4d9ec6665c in QApplicationPrivate::notify_helper (this=this@entry=0x55ab62280360, receiver=receiver@entry=0x55ab62329fa0, e=e@entry=0x55ab625b40f0) at kernel/qapplication.cpp:3736
#25 0x00007f4d9ec6db90 in QApplication::notify (this=0x55ab62280030, receiver=0x55ab62329fa0, e=0x55ab625b40f0) at kernel/qapplication.cpp:3483
#26 0x00007f4d9de6ad18 in QCoreApplication::notifyInternal2 (receiver=0x55ab62329fa0, event=0x55ab625b40f0) at kernel/qcoreapplication.cpp:1060
#27 0x00007f4d9de6aeee in QCoreApplication::sendEvent (receiver=<optimized out>, event=event@entry=0x55ab625b40f0) at kernel/qcoreapplication.cpp:1450
#28 0x00007f4d9de6d8d7 in QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x55ab6227f600) at kernel/qcoreapplication.cpp:1799
#29 0x00007f4d9de6de78 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1653
#30 0x00007f4d9dec8793 in postEventSourceDispatch (s=0x55ab622fd000) at kernel/qeventdispatcher_glib.cpp:276
#31 0x00007f4d97260317 in g_main_context_dispatch () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007f4d97260550 in ?? () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007f4d972605dc in g_main_context_iteration () from /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4d9dec7daf in QEventDispatcherGlib::processEvents (this=0x55ab622da0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#35 0x00007f4d9de6903a in QEventLoop::exec (this=this@entry=0x7ffdfc13ba70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#36 0x00007f4d9de72170 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1363
#37 0x00007f4d9e429a7c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1779
#38 0x00007f4d9ec665b5 in QApplication::exec () at kernel/qapplication.cpp:2893
#39 0x00007f4da1d34cdd in kdemain (argc=<optimized out>, argv=<optimized out>) at ./src/main.cpp:210
#40 0x00007f4da193db97 in __libc_start_main (main=0x55ab61bf5720 <main>, argc=1, argv=0x7ffdfc13bd28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffdfc13bd18) at ../csu/libc-start.c:310
#41 0x000055ab61bf575a in _start ()

Reported using DrKonqi
Comment 1 tcanabrava 2019-06-19 15:48:19 UTC
Created attachment 121000 [details]
attachment-13538-0.html

There's not a single call to konsole in the back trace. Seems to be wayland
/ qt related

Em qua, 19 de jun de 2019 às 17:20, Rohan Garg <bugzilla_noreply@kde.org>
escreveu:

> https://bugs.kde.org/show_bug.cgi?id=408910
>
>             Bug ID: 408910
>            Summary: Konsole crashes on wayland
>            Product: konsole
>            Version: 19.04.2
>           Platform: unspecified
>                 OS: Linux
>             Status: REPORTED
>           Keywords: drkonqi
>           Severity: crash
>           Priority: NOR
>          Component: general
>           Assignee: konsole-devel@kde.org
>           Reporter: rohan@kde.org
>   Target Milestone: ---
>
> Application: konsole (19.04.2)
>
> Qt Version: 5.12.3
> Frameworks Version: 5.59.0
> Operating System: Linux 4.18.0-21-generic x86_64
> Distribution: KDE neon User Edition 5.16
>
> -- Information about the crash:
> - What I was doing when the application crashed:
> I had just opened konsole.
>
> - Unusual behavior I noticed:
> konsole crashed, didn't even manage to type anything
>
> 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 0x7f4da212b800 (LWP 3029))]
>
> Thread 3 (Thread 0x7f4d8305e700 (LWP 3031)):
> #0  0x00007f4d98fac9f3 in futex_wait_cancelable (private=<optimized out>,
> expected=0, futex_word=0x55ab625329e8) at
> ../sysdeps/unix/sysv/linux/futex-internal.h:88
> #1  __pthread_cond_wait_common (abstime=0x0, mutex=0x55ab62532998,
> cond=0x55ab625329c0) at pthread_cond_wait.c:502
> #2  __pthread_cond_wait (cond=0x55ab625329c0, mutex=0x55ab62532998) at
> pthread_cond_wait.c:655
> #3  0x00007f4d834d23da in ?? () from
> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
> #4  0x00007f4d834d2107 in ?? () from
> /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
> #5  0x00007f4d98fa66db in start_thread (arg=0x7f4d8305e700) at
> pthread_create.c:463
> #6  0x00007f4da1a3d88f in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
> Thread 2 (Thread 0x7f4d8bf6b700 (LWP 3030)):
> #0  0x00007f4da1a30bf9 in __GI___poll (fds=0x7f4d84003ce0, nfds=1,
> timeout=-1)
> at ../sysdeps/unix/sysv/linux/poll.c:29
> #1  0x00007f4d972604c9 in ?? () from
> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #2  0x00007f4d972605dc in g_main_context_iteration () from
> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #3  0x00007f4d9dec7dcb in QEventDispatcherGlib::processEvents
> (this=0x7f4d84000b20, flags=...) at kernel/qeventdispatcher_glib.cpp:424
> #4  0x00007f4d9de6903a in QEventLoop::exec (this=this@entry
> =0x7f4d8bf6ad70,
> flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
> #5  0x00007f4d9dc904ca in QThread::exec (this=<optimized out>) at
> thread/qthread.cpp:531
> #6  0x00007f4d9b6c2015 in ?? () from
> /usr/lib/x86_64-linux-gnu/libQt5DBus.so.5
> #7  0x00007f4d9dc91c72 in QThreadPrivate::start (arg=0x7f4d9b939d80) at
> thread/qthread_unix.cpp:361
> #8  0x00007f4d98fa66db in start_thread (arg=0x7f4d8bf6b700) at
> pthread_create.c:463
> #9  0x00007f4da1a3d88f in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>
> Thread 1 (Thread 0x7f4da212b800 (LWP 3029)):
> [KCrash Handler]
> #6  0x00007f4d8f4ebcf9 in wl_proxy_marshal (proxy=0x0, opcode=opcode@entry
> =2)
> at ../src/wayland-client.c:780
> #7  0x00007f4d8f97129a in wl_surface_damage (height=<optimized out>,
> width=<optimized out>, y=<optimized out>, x=<optimized out>,
> wl_surface=<optimized out>) at
>
> ../../include/QtWaylandClient/5.12.3/QtWaylandClient/private/../../../../../src/client/wayland-wayland-client-protocol.h:2753
> #8  QtWayland::wl_surface::damage (this=<optimized out>, x=<optimized out>,
> y=<optimized out>, width=<optimized out>, height=<optimized out>) at
> qwayland-wayland.cpp:1124
> #9  0x00007f4d8f954474 in QtWaylandClient::QWaylandWindow::damage
> (this=<optimized out>, rect=...) at qwaylandwindow.cpp:565
> #10 0x00007f4d8f95ea69 in
> QtWaylandClient::QWaylandAbstractDecoration::contentImage
> (this=0x55ab626e5530)
> at qwaylandabstractdecoration.cpp:134
> #11 0x00007f4d8f94ba1b in
> QtWaylandClient::QWaylandShmBackingStore::updateDecorations
> (this=this@entry=0x55ab626889f0) at qwaylandshmbackingstore.cpp:323
> #12 0x00007f4d8f94bfe0 in QtWaylandClient::QWaylandShmBackingStore::flush
> (this=this@entry=0x55ab626889f0, window=window@entry=0x55ab62412b20,
> region=..., offset=...) at qwaylandshmbackingstore.cpp:232
> #13 0x00007f4d9e5e34e5 in QBackingStore::flush (this=this@entry
> =0x55ab62538ff0,
> region=..., window=0x55ab62412b20, offset=...) at
> painting/qbackingstore.cpp:249
> #14 0x00007f4d9ec73493 in QWidgetBackingStore::qt_flush
> (widget=0x55ab62329fa0,
> region=..., backingStore=0x55ab62538ff0, tlw=0x55ab62329fa0,
> widgetTextures=<optimized out>, widgetBackingStore=<optimized out>) at
> kernel/qwidgetbackingstore.cpp:159
> #15 0x00007f4d9ec74b84 in QWidgetBackingStore::flush
> (this=this@entry=0x55ab62539010, widget=widget@entry=0x0) at
> kernel/qwidgetbackingstore.cpp:1442
> #16 0x00007f4d9ec7627b in QWidgetBackingStore::endPaint
> (beginPaintInfo=<synthetic pointer>, backingStore=<optimized out>,
> cleaned=...,
> this=0x55ab62539010) at kernel/qwidgetbackingstore.cpp:363
> #17 QWidgetBackingStore::doSync (this=this@entry=0x55ab62539010) at
> kernel/qwidgetbackingstore.cpp:1426
> #18 0x00007f4d9ec764a5 in QWidgetBackingStore::sync (this=0x55ab62539010)
> at
> kernel/qwidgetbackingstore.cpp:1204
> #19 0x00007f4d9ec8e8bf in QWidgetPrivate::syncBackingStore
> (this=0x55ab622bb610) at kernel/qwidget.cpp:1961
> #20 0x00007f4d9eca6b38 in QWidget::event (this=this@entry=0x55ab62329fa0,
> event=event@entry=0x55ab625b40f0) at kernel/qwidget.cpp:9261
> #21 0x00007f4d9edafe50 in QMainWindow::event (this=this@entry
> =0x55ab62329fa0,
> event=event@entry=0x55ab625b40f0) at widgets/qmainwindow.cpp:1339
> #22 0x00007f4da1126a11 in KMainWindow::event (this=this@entry
> =0x55ab62329fa0,
> ev=ev@entry=0x55ab625b40f0) at ./src/kmainwindow.cpp:877
> #23 0x00007f4da116c935 in KXmlGuiWindow::event (this=0x55ab62329fa0,
> ev=0x55ab625b40f0) at ./src/kxmlguiwindow.cpp:125
> #24 0x00007f4d9ec6665c in QApplicationPrivate::notify_helper
> (this=this@entry=0x55ab62280360, receiver=receiver@entry=0x55ab62329fa0,
> e=e@entry=0x55ab625b40f0) at kernel/qapplication.cpp:3736
> #25 0x00007f4d9ec6db90 in QApplication::notify (this=0x55ab62280030,
> receiver=0x55ab62329fa0, e=0x55ab625b40f0) at kernel/qapplication.cpp:3483
> #26 0x00007f4d9de6ad18 in QCoreApplication::notifyInternal2
> (receiver=0x55ab62329fa0, event=0x55ab625b40f0) at
> kernel/qcoreapplication.cpp:1060
> #27 0x00007f4d9de6aeee in QCoreApplication::sendEvent (receiver=<optimized
> out>, event=event@entry=0x55ab625b40f0) at
> kernel/qcoreapplication.cpp:1450
> #28 0x00007f4d9de6d8d7 in QCoreApplicationPrivate::sendPostedEvents
> (receiver=receiver@entry=0x0, event_type=event_type@entry=0,
> data=0x55ab6227f600) at kernel/qcoreapplication.cpp:1799
> #29 0x00007f4d9de6de78 in QCoreApplication::sendPostedEvents
> (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
> kernel/qcoreapplication.cpp:1653
> #30 0x00007f4d9dec8793 in postEventSourceDispatch (s=0x55ab622fd000) at
> kernel/qeventdispatcher_glib.cpp:276
> #31 0x00007f4d97260317 in g_main_context_dispatch () from
> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #32 0x00007f4d97260550 in ?? () from
> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #33 0x00007f4d972605dc in g_main_context_iteration () from
> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
> #34 0x00007f4d9dec7daf in QEventDispatcherGlib::processEvents
> (this=0x55ab622da0d0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
> #35 0x00007f4d9de6903a in QEventLoop::exec (this=this@entry
> =0x7ffdfc13ba70,
> flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
> #36 0x00007f4d9de72170 in QCoreApplication::exec () at
> kernel/qcoreapplication.cpp:1363
> #37 0x00007f4d9e429a7c in QGuiApplication::exec () at
> kernel/qguiapplication.cpp:1779
> #38 0x00007f4d9ec665b5 in QApplication::exec () at
> kernel/qapplication.cpp:2893
> #39 0x00007f4da1d34cdd in kdemain (argc=<optimized out>, argv=<optimized
> out>)
> at ./src/main.cpp:210
> #40 0x00007f4da193db97 in __libc_start_main (main=0x55ab61bf5720 <main>,
> argc=1, argv=0x7ffdfc13bd28, init=<optimized out>, fini=<optimized out>,
> rtld_fini=<optimized out>, stack_end=0x7ffdfc13bd18) at
> ../csu/libc-start.c:310
> #41 0x000055ab61bf575a in _start ()
>
> Reported using DrKonqi
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 2 frmdstryr 2019-06-25 20:56:37 UTC
*** Bug 409188 has been marked as a duplicate of this bug. ***
Comment 3 Alex 2021-01-29 12:03:11 UTC
I don't recall ever having Konsole crash like this lately, does this bug still exist?
Comment 4 Bernie Innocenti 2021-03-23 16:17:29 UTC
I also haven't seen crashes like this with current versions of Qt, Frameworks and Konsole.

I'll close this bug as obsolete. Please reopen if it's still present.