Converting groups to sublayers triggers crash in trunk

Bug #1080378 reported by su_v
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
High
Unassigned

Bug Description

Follow-up report to Bug #1066543 “Performance regression with layers in trunk”.

Current trunk >= 11709 crashes when applying a custom extension [1] to convert a selection of groups into sub-layers. The custom extension that triggers the crash was used in an effort to work around the huge delays (40-60 sec) when adding a new (sub-)layer via GUI in certain files (bug #1066543).

Steps to reproduce:
1) mv ~/.config/inkscape{,-bkp}
2) install attached extension
2) launch inkscape (without file)
3) open attached SVG file via 'File > Open'
4) select all (9) groups in current layer ('Ctrl+A')
5) apply 'Extensions > Layers > Selected Groups to Sublayers'

-> crash

Notes:
- not reproduced with Inkscape <= 11708 and current stable 0.48.x.
- not reproduced if the file is opened in a new second document window (e.g. after having dirtied the initial empty new document before opening the file).

Tested on Mac OS X 10.5.8 (32bit), OS X 10.7.4 (64bit) and Ubuntu 12.10 (64bit, VM).

---
[1] <http://www.inkscapeforum.com/viewtopic.php?f=34&t=12249>

Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :
Revision history for this message
su_v (suv-lp) wrote :

Backtrace with Inkscape 0.48+devel r11882, OS X 10.7.4, GTK+/X11 2.24.13, glib 2.32.4

Revision history for this message
Alvin Penner (apenner) wrote :

confirmed on Windows XP, Inkscape rev 11882.
It appears that the crash occurs whenever more than one group is selected.

Changed in inkscape:
status: New → Confirmed
Revision history for this message
Alvin Penner (apenner) wrote :

as mentioned in comment 1, it seems to depend on how the file was loaded. On Windows if I load Inkscape first and then use File->Open to load the file, then I get a crash. On the other hand, if I use the gui to do a right mouse click on the svg file, and select Open with Inkscape, then I get no crash.

Revision history for this message
John Smith (john-smithi) wrote :

Changes in bug #166691 reverted ( r11883 ) - should solve this issue.

Revision history for this message
su_v (suv-lp) wrote :

Closing for now…

Changed in inkscape:
importance: Undecided → High
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.