All extensions let Inkscape crash when using selection sets.

Bug #1760493 reported by b
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Confirmed
Undecided
Unassigned

Bug Description

Minimal example:

Case 1:
1. Start with a new Inkscape document.
2. Run (for example) Extensions>Render>Foldable Box.
3. Now try to assign a selection set (by pushing the plus symbol in the dockable dialog - no selection required for this): Nothing will happen. After running any extension, assigning of selection sets is not possible any more.

Case 2:
1. Start with a new Inkscape document.
2. Create an object (let's say a filled circle).
3. Assign the selected object to a selection set (by (a) pressing the bigger plus symbol: 'create selection set', and (b) pressing the smaller plus symbol: 'assign the selected object to the selection set' (in the dockable dialog)).
4. Run any extension (e. g. Extensions>Color>Black and White; the extension must 'change' something, so that Inkscape has to 'load' the changed content, which I believe could have to do with the error).
5. Try to move the selcted object. Inkscape will crash.

Tested with versions 0.92.2 and 0.92.3 on Windows 8.1.

Revision history for this message
b (lukan) wrote :

Edit: It suffices to create an (empty) selection set (in an empty document), then applying any extension (which 'does something', meaning which doesn't leave the document unchanged). Then most actions afterwards (e. g. inserting an object) let Inkscape crash.
Tested with 0.92.3 (2405546, 2018-03-11), Win 8.1.

Revision history for this message
b (lukan) wrote :

Another addition:
After applying any extension assigning new selection sets in the GUI is not possible anymore as mentioned. But: When looking into the XML-Editor, there appear (empty) extension sets, when clicking the plus symbol in the extension sets dockable dialog (on Save and Reload they will be also visible in the GUI). So maybe that's of interest to track the bug down that there is this discrepancy between the GUI and the file.

Revision history for this message
b (lukan) wrote :

So another addition (and workaround):

After applying an extension (while having selection sets in the document) -
1) Don't move anything etc. since this will make Inkscape crash.
2) But: Save the file (preferably under a new name).
3) In the menu choose: File>Revert.

After that it is possible to continue working with the document as expected.
(This also suggests that there is probably something wrong with reading in the document after applying the extension modifications in the extensions pipeline.)

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

running Windows 10, Inkscape 0.92.3 (2405546, 2018-03-11)

Case 1 of original post: confirmed

Case 2 of original post: crash confirmed, no exit message in DOS

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

backtrace for crash in Case 2:

Program received signal SIGSEGV, Segmentation fault.
0x6fefbfe1 in ?? () from c:\program files (x86)\inkscape\libstdc++-6.dll
(gdb) bt
#0 0x6fefbfe1 in ?? () from c:\program files (x86)\inkscape\libstdc++-6.dll
#1 0x036cf6f5 in libinkscape_base!_ZN8Inkscape2UI6Dialog9TagsPanel17_checkForSelectedERKN3Gtk8TreePathERKNS3_8TreeIterEP8SPObject ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#2 0x03baebe3 in libinkscape_base!_ZN4sigc8internal10slot_call2INS_12bind_functorILin1ENS_18bound_mem_functor3IbN8Inkscape2UI6Dialog9TagsPanelERKN3Gtk8TreePathERKNS8_8TreeIterEP8SPObjectEESG_NS_3nilESI_SI_SI_SI_SI_EEbSB_SE_E7call_itEPNS0_8slot_repESB_SE_ ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#3 0xcd7d5659 in ?? ()
#4 0x0066ee08 in ?? ()
#5 0x61b2bc32 in ?? ()
   from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
#6 0x61b2ce86 in ?? ()
   from c:\program files (x86)\inkscape\libgtk-win32-2.0-0.dll
#7 0x030437b9 in ?? ()
   from c:\program files (x86)\inkscape\libgtkmm-2.4-1.dll
#8 0x036d190d in libinkscape_base!_ZN8Inkscape2UI6Dialog9TagsPanel16_objectsSelectedEPNS_9SelectionE ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#9 0x03badfd6 in libinkscape_base!_ZN4sigc8internal10slot_call1INS_18bound_mem_functor1IvN8Inkscape2UI6Dialog9TagsPanelEPNS3_9SelectionEEEvS8_E7call_itEPNS0_8slot_repERKS8_ () from c:\program files (x86)\inkscape\libinkscape_base.dll
#10 0x0afb12d8 in ?? ()
#11 0x038ebc3e in libinkscape_base!_ZN8Inkscape9Selection3setEP8SPObjectb ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#12 0x0066f018 in ?? ()
#13 0x03ee1fa8 in libinkscape_base!_ZZNK11PairingHeapIPN4vpsc10ConstraintEE15combineSiblingsEP8PairNodeIS2_EE9treeArray ()
   from c:\program files (x86)\inkscape\libinkscape_base.dll
#14 0x00000000 in ?? ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x6fefbfe1 in ?? () from c:\program files (x86)\inkscape\libstdc++-6.dll
(gdb) c
Continuing.
[Inferior 1 (process 7696) exited with code 030000000005]
(gdb) c
The program is not being run.

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.