A specific SVG takes a very long time to rasterize (17 minutes on my hardware)
Issue Summary
As the title says, this image takes way too long time to rasterize. This is reproducible in a simple rust project, or you can try opening the image with Eye of Gnome and it will freeze.
This same image rasterizes without issues in firefox/chrome, inkscape, and resvg.
Example SVG
You can find the SVG in the attachment in 7z archive. I wasn't able to upload the SVG as is or even in gzip, because this freezes my browser's file picker (GTK file picker).
Librsvg Version
Reproducible in librsvg 2.56.0, cairo 1.17.8.
Platform
Linux 6.1.21-1-lts. Also, the same when using librsvg as a rust library on commit 607895ec.
Additional logs
Unfortunately, I wasn't able to get anywhere with a profiler.
Edited by Nikolajs Arhipovs