Crash to desktop with boolean modifier #90818

Closed
opened 2021-08-21 10:18:08 +02:00 by Reiner Prokein · 17 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.09

Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-14 20:50, hash: d5261e973b
Broken: version: 2.93.2, branch: master, commit date: 2021-08-03 05:58, hash: 1eb06de260
Worked: 2.92 (2021-02-24)

Short description of error
Picking the target object for the boolean modifier crashes to desktop

Exact steps for others to reproduce the error

  • Add Boolean Modifier
  • Pick object
  • Crash

2021-08-21 10-15-22.mp4

crash2.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1060 6GB/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 461.09 **Blender Version** Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-08-14 20:50, hash: `d5261e973b` Broken: version: 2.93.2, branch: master, commit date: 2021-08-03 05:58, hash: `1eb06de260` Worked: 2.92 (`2021-02-24`) **Short description of error** Picking the target object for the boolean modifier crashes to desktop **Exact steps for others to reproduce the error** - Add Boolean Modifier - Pick object - Crash [2021-08-21 10-15-22.mp4](https://archive.blender.org/developer/F10300230/2021-08-21_10-15-22.mp4) [crash2.blend](https://archive.blender.org/developer/F10300231/crash2.blend)
Author

Added subscriber: @tiles

Added subscriber: @tiles

#95695 was marked as duplicate of this issue

#95695 was marked as duplicate of this issue

#92403 was marked as duplicate of this issue

#92403 was marked as duplicate of this issue

#91354 was marked as duplicate of this issue

#91354 was marked as duplicate of this issue

#91339 was marked as duplicate of this issue

#91339 was marked as duplicate of this issue

Added subscriber: @deadpin

Added subscriber: @deadpin

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'

Can confirm the issue here for 3.0 as well as 2.93.2.

It's due in part from attempting to work out which materials on each object need to be accounted for - we're only making space for 1 material but the boolean operand object has 45...

>	blender.exe!get_material_remap(Object * dest_ob, Object * src_ob) Line 396	C++

 	blender.exe!exact_boolean_mesh(BooleanModifierData * bmd, const ModifierEvalContext * ctx, Mesh * mesh) Line 425	C++
 	blender.exe!modifyMesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh) Line 473	C++
 	blender.exe!BKE_modifier_modify_mesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) Line 1054	C
 	blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 932	C++
 	blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, const bool use_deform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1291	C++
 	blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1933	C++
 	blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2063	C++
Can confirm the issue here for 3.0 as well as 2.93.2. It's due in part from attempting to work out which materials on each object need to be accounted for - we're only making space for 1 material but the boolean operand object has 45... ``` > blender.exe!get_material_remap(Object * dest_ob, Object * src_ob) Line 396 C++ blender.exe!exact_boolean_mesh(BooleanModifierData * bmd, const ModifierEvalContext * ctx, Mesh * mesh) Line 425 C++ blender.exe!modifyMesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * mesh) Line 473 C++ blender.exe!BKE_modifier_modify_mesh(ModifierData * md, const ModifierEvalContext * ctx, Mesh * me) Line 1054 C blender.exe!modifier_modify_mesh_and_geometry_set(ModifierData * md, const ModifierEvalContext & mectx, Mesh * input_mesh, GeometrySet & geometry_set) Line 932 C++ blender.exe!mesh_calc_modifiers(Depsgraph * depsgraph, Scene * scene, Object * ob, const bool use_deform, const bool need_mapping, const CustomData_MeshMasks * dataMask, const int index, const bool use_cache, const bool allow_shared_mesh, Mesh * * r_deform, Mesh * * r_final, GeometrySet * * r_geometry_set) Line 1291 C++ blender.exe!mesh_build_data(Depsgraph * depsgraph, Scene * scene, Object * ob, const CustomData_MeshMasks * dataMask, const bool need_mapping) Line 1933 C++ blender.exe!makeDerivedMesh(Depsgraph * depsgraph, Scene * scene, Object * ob, BMEditMesh * em, const CustomData_MeshMasks * dataMask) Line 2063 C++ ```
Member

Added subscribers: @Jacob-Lewallen, @PratikPB2123

Added subscribers: @Jacob-Lewallen, @PratikPB2123
Member

Added subscriber: @Raid9000

Added subscriber: @Raid9000

Added subscriber: @Wovchick

Added subscriber: @Wovchick

Removed subscriber: @Wovchick

Removed subscriber: @Wovchick

This issue was referenced by 7d2b6a213f

This issue was referenced by 7d2b6a213fd7014f5a4b8616693a416a321d67b6

This issue was referenced by 12c66854bd

This issue was referenced by 12c66854bd02c27595d41a83301638f4e46fa29a
Member

Changed status from 'Confirmed' to: 'Resolved'

Changed status from 'Confirmed' to: 'Resolved'
Howard Trickey self-assigned this 2021-10-06 16:26:38 +02:00

Added subscriber: @Hrofti

Added subscriber: @Hrofti
Member

Added subscribers: @G4laxyS, @OmarEmaraDev

Added subscribers: @G4laxyS, @OmarEmaraDev
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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 & 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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
Asset System
Module
Core
Module
Development Management
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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
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#90818
No description provided.