Some edit mode tools cause Blender to crash with Cycles enabled in the same "edit mode session" #57596

Closed
opened 2018-11-03 08:20:52 +01:00 by Alaska · 8 comments
Member

System Information:
CPU: Ryzen 5 2600
GPU: Radeon RX 570 4GB
OS: Windows 10 Home 64bit

Blender Version:
Broken: Blender 2.80 Beta 0f5b53ba4d

Short description of error:
Some edit mode tools (Smooth and Randomize) cause Blender to crash if Cycles rendering is enabled in edit mode during the same session.

Exact steps for others to reproduce the error:

  1. Open Blender with any file (Start-up file works).
  2. Change the render engine to Cycles.
  3. Enter edit mode on any object in the scene.
  4. Enter Rendered viewport mode.
  5. Select one of the two tools (Smooth or Randomize) from the tool bar and use it on the object.
  6. Blender should crash.

Note: EEVEE doesn't experience this issue.
Note 2: Entering rendered mode while in edit mode then switching to Solid, LookDev, or Wireframe mode will still cause Blender to crash when you use the tool.
Note 3: Entering rendered mode in object mode, then changing to Solid, LookDev, or Wireframe mode, then entering edit mode does not experience this issue.
Note 4: Entering rendered mode in edit mode, then switching back to Solid, LookDev, or Wireframe mode, then switching to object mode, then back to edit mode, then using a tool doesn't cause a crash.

Simplified form of notes 2-4: This crash only occurs if you have entered Cycles rendered mode will in the same "edit mode session". Exiting edit mode and re-entering it after exiting Rendered mode or using Cycles rendered mode outside of edit mode will stop the tools from causing Blender to crash.

**System Information:** CPU: Ryzen 5 2600 GPU: Radeon RX 570 4GB OS: Windows 10 Home 64bit **Blender Version:** **Broken:** Blender 2.80 Beta 0f5b53ba4dc **Short description of error:** Some edit mode tools (*Smooth and Randomize*) cause Blender to crash if Cycles rendering is enabled in edit mode during the same session. **Exact steps for others to reproduce the error:** 1. Open Blender with any file (Start-up file works). 2. Change the render engine to Cycles. 3. Enter edit mode on any object in the scene. 4. Enter Rendered viewport mode. 5. Select one of the two tools (*Smooth or Randomize*) from the tool bar and use it on the object. 6. Blender should crash. **Note:** EEVEE doesn't experience this issue. **Note 2:** Entering rendered mode while in edit mode then switching to Solid, LookDev, or Wireframe mode will still cause Blender to crash when you use the tool. **Note 3:** Entering rendered mode in object mode, then changing to Solid, LookDev, or Wireframe mode, then entering edit mode does not experience this issue. **Note 4:** Entering rendered mode in edit mode, then switching back to Solid, LookDev, or Wireframe mode, then switching to object mode, then back to edit mode, then using a tool doesn't cause a crash. **Simplified form of notes 2-4:** This crash only occurs if you have entered Cycles rendered mode will in the same "edit mode session". Exiting edit mode and re-entering it after exiting Rendered mode or using Cycles rendered mode outside of edit mode will stop the tools from causing Blender to crash.
Author
Member

Added subscriber: @Alaska

Added subscriber: @Alaska
Alaska changed title from Edit mode tools crash with Cycles enabled in the same "edit mode session" to Some edit mode tools cause Blender to crash with Cycles enabled in the same "edit mode session" 2018-11-03 08:33:26 +01:00
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Can confirm the crash.

wmGizmo->custom_modal is 0 and wmGizmoType cant be resolved.
Will also check this with ASAN...

1 gizmo_tweak_modal        wm_gizmo_group.c  520  0x1976ac0 
2 wm_handler_operator_call wm_event_system.c 1974 0x194843e 
3 wm_handlers_do_intern    wm_event_system.c 2580 0x1949d40 
4 wm_handlers_do           wm_event_system.c 2619 0x1949e42 
5 wm_event_do_handlers     wm_event_system.c 2988 0x194b01e 
6 WM_main                  wm.c              412  0x19405e0 
7 main                     creator.c         525  0x193b3b1 
Can confirm the crash. wmGizmo->custom_modal is 0 and wmGizmoType cant be resolved. Will also check this with ASAN... ``` 1 gizmo_tweak_modal wm_gizmo_group.c 520 0x1976ac0 2 wm_handler_operator_call wm_event_system.c 1974 0x194843e 3 wm_handlers_do_intern wm_event_system.c 2580 0x1949d40 4 wm_handlers_do wm_event_system.c 2619 0x1949e42 5 wm_event_do_handlers wm_event_system.c 2988 0x194b01e 6 WM_main wm.c 412 0x19405e0 7 main creator.c 525 0x193b3b1 ```
Campbell Barton was assigned by Philipp Oeser 2018-11-05 11:14:08 +01:00
Author
Member

Just tested in a newer version of Blender 2.80. The Spin tool and Spin Duplicate tool are no longer affected.

Just tested in a newer version of Blender 2.80. The Spin tool and Spin Duplicate tool are no longer affected.
Member

#60112 is related [potential fix D4161 in that task...]

#60112 is related [potential fix [D4161](https://archive.blender.org/developer/D4161) in that task...]

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'

This appears to be fixed.

This appears to be fixed.
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
3 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#57596
No description provided.