Page MenuHome

Bevel tool crashes
Closed, ResolvedPublic


System Information
Operating system: macOS 10.14.2
Graphics card: Intel Iris Plus Graphics 640 1536 MB

Blender Version
Broken: 2.80, 2019-02-27

Short description of error
Using the bevel tool crashes every time

Exact steps for others to reproduce the error

  • Open default scene
  • Enter Edit Mode
  • Switch to the Bevel tool in the toolbar
  • Click and drag in the viewport to bevel
  • Crash



Event Timeline

Same for Inset Faces too - crashes every time. Could be the same issue.

With the inset op:

known worked rBb80ff7e2f14ba2d575a4b7d6f8112622150db6e6
broken rB3ad2d6caef7410aec67ebde416f03c9a06014e8a

Thread 1 "blender8debug" received signal SIGSEGV, Segmentation fault.
0x0000555557c282c1 in initTransInfo (C=0x7fffcf06d488, t=0x7fffadbf9808, op=0x0, event=0x0)
    at source/blender/editors/transform/transform_generics.c:1525
1525		if ((prop = RNA_struct_find_property(op->ptr, "orient_axis"))) {
(gdb) l
1520				t->view = NULL;
1521			}
1522			t->around = V3D_AROUND_CENTER_BOUNDS;
1523		}
=> 1525		if ((prop = RNA_struct_find_property(op->ptr, "orient_axis"))) {
1526			t->orient_axis = RNA_property_enum_get(op->ptr, prop);
1527		}
1528		if ((prop = RNA_struct_find_property(op->ptr, "orient_axis_ortho"))) {
1529			t->orient_axis_ortho = RNA_property_enum_get(op->ptr, prop);

This is caused by the recent commit by Campbell, rB8a432c1a4 , which put a lookup using op->ptr into initTransInfo. But that function is sometimes called with a null op (inset and bevel do it to find the geometric center to draw the UI dotted line from). Not sure if the right fix is to pass op down through the stack from those two places, or to protect the newly added code by "if (op)", so asking Campbell to figure out the right fix. If this is urgent to fix, we could put in the "if (op)" tests now until Campbell can get to it.