https://bugs.kde.org/show_bug.cgi?id=520797
Bug ID: 520797
Summary: kget crashes in wayland
Classification: Applications
Product: kget
Version First 26.04.1
Reported In:
Platform: Manjaro
OS: Linux
Status: REPORTED
Severity: crash
Priority: NOR
Component: Core
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
DESCRIPTION
Kget crashing in wayland (when not run through xwayland)
STEPS TO REPRODUCE
1. run kget
OBSERVED RESULT
segmentation fault
EXPECTED RESULT
Should run normally
SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):Manjaro
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.26.0
Qt Version: 6.11.1
ADDITIONAL INFORMATION
running a backtrace shows:
> #0 0x00007f1467e8f2c4 in QtWayland::xx_session_v1::restore_toplevel
> (this=0x41, toplevel=0x55adadbee800, name=...)
> at
> /usr/src/debug/qt6-base/build/src/plugins/platforms/wayland/qwayland-xx-session-management-v1.cpp:165
> #1 0x00007f146d8db433 in
> QtWaylandClient::QWaylandXdgSurface::Toplevel::Toplevel (this=0x55adad960b80,
> xdgSurface=0x55adadbd2b40, this=<optimized out>, xdgSurface=<optimized out>)
> at
> /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:64
> #2 0x00007f146d8dbe78 in QtWaylandClient::QWaylandXdgSurface::setToplevel
> (this=this@entry=0x55adadbd2b40)
> at
> /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:534
> #3 0x00007f146d8dd0d8 in
> QtWaylandClient::QWaylandXdgSurface::QWaylandXdgSurface
> (this=0x55adadbd2b40, shell=<optimized out>, surface=<optimized out>,
> window=0x55adad77e940, this=<optimized out>, shell=<optimized out>,
> surface=<optimized out>, window=<optimized out>) at
> /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp:357
> #4 0x00007f146d8dd1ef in
> QtWaylandClient::QWaylandXdgShellIntegration::createShellSurface
> (this=0x55adad5f4290, window=0x55adad77e940)
> at /usr/src/debug/qt6-base/qtbase/src/corelib/tools/qscopedpointer.h:111
> #5 0x00007f1467e7368d in QtWaylandClient::QWaylandWindow::initWindow
> (this=this@entry=0x55adad77e940)
> at
> /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:141
> #6 0x00007f1467e748dc in QtWaylandClient::QWaylandWindow::setVisible
> (this=0x55adad77e940, visible=<optimized out>)
> at
> /usr/src/debug/qt6-base/qtbase/src/plugins/platforms/wayland/qwaylandwindow.cpp:649
> #7 0x00007f146c55d88a in QWidgetPrivate::show_sys
> (this=this@entry=0x55adad747af0) at
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8209
> #8 0x00007f146c5615b5 in QWidgetPrivate::show_helper
> (this=this@entry=0x55adad747af0) at
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8132
> #9 0x00007f146c561a15 in QWidgetPrivate::setVisible (this=0x55adad747af0,
> visible=<optimized out>) at
> /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qwidget.cpp:8440
> #10 0x000055ada9d89827 in KGetApp::newInstance
> (this=this@entry=0x7ffcf8cc4e50) at
> /usr/src/debug/kget/kget-26.04.1/main.cpp:50
> #11 0x000055ada9cf2a79 in main (argc=<optimized out>, argv=<optimized out>)
> at /usr/src/debug/kget/kget-26.04.1/main.cpp:147
Is Kget asking the Wayland compositor to restore its previous window size and
position (restore_toplevel)? But the object pointer it is passing to the
QtWayland client is dead or uninitialized. It seems it tries to read offset
0x41 from memory address 0x0, triggers a memory violation, and the kernel
immediately dumps the core. Kget runs normally via xwayland
--
You are receiving this mail because:
You are watching all bug changes.