Eraser and Spray cause crash

Summary:

The eraser tool can't erase the spray object and original in the same time.

Steps to reproduce:

  • open Inkscape
  • Draw a line (Use the tool which hotkey is F5)
  • Spray another one
  • Try to erase both of them(erase each of one is fine)

What happened?

  • The whole program just crash

What should have happened?

  • Erase the objects?

Sample attachments: Spray

Version info

Inkscape 1.2-dev (9949805, 2021-12-31)

Edited by Zixu