I've filed the following bug report:
https://sourceforge.net/tracker/index.php?func=detail&aid=1057918&gr...
Can someone confirm this?
1. Select the 'Draw bezier'-tool [b] 2. Place out two nodes. (click, click) 3. Hit [backspace] (one node left) 4. Place out a new node (two nodes) 5. Hit [backspace] two times (zero nodes) 6. => segfault
/Gustav
bulia byak wrote:
- Select the 'Draw bezier'-tool [b]
- Place out two nodes. (click, click)
- Hit [backspace] (one node left)
- Place out a new node (two nodes)
- Hit [backspace] two times (zero nodes)
- => segfault
Confirmed.
Me, too. Here is the backtrace, on this laptop. Might be a simple fix.
#0 0x0813c0e7 in pen_handle_key_press (pc=0xacc0758, keyval=0) at pen-context.cpp:590 #1 0x0813b7d8 in sp_pen_context_root_handler (ec=0xacc0758, event=0xace7f84) at pen-context.cpp:240 #2 0x0812bb9a in sp_event_context_root_handler (event_context=0xacc0758, event=0xace7f84) at event-context.cpp:704 #3 0x081f0dc1 in sp_marshal_BOOLEAN__POINTER (closure=0x9b76010, return_value=0xbfebf920, n_param_values=0, param_values=0xbfebf980, invocation_hint=0xbfebf878, marshal_data=0x0) at helper/sp-marshal.cpp:350
It was just in need of a null-check to prevent backing up beyond the root of the green-line list.
Fixed and committed. Can someone verify and close this?
Bob
Bob Jamison wrote:
bulia byak wrote:
- Select the 'Draw bezier'-tool [b]
- Place out two nodes. (click, click)
- Hit [backspace] (one node left)
- Place out a new node (two nodes)
- Hit [backspace] two times (zero nodes)
- => segfault
Confirmed.
Me, too. Here is the backtrace, on this laptop. Might be a simple fix.
participants (3)
-
Bob Jamison
-
bulia byak
-
Gustav Broberg