Page MenuHome

Seg fault on Simplify Curves
Open, NormalPublic

Description

Linux, Debian (Stretch)

2.79.6 git build, c19ddcc975f
Worked: No clue

Crash when using the addon Simplify Curves to simplify a Bezier that was made from Grease Pencil.

Steps to reproduce:

  1. Addon -> Simplify Curves is enabled and my user-settings are saved.
  2. Load attached blend.
  3. GP_Layer object has already been created and is selected. Don't do anything for step 3. :)
  4. Spacebar -> Simplify -> Choose Simplify Curves (not Simple Curve!)
  5. in Tools panel for the action, raise Error up (just click right arrow).
  6. Crash blender.

Full steps to produce such a wonderful blend:

  1. Fresh blend, delete objects.
  2. (D)raw some grease pencil lines (I did two separate ones).
  3. Tools -> Grease Pencil -> Convert to Geometry -> Bezier
  4. Select Bezier (Might want to save now).
  5. Spacebar -> Simplify Curves
  6. Raise error up one with arrow
  7. Crash.

Here's the crash.txt:

Blender 2.79 (sub 6), Commit date: 2018-08-10 00:08, Hash c19ddcc975f

bpy.ops.object.editmode_toggle() # Operator
bpy.ops.curve.select_all(action='TOGGLE') # Operator
bpy.ops.curve.select_all(action='TOGGLE') # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.select_all(action='DESELECT') # Operator
bpy.ops.curve.simplify() # Operator
bpy.ops.object.editmode_toggle() # Operator

backtrace

/home/jaggz/blender-git/build_linux/bin/blender(BLI_system_backtrace+0x1d) [0x56419e21553d]
/home/jaggz/blender-git/build_linux/bin/blender(+0x10c0db9) [0x56419d7eadb9]
/lib/x86_64-linux-gnu/libc.so.6(+0x33060) [0x7f6b870bd060]
/home/jaggz/blender-git/build_linux/bin/blender(BKE_curve_editNurb_keyIndex_free+0x4) [0x56419df18434]
/home/jaggz/blender-git/build_linux/bin/blender(+0x1277287) [0x56419d9a1287]
/home/jaggz/blender-git/build_linux/bin/blender(BKE_undosys_step_undo_with_data_ex+0x8d) [0x56419e05f08d]
/home/jaggz/blender-git/build_linux/bin/blender(+0x10e67fe) [0x56419d8107fe]
/home/jaggz/blender-git/build_linux/bin/blender(ED_undo_operator_repeat+0x16d) [0x56419d81116d]
/home/jaggz/blender-git/build_linux/bin/blender(+0x12a770d) [0x56419d9d170d]
/home/jaggz/blender-git/build_linux/bin/blender(+0x12b7e8c) [0x56419d9e1e8c]
/home/jaggz/blender-git/build_linux/bin/blender(+0x10c7dc9) [0x56419d7f1dc9]
/home/jaggz/blender-git/build_linux/bin/blender(+0x10c81ec) [0x56419d7f21ec]
/home/jaggz/blender-git/build_linux/bin/blender(wm_event_do_handlers+0x219) [0x56419d7f2859]
/home/jaggz/blender-git/build_linux/bin/blender(WM_main+0x20) [0x56419d7eb6f0]
/home/jaggz/blender-git/build_linux/bin/blender(main+0x3fc) [0x56419d7a58bc]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1) [0x7f6b870aa2e1]
/home/jaggz/blender-git/build_linux/bin/blender(_start+0x2a) [0x56419d7e772a]

Details

Type
Bug

Related Objects