Blender 2.8 Beta crashing in Sculpt Mode #58265
Labels
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
6 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#58265
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows 10 Pro latest updates
Graphics card: GTX 1080
Blender Version
Broken: blender-2.80-4c31bed6b46-win64
Worked: blender-2.79-45c11c1a1bd-win64
Short description of error
Blender crashes when using the grab tool in sculpt mode after having slightly modified a simple cube
Exact steps for others to reproduce the error
As soon as I click on the mesh, blender crashes in 2.8 Beta latest build, but not in 2.7 nightly build.
(Doesn't seem to crash without the bevel modifier and autosmooth)
#58265.blend
Added subscriber: @thebergh
Blender 2.8 Beta crashingto Blender 2.8 Beta crashing in Sculpt ModeAdded subscriber: @lichtwerk
Confirmed, checking...
Added subscriber: @SteffenD
Added subscriber: @howardt
Hitting various asserts each time trying... (added file to the task description for convenience)
BLI_assert(pool->flag & BLI_MEMPOOL_ALLOW_ITER);
BLI_assert(BM_vert_in_edge(e, v));
BLI_assert(pool->chunk_tail->next == NULL);
Since this is somewhat bound to the bevel modifier (tried sculpt-grabbing with autosmooth on other modifiers and couldnt get them to crash), I would kindly ask @howardt to have a look?
The problem is that the BKE_mesh_to_bmesh_ex() appears not to have created a bm->epool with the BLI_MEMPOOL_ALLOW_ITER flag set. I'll dig into why...
Somehow the memory allocator data structures got corrupted so that it returned the same value for both the edge pool and the loop pool allocations (!).
I'll have to did deeper to understand which code is doing the corrupting. I tried Valgrind, but no luck.
I downloaded the latest build of Blender 2.8 and it doesn't crash anymore when doing the exact thing I tried before.
Neither will switching brushes.
Changed status from 'Open' to: 'Resolved'
Yes, this seems to have been fixed by commit
18f0618677
(found by bisecting commits). I'll close this bug.I'm really sorry to say that after downloading the blender-2.80-baf599610a4-win64 commit and testing,
it crashes again! Just like before. Just a simple cube with bevel modifier, and using the grab brush in
sculpt mode.
Changed status from 'Resolved' to: 'Open'
Added subscriber: @SergeyIvanov
Doesn't working for the - 2.80,
1fa527bfa3
, 2018-12-05Yes, you are correct. I guess the previous CL that I thought fixed things just moved the problem around.
I'll continue to look into this.
Added subscriber: @dfelinto
Can you confirm if this is still a bug? We had some commits related to autosmooth, and I can't seem to reproduce this bug on the latest master.
I just tested it and I'm unable to reproduce the bug. I tried different brushes, settings etc., but nothing crashes blender in relation to this issue.
Changed status from 'Open' to: 'Resolved'