ocornut / imgui

Dear ImGui: Bloat-free Graphical User interface for C++ with minimal dependencies
MIT License
59.88k stars 10.18k forks source link

Segfault on Allwinner A64 (pinephone) of glfw2_opengl2 example #6401

Open pizdjuk opened 1 year ago

pizdjuk commented 1 year ago

Version/Branch of Dear ImGui:

actual git version

Back-end/Renderer/Compiler/OS

Back-ends: Opengl2 Compiler: g++ 12.12.0 Operating System: Mobian on Allwinner A64 (Pinephone)

My Issue/Question:

The example from example_glfw2_opengl2 compiles without errors, but catch SIGSEGV

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
[New Thread 0x7feb14e160 (LWP 12055)]

Thread 1 "example_glfw_op" received signal SIGSEGV, Segmentation fault.
0x0000007ff74419e0 in wl_cursor_theme_get_cursor ()
   from /lib/aarch64-linux-gnu/libwayland-cursor.so.0
(gdb) quit
ocornut commented 1 year ago

I presume setting io.ConfigFlags |= ImGuiConfigFlags_NoMouseCursorChange; would work-around this but it may be a GLFW issue that the call to glfwSetCursor() fails?

I wonder if it could be related to https://github.com/glfw/glfw/issues/1450