Crash copying 3DBox with a deleted perspective object

Summary:

The new inkscape version crashes very very often while doing basic operations.

Steps to reproduce:

  • open Inkscape
  • load the attached file
  • select "wall" object in layers/object pane
  • go to edit menu > copy

What happened?

inkscape crashes!

What should have happened?

inkscape should not crash

Sample attachments:

wtf.svg

Version info

Inkscape 1.1.1 (3bf5ae0d25, 2021-09-20)

    GLib version:     2.70.2
    GTK version:      3.24.30
    glibmm version:   2.66.2
    gtkmm version:    3.24.5
    libxml2 version:  2.9.12
    libxslt version:  1.1.34
    Cairo version:    1.16.0
    Pango version:    1.48.10
    HarfBuzz version: 2.7.4
    Poppler version:  20.09.0

    OS version:       Debian GNU/Linux bookworm/sid
Edited by Nathan Lee