Crash on zoom above 8800%

Summary:

Inkscape 1.2 seems to crash on high zoom. It appears to be somewhere around 8700%, though it's difficult to determine exactly. This behavior is present both with gesture zoom on OSX as well as by using the +/- keyboard shortcuts and UI +/- buttons.

Environment:

  • Platform: MacBook Pro (13-inch, M1, 2020) - 16GB
  • OS: MacOS 12.0.1 Monterey

Steps to reproduce:

  1. open inkscape 1.2 with fresh document [on MacOS]
  2. zoom using keyboard shortcuts or gestures to above 8800% (alternatively, simply type a value at or above "8800" into the zoom percentage box.

What happened?

Instant, hard crash.

What should have happened?

Successful zoom.

Version info

Inkscape 1.2 (dc2aeda, 2022-05-15)

GLib version:     2.70.5
GTK version:      3.24.33
glibmm version:   2.60.0
gtkmm version:    3.24.5
libxml2 version:  2.9.12
libxslt version:  1.1.34
Cairo version:    1.17.6
Pango version:    1.50.6
HarfBuzz version: 2.9.1

OS version:       macOS

full MacOS crash report is attached inkscape_crash.txt