Inkscape crashes when trying to edit paths of shape with imported gradient

Summary:

When I copy a gradient from one Inkscape file (CTRL-C) and I transfer it to a shape in another file (CTRL-SHIFT-V) it's impossible to edit the path of that shape without crashing.

The same happens even if I clear the gradient and apply a solid color to the shape.

Steps to reproduce:

  • Open Inkscape
  • Load file attached
  • Select the "edit paths by nodes" tool
  • click on the only shape in the file

What happened?

Inkscape shows a dialog with the following message: "Inkscape encountered an internal error and will close now" and then it closes itself.

Other files I work on are just crashing Inkscape and generating a backup file.

What should have happened?

Inkscape shouldn't crash.

Everything is fine with the 1.0.2 version.

Sample attachments: test-paths.svg

Debug info

Inkscape 1.1 (1:1.1+202105261517+ce6663b3b7)

    GLib version:     2.64.6
    GTK version:      3.24.20
    glibmm version:   2.64.2
    gtkmm version:    3.24.2
    libxml2 version:  2.9.10
    libxslt version:  1.1.34
    Cairo version:    1.16.0
    Pango version:    1.44.7
    HarfBuzz version: 2.6.4
    Poppler version:  0.86.1

    OS version:       Ubuntu 20.04.2 LTS