MINGW-packages: [mingw-w64-clang-i686-gtk4] Segmentation fault in libgraphene-1.0-0.dll

Description / Steps to reproduce the issue

The “mingw-w64-clang-i686-gtk4” current causes a segmentation fault when used. This can be seen by executing the “gtk4-demo.exe” included with the package.

Thread 1 received signal SIGSEGV, Segmentation fault.
0x58e1429c in graphene_matrix_init_from_matrix () from C:\Development\MSYS2\clang32\bin\libgraphene-1.0-0.dll
(gdb) bt 10
#0  0x58e1429c in graphene_matrix_init_from_matrix () from C:\Development\MSYS2\clang32\bin\libgraphene-1.0-0.dll
#1  0x59561b68 in gtk_snapshot_push_color_matrix () from C:\Development\MSYS2\clang32\bin\libgtk-4-1.dll
#2  0x0e8db450 in ?? ()
#3  0x00000000 in ?? ()

Expected behavior

The library can be used without causing an immediate crash.

Actual behavior

An immediate segmentation fault.

Verification

Windows Version

MSYS_NT-10.0-19044

MINGW environments affected

  • MINGW64
  • MINGW32
  • UCRT64
  • CLANG64
  • CLANG32
  • CLANGARM64

Are you willing to submit a PR?

No response

About this issue

  • Original URL
  • State: open
  • Created 9 months ago
  • Comments: 15 (1 by maintainers)

Most upvoted comments

Thank you for reporting the issue. I can reproduce the issue in clang32 but not in ucrt64. Unfortunately, I am limited with my knowledge because gdb leads to the SIMD intrinsic used in graphene. Please wait for others to comment.

Really amazing work @lb90. ❤️

This is going to be fixed within GTK, see https://gitlab.gnome.org/GNOME/gtk/-/issues/6256