powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
705 stars 199 forks source link

[BUG]Example "OpenGLESHelloAPI" Segmentation fault on Wayland build #94

Open lijie005 opened 2 weeks ago

lijie005 commented 2 weeks ago

Description

Build commands: cmake .. -DPVR_WINDOW_SYSTEM=Wayland -DPVR_BUILD_OPENGLES_EXAMPLES=On -DPVR_BUILD_VULKAN_EXAMPLES=Off -DCMAKE_BUILD_TYPE=Debug

Repro steps

Run OpenGLESHelloAPI example It failed with Segmentation fault (core dumped)

Environment

Additional Info

I have gdb into the source code examples/OpenGLES/01_HelloAPI/OpenGLESHelloAPI_LinuxWayland.cpp and found no wl_shell registeration occured in registerGlobalCallback()

AlejandroCosin commented 2 weeks ago

Hi lijie005,

Thanks for reporting this issue,

It has been reported internally and will be investigated.

Best regards, Alejandro