Blender 2.8 crash when switch to sculpting #58126

Closed
opened 2018-11-29 00:30:46 +01:00 by Andrii · 11 comments

System Information
Microsoft Windows x64 10 Pro 10.0.17134.407
AMD Radeon HD7750

Blender Version
version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-28 17:22, hash: 565de7750b, type: Release
build date: 28/11/2018, 09:48

Short description of error
Load file, switch to sculpting, Blender crashes

NightmareMoonFig1.blend

**System Information** Microsoft Windows x64 10 Pro 10.0.17134.407 AMD Radeon HD7750 **Blender Version** version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-28 17:22, hash: 565de7750b9, type: Release build date: 28/11/2018, 09:48 **Short description of error** Load file, switch to sculpting, Blender crashes [NightmareMoonFig1.blend](https://archive.blender.org/developer/F5749886/NightmareMoonFig1.blend)
Author

Added subscriber: @andergrin

Added subscriber: @andergrin

Added subscriber: @brhumphe

Added subscriber: @brhumphe

Confirmed on MacOS 10.14 build a740cc53ea

The issue seems to be specific to the mesh in that file. If I add an icosphere or other mesh, sculpting tools work fine on that mesh. It is only when entering sculpt mode with the wing selected that it crashes.

Confirmed on MacOS 10.14 build a740cc53ea1 The issue seems to be specific to the mesh in that file. If I add an icosphere or other mesh, sculpting tools work fine on that mesh. It is only when entering sculpt mode with the wing selected that it crashes.
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Confirmed, scene->toolsetting->sculpt is NULL here

1   mesh_calc_modifiers             DerivedMesh.c        1315 0x29a215d 
2   mesh_build_data                 DerivedMesh.c        2010 0x29a4a10 
3   mesh_get_eval_deform            DerivedMesh.c        2202 0x29a4ee8 
4   BKE_sculpt_object_pbvh_ensure   paint.c              1410 0x2b3d226 
5   BKE_sculpt_update_mesh_elements paint.c              1137 0x2b3c41c 
6   sculpt_init_session             sculpt.c             5638 0x229cae1 
7   ED_object_sculptmode_enter_ex   sculpt.c             5679 0x229cc1a 
8   sculpt_mode_toggle_exec         sculpt.c             5838 0x229d216 
9   wm_operator_invoke              wm_event_system.c    1337 0x1c6c6a2 
10  wm_operator_call_internal       wm_event_system.c    1534 0x1c6cd28 
11  WM_operator_name_call_ptr       wm_event_system.c    1582 0x1c6cf4b 
12  WM_operator_name_call           wm_event_system.c    1588 0x1c6cf9f 
13  ED_object_mode_toggle           object_modes.c       164  0x21427cf      
Confirmed, scene->toolsetting->sculpt is NULL here ``` 1 mesh_calc_modifiers DerivedMesh.c 1315 0x29a215d 2 mesh_build_data DerivedMesh.c 2010 0x29a4a10 3 mesh_get_eval_deform DerivedMesh.c 2202 0x29a4ee8 4 BKE_sculpt_object_pbvh_ensure paint.c 1410 0x2b3d226 5 BKE_sculpt_update_mesh_elements paint.c 1137 0x2b3c41c 6 sculpt_init_session sculpt.c 5638 0x229cae1 7 ED_object_sculptmode_enter_ex sculpt.c 5679 0x229cc1a 8 sculpt_mode_toggle_exec sculpt.c 5838 0x229d216 9 wm_operator_invoke wm_event_system.c 1337 0x1c6c6a2 10 wm_operator_call_internal wm_event_system.c 1534 0x1c6cd28 11 WM_operator_name_call_ptr wm_event_system.c 1582 0x1c6cf4b 12 WM_operator_name_call wm_event_system.c 1588 0x1c6cf9f 13 ED_object_mode_toggle object_modes.c 164 0x21427cf ```
Sergey Sharybin was assigned by Philipp Oeser 2018-11-29 14:04:39 +01:00
Member

Added subscriber: @Sergey

Added subscriber: @Sergey
Member

Hm, seems to be tied to the scene [which just doesnt seem to have ToolSettings->sculpt -- you can inspect this in the Outliner Data API as well]

If I add a cube in this scene, go to sculptmode (without subdivision modifier -- or else it will crash, too) then ToolSettings->sculpt will get created.
After that you can happily sculpt on the wing as well (so nothing wrong with that mesh in particular).
Same if I just append the collection to a new file.

Not sure how ToolSettings->sculpt would ever get lost? [maybe just corrupted file?]

@Sergey: mind checkon on this one?

Hm, seems to be tied to the scene [which just doesnt seem to have `ToolSettings->sculpt` -- you can inspect this in the Outliner Data API as well] If I add a cube in this scene, go to sculptmode (without subdivision modifier -- or else it will crash, too) then `ToolSettings->sculpt` will get created. After that you can happily sculpt on the wing as well (so nothing wrong with that mesh in particular). Same if I just append the collection to a new file. Not sure how `ToolSettings->sculpt` would ever get lost? [maybe just corrupted file?] @Sergey: mind checkon on this one?
Author

There are another model, that's made in previous version of blender (2.7) and blender crashes when any part of model switched to sculpting, for example
TempestShadowFig4.blend

There are another model, that's made in previous version of blender (2.7) and blender crashes when any part of model switched to sculpting, for example [TempestShadowFig4.blend](https://archive.blender.org/developer/F5757102/TempestShadowFig4.blend)
Author

It's seems, that's in latest build of Blender (version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-30 00:46, hash: 4c31bed6b4) this issue is fixed.

It's seems, that's in latest build of Blender (version: 2.80 (sub 35), branch: blender2.8, commit date: 2018-11-30 00:46, hash: 4c31bed6b46) this issue is fixed.
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Member

Working here as well, closing then

Working here as well, closing then
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#58126
No description provided.