Walnut icon indicating copy to clipboard operation
Walnut copied to clipboard

Custom GLFW changes cause crash in Linux

Open weirddan455 opened this issue 2 years ago • 0 comments

It prints out Aborted (Core Dumped) I ran it through GDB and found it crashed on this line: https://github.com/TheCherno/Walnut/blob/20f940b9d23946d4836b8549ff3e2c0750c5d985/Walnut/src/Walnut/Application.cpp#L421 (backtrace goes through GLFW code before ultimately throwing a SIGABRT in libvulkan.so).

This merge commit of your GLFW fork is where it broke: d710a034f0667f97aa6cdfe78bf274b3b4f7aa63

Both parents of that merge commit work (one being your fork before you updated from GLFW master and one being stock GLFW without any changes you made).

I also reproduced this with a minimal C program that just calls GLFWInit + glfwVulkanSupported to confirm that it was the GLFW fork at fault rather than anything else in Walnut code.

weirddan455 avatar Jan 30 '23 16:01 weirddan455