Scroll-Zoom crashes at high level of zoom on some files

Summary:

On some of my files, scroll-zooming crashes inkscape at a high level of zoom. Doesn't seem to crash when using the zoom widget; it's always at the same stop level (around 15,000% in the included file).

Steps to reproduce:

  • open Inkscape
  • open included file
  • zoom until crash

What happened?

crash

Running by terminal produces:

** (org.inkscape.Inkscape:2): ERROR **: 09:40:29.824: unhandled exception (type std::exception) in signal handler: what: std::bad_alloc

What should have happened?

no crash!

Sample attachments:

7-test.svg

Version info


Inkscape 1.2 (dc2aedaf03, 2022-05-15)

Flatpak version on Xubuntu 22.04; same happens with the 1.2 beta and RC editions using the official appimage.