Crash after pressing "F" multiple times. #51900

Closed
opened 2017-06-26 14:48:36 +02:00 by Marián Kosa · 10 comments

System Information
Linux KDE

GTX 750Ti

Blender Version
Broken:
2.78 e8299c8,
2.78 b0ee9aaa5d (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

  • bug.blend.zip
  • Open enclosed file
  • left side should be selected
  • press F until it crashed (usually 2x)
**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** - [bug.blend.zip](https://archive.blender.org/developer/F643222/bug.blend.zip) - Open enclosed file - left side should be selected - press F until it crashed (usually 2x)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @MarianKosa

Added subscriber: @MarianKosa

Added subscriber: @mont29

Added subscriber: @mont29
Bart Crouch was assigned by Bastien Montagne 2017-06-26 19:17:20 +02:00

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)
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) ```

Added subscriber: @VukGardasevic

Added subscriber: @VukGardasevic

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.

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.
Bart Crouch was unassigned by Bastien Montagne 2017-06-26 21:36:35 +02:00
Bastien Montagne self-assigned this 2017-06-26 21:36:35 +02:00

Added subscriber: @BartCrouch

Added subscriber: @BartCrouch

Uuuh… yes indeed… :/

Uuuh… yes indeed… :/

This issue was referenced by 2c0ee61f6d

This issue was referenced by 2c0ee61f6d3dc6baf8bb75d747c4fb1c2aca2f87

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#51900
No description provided.