trunk: LPE Tool (experimental path effect) crash (rev >= 12532)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Inkscape |
Fix Released
|
Wishlist
|
Markus Engel |
Bug Description
Steps to reproduce:
1) enable the LPE tool:
=== modified file 'src/widgets/
--- src/widgets/
+++ src/widgets/
@@ -1301,7 +1301,9 @@
" <toolitem action=
-// " <toolitem action=
+#ifdef LPE_ENABLE_
+ " <toolitem action=
+#endif
" </toolbar>"
"</ui>";
2) configure trunk build with
./configure CPPFLAGS=
3) launch trunk build, draw an ellipse with 2 points using the LPE Tool
Expected result:
The basic features of the (unfinished) tool for the most parts had been functional (and didn't crash) up to revision 12531
Actual result:
After the merge of the C++-ification branch, inkscape crashes on the first click on the canvas with the tool:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION
0x00000001000a7299 in SPLPEToolContex
(gdb) bt
#0 0x00000001000a7299 in SPLPEToolContex
#1 0x00000001000a72be in SPLPEToolContex
#2 0x00000001000a72be in SPLPEToolContex
#3 0x00000001000a72be in SPLPEToolContex
#4 0x00000001000a72be in SPLPEToolContex
#5 0x00000001000a72be in SPLPEToolContex
#6 0x00000001000a72be in SPLPEToolContex
<snip thousands of these messages … />
While disabled experimental tools/features always risk to bit-rot or break with major refactoring, it would be nice if this didn't yet happen to the Geom tools…
Related branches
summary: |
- trunk: LPE Tool (experimental path effect) crash (rev <= 12532) + trunk: LPE Tool (experimental path effect) crash (rev >= 12532) |
Changed in inkscape: | |
milestone: | 0.49 → none |
Try this patch, this fixes the stack overflow caused by endless recursion because the wrong function is called.