Page MenuHome

Crash after pressing "F" multiple times.
Closed, ResolvedPublic

Description

System Information
Linux KDE

GTX 750Ti

Blender Version
Broken:
2.78 e8299c8,
2.78 b0ee9aaa5d3 (newest available?)

Short description of error
I was fixing model from client and probably created "broken" mesh. I wanted to shorten it using F2 addon and it crashed repeatedly on me.
I am aware it was not built for this example, but it should not crash.?

Exact steps for others to reproduce the error

  • Open enclosed file
  • left side should be selected
  • press F until it crashed (usually 2x)

Event Timeline

Mesh seems to be valid, so looks like it's F2 which is doing something wrong here? At least would be my first bet…

Fwiw, here is the trace back of the crash (at second press, first one goes OK and mesh is still valid at this point):

ASAN:DEADLYSIGNAL
=================================================================
==8372==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x55f36d79f123 bp 0x7ffd16d5fa20 sp 0x7ffd16d5fa00 T0)
    #0 0x55f36d79f122 in madd_v3_v3fl /home/i74700deb64/blender/__work__/src/source/blender/blenlib/intern/math_vector_inline.c:542
    #1 0x55f36d7a258c in BM_verts_sort_radial_plane /home/i74700deb64/blender/__work__/src/source/blender/bmesh/intern/bmesh_construct.c:412
    #2 0x55f36db1096a in bmo_contextual_create_exec /home/i74700deb64/blender/__work__/src/source/blender/bmesh/operators/bmo_create.c:294
    #3 0x55f36d8f3dea in BMO_op_exec /home/i74700deb64/blender/__work__/src/source/blender/bmesh/intern/bmesh_operators.c:219
    #4 0x55f36cbc5d46 in edbm_add_edge_face_exec /home/i74700deb64/blender/__work__/src/source/blender/editors/mesh/editmesh_tools.c:750
    #5 0x55f36c0811e8 in wm_operator_invoke /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1125
    #6 0x55f36c08200e in wm_operator_call_internal /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1346
    #7 0x55f36c082250 in WM_operator_call_py /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1409
    #8 0x55f36d26e281 in pyop_call /home/i74700deb64/blender/__work__/src/source/blender/python/intern/bpy_operator.c:245
    #9 0x7f0f41f8f458 in PyCFunction_Call (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x71458)
    #10 0x7f0f420a2816 in PyEval_EvalFrameEx (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x184816)
    #11 0x7f0f42182e03  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x264e03)
    #12 0x7f0f42182ee2 in PyEval_EvalCodeEx (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x264ee2)
    #13 0x7f0f42015807  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xf7807)
    #14 0x7f0f42115646 in PyObject_Call (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1f7646)
    #15 0x7f0f4211eaab  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x200aab)
    #16 0x7f0f42115646 in PyObject_Call (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1f7646)
    #17 0x7f0f41fbb9ac  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x9d9ac)
    #18 0x7f0f42115646 in PyObject_Call (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1f7646)
    #19 0x7f0f4209e383 in PyEval_EvalFrameEx (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x180383)
    #20 0x7f0f42182e03  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x264e03)
    #21 0x7f0f42182ee2 in PyEval_EvalCodeEx (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x264ee2)
    #22 0x7f0f42015807  (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0xf7807)
    #23 0x7f0f42115646 in PyObject_Call (/usr/lib/x86_64-linux-gnu/libpython3.5m.so.1.0+0x1f7646)
    #24 0x55f36d251798 in bpy_class_call /home/i74700deb64/blender/__work__/src/source/blender/python/intern/bpy_rna.c:7633
    #25 0x55f36eb47913 in rna_operator_invoke_cb /home/i74700deb64/blender/__work__/src/source/blender/makesrna/intern/rna_wm.c:1035
    #26 0x55f36c080eb6 in wm_operator_invoke /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1115
    #27 0x55f36c0846dd in wm_handler_operator_call /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:1767
    #28 0x55f36c085f20 in wm_handlers_do_intern /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2047
    #29 0x55f36c086723 in wm_handlers_do /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2158
    #30 0x55f36c0884ba in wm_event_do_handlers /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm_event_system.c:2493
    #31 0x55f36c06ab6e in WM_main /home/i74700deb64/blender/__work__/src/source/blender/windowmanager/intern/wm.c:504
    #32 0x55f36c060e7a in main /home/i74700deb64/blender/__work__/src/source/creator/creator.c:527
    #33 0x7f0f36cf52b0 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x202b0)
    #34 0x55f36c0601d9 in _start (/home/i74700deb64/blender/__work__/build_cmake_dbg/bin/blender+0x373f1d9)
Bastien Montagne (mont29) lowered the priority of this task from 90 to 50.Jun 26 2017, 7:17 PM

The crash comes from bpy.ops.mesh.edge_face_add('INVOKE_DEFAULT') which is an Blender's operator. The crash will happen with the regular F too.
That can be tested as by starting with loading factory settings or disabling the F2 operator and pressing F twice.

The F2 operator passes through to the regular operator if the number of selected vertices is above 2.