2.92 crashes when Duplicating Object inside Collection used for Boolean (set to "Fast" Solver) #86799
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#86799
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 19042.867
Graphics card: 2080 Ti (dual card)
Blender Version
Broken: 2.92.0
Worked: 2.91.1
Short description of error
When I use Boole Modifier and set Operand Type: Collection, I am only able to have one object in the collection, when the Boole Solver is set to "Fast". As soon as I duplicate the object in the collection the program crashes.
Exact steps for others to reproduce the error
I have recreated this in the attached file (simply duplicate the selected object to see what I mean).
blender_crashing.blend
Added subscriber: @glencandle-3
2.92 crashes when Duplicating Object inside Collection used for Booleto 2.92 crashes when Duplicating Object inside Collection used for Boole (set to "Fast" Solver)Added subscriber: @filedescriptor
Changed status from 'Needs Triage' to: 'Confirmed'
I can confirm this on the latest 2.93.0 Alpha, branch: master, commit date: 2021-03-22 11:23, hash:
c4c195672d
.When using ASAN, this will consistently crash. Here is the report:
Added subscriber: @lichtwerk
Think this deserves to be High priority.
2.92 crashes when Duplicating Object inside Collection used for Boole (set to "Fast" Solver)to 2.92 crashes when Duplicating Object inside Collection used for Boolean (set to "Fast" Solver)Added subscriber: @LukasTonne
This crashes because
BM_mesh_bm_from_me
expects the inputMesh
data block to have valid selection indices. If that's not the case then the face table it uses causes out-of-bounds crash.The outcome of the first collection step is already incorrect (
MSelect
contains invalid index), but the inverseBM_mesh_bm_to_me
function does not care. It's only in the 2nd collection step when theMesh
block is reused that things fall apart.What causes the incorrect indices is that
BM_mesh_intersect
reduces the number of faces (from 224 of the operand mesh to 6 of the intersection), but does not correct selection indices of the BMesh to match.I'm unsure about expected behavior regarding selection:
BM_mesh_bm_from_me
should check before accessing the face table: https://developer.blender.org/diffusion/B/browse/master/source/blender/bmesh/intern/bmesh_mesh_convert.c$484This issue was referenced by
315582f28c
Changed status from 'Confirmed' to: 'Resolved'