Win32 regression: assertion failed when opening a gtkfontchooser
When testing a recent GLib on Win32 (debug build), I observed a systematic assert crash from weak_ref_data_ref
every time I open a gtkfontchooser on Win32:
assertion failed: (wrdata)
Here a backtrace from gtk4-widget-factory
: backtrace.txt
I bisected the regression on GLib side, it was introduced by !3834 (merged) (commit 5f128513 is good, 2638f97b is bad)
I can't tell if something is wrong on pangowin32 side, or if the new assert on GLib side is overzealous...
Additional info
Windows 10, msys2-ucrt64, debug build from sources.
- GLib: 2.79.1 + see commits above
- Gtk: 4.14-rc + ea0cfed7
- Pango: 1.52 + dd8da7cf