Zink segfault on program startup when using GLFW for windowing on Linux (x86_64) with GTX 1050TI driver version: 515.57
System information
System:
Host: bedrock Kernel: 5.18.14-arch1-1 arch: x86_64 bits: 64 compiler: gcc
v: 12.1.0 Desktop: KDE Plasma v: 5.25.3 tk: Qt v: 5.15.5 wm: kwin_x11 dm:
1: LightDM note: stopped 2: SDDM Distro: Arch Linux
CPU:
Info: quad core model: Intel Core i7-6700 bits: 64 type: MT MCP
arch: Skylake-S rev: 3 cache: L1: 256 KiB L2: 1024 KiB L3: 8 MiB
Speed (MHz): avg: 3053 high: 3947 min/max: 800/4000 cores: 1: 3847
2: 3820 3: 2856 4: 3237 5: 1549 6: 1400 7: 3947 8: 3775 bogomips: 54417
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] vendor: ZOTAC driver: nvidia
v: 515.57 arch: Pascal pcie: speed: 8 GT/s lanes: 16 ports: active: none
off: DP-1,DVI-D-1,HDMI-A-1 empty: none bus-ID: 01:00.0 chip-ID: 10de:1c82
Display: x11 server: X.Org v: 21.1.4 with: Xwayland v: 22.1.3
compositor: kwin_x11 driver: X: loaded: nvidia gpu: nvidia,nvidia-nvswitch
display-ID: :0 screens: 1
Screen-1: 0 s-res: 4864x1280 s-dpi: 96
Monitor-1: DP-1 mapped: DP-0 note: disabled pos: primary,top-left
model: AOC 24G1WG4 res: 1920x1080 dpi: 94 diag: 598mm (23.5")
Monitor-2: DVI-D-1 mapped: DVI-D-0 note: disabled pos: top-center
model: Dell DEL 1708FPBLK res: 1024x1280 dpi: 96 diag: 433mm (17")
Monitor-3: HDMI-A-1 mapped: HDMI-0 note: disabled pos: bottom-r
model: Samsung res: 1920x1080 dpi: 305 diag: 184mm (7.2")
OpenGL: renderer: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2
v: 4.6.0 NVIDIA 515.57 direct render: Yes
Describe the issue
Whenever i attempt to launch my game engine under Zink when using GLFW for windowing/context creation, it causes a segfault at startup, this does not happen when using SDL for my window/context creation
Log files as attachment
- Output of
dmesg
https://pastebin.com/H257s31N - Backtrace https://pastebin.com/s8zx4YXn
- GDB coredump core.28092
Any extra information would be greatly appreciated
My code should be creating a GL 4.6 debug core context in this case
The GLFW windowing implementation is here: https://github.com/dotnet/Silk.NET/blob/main/src/Windowing/Silk.NET.Windowing.Glfw/GlfwWindow.cs