<=GTK-4.14.2 causes stack overflow with fractional scaling enabled
When pressing the "Take Picture" button in Snapshot, the application freezes for about 1-2 seconds and crashes.snapshot-46-2-coredump It sometimes also happens when launching the application, but I cannot reproduce that behavior reliably. Setting the desktop to 100% scale or starting Snapshot with the cairo or old GL renderer circumvents the issue.
The stacktrace shows that gsk_gpu_node_processor_create_offscreen and gsk_gpu_node_processor_add_texture_scale_node are being called in a loop. This seems to be a bug in GTK4's new GL renderer (#6610), for which there are already fixes queued up in main and the 4.14 branch. I can confirm that the problem is fixed for me by building GTK off commit 56b4ef80c49a75a3a680d672a7b0232b16b53e6a from the 4.14 branch. Perhaps it makes sense to raise the minimum gtk4 version requirement from 4.13.6 to 4.14.3 once the latter releases.
Edit: looks like #164 (closed) has already beaten me to the punch. closing as duplicate.