Crash when dropping image into canvas (recent regression)
Steps to reproduce:
This is a regression of !1715 (merged) (3274e7a1)
- open Inkscape
- drag JPEG from desktop into canvas (Image import type: Link)
What happened?
Crash
#0 SPLPEItem::notifyTransform(Geom::Affine const&) (this=this@entry=0x0, postmul=...) at ../src/object/sp-lpe-item.cpp:332
#1 0x00007ffff708d4f8 in SPItem::doWriteTransform(Geom::Affine const&, Geom::Affine const*, bool) (this=0x5555559abe30, transform=..., adv=adv@entry=0x0, compensate=compensate@entry=false) at ../src/object/sp-item.cpp:1534
#2 0x00007ffff7083338 in sp_item_group_ungroup(SPGroup*, std::vector<SPItem*, std::allocator<SPItem*> >&, bool) (group=group@entry=0x555557af3bf0, children=std::vector of length 0, capacity 0, do_done=do_done@entry=false) at ../src/object/sp-item-group.cpp:636
#3 0x00007ffff76d3db8 in file_import(SPDocument*, Glib::ustring const&, Inkscape::Extension::Extension*) (in_doc=in_doc@entry=0x7fffea44cc00, uri=..., key=key@entry=0x0) at ../src/file.cpp:1090
What should have happened?
No Crash
Inkscape Version and Operating System:
- Inkscape Version:
Inkscape 1.1-dev (24c490d830, 2020-04-13, custom) - Operating System: Arch Linux
/cc @jabiertxof
Edited by Nathan Lee