Wayland Compositor Segmentation fault issue while launching child application on second time
-
Description:
The Qt Linux application crashes when attempting to launch a child application on a Wayland compositor screen for the second time. The crash occurs when the Wayland compositor screen is destroyed and recreated before attempting to launch the child application again.Note: Upon the initial creation of the Wayland screen, the child application was successfully rendered without issue. However, subsequent attempts to launch the child application result in a crash when the Wayland screen is destroyed and recreated before the second launch.
crash logs:
Thread 1 "appLauncherApp" received signal SIGSEGV, Segmentation fault.
WaylandEglClientBuffer::WaylandEglClientBuffer (this=0xaaaaaaf89960, integration=<optimized out>,
buffer=0xaaaaab06e260)
--Type <RET> for more, q to quit, c to continue without paging--
at ./src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp:583
583 ./src/hardwareintegration/compositor/wayland-egl/waylandeglclientbufferintegration.cpp: No such file or directory.
(gdb)QT Version:
6.5.2Reference Project:
https://code.qt.io/cgit/qt/qtwayland.git/tree/examples/wayland/multi-screen?h=5.15