carve boolean modifier make some files impossible to open or very unstable. #52163
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#52163
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
Win 7 x64
Blender Version
Broken: 2.79 testbuild2 VS2015 (VS2013 opens as well as Linux versions)
Short description of error
Some carve modifier makes complex files impossible to open. Changing them to Bmesh mode make those files to work again.
Exact steps for others to reproduce the error
I couldn't make a file to reproduce the error. What is sure is that the object in this file makes the original file to not open in VS2015 builds and prints a lot of memory leaks on Linux with ASAN.
buggy carve.blend
When this object is removed or changed to bmesh in the boolean modifier option, the file opens again on VS2015 builds.
Even on 2013 builds, the original file with this object is very unstable. It randomly but often crashes at render start or end or when undoing.
Changed status to: 'Open'
Added subscriber: @bliblubli
#51975 was marked as duplicate of this issue
Added subscriber: @SteffenD
Added subscribers: @fablefox, @Sergey
Added subscriber: @LazyDodo
I can confirm the issue, but only happens in release build done with MSVC 2015. It doesn't even happen in RelWithDebInfo configuration, which makes it really hard to troubleshoot.
@LazyDodo, Can you check whether you can reproduce the issue and get some usable backtrace?
Note that the crash on file open is only on VS2015 release, but instability is in VS2013 = official release too. It just happens randomly during a material change or an undo or a final render start or whatever part of memory was corrupted.
I can open it with VS 2015 build (blender-2.78-edc6bec-win64-vc14.zip). Using parameter -d. I changed the modifier type to Carve and save it.
I can open it and do some extrude to test undo/redo and also render it fine (although I cancelled halfway because it takes too long). Its my own VS 2015 build of
e982ebd
Blender.Although as a note, the first time I change the modifier to Carve, rotating the scene become slugging. After 30 sec or something, its fine. Subsequent opening the file with modifier already set to Carve, rotating the scene just fine.
@bliblubli, please define what exact instability is and how to reproduce it.
@Sergey #51975 shows variants of bug that pops up when this carve object is in scene. Sometime, some part of the mesh (the box containing the vegetables) was missing, sometime the textures were pink, sometime the shader got white. Most of the time hitting F12 would segfault. Sometime it succeeded, but the segfault appeared just after render finished (couldn't even save the file).
@fablefox debug builds indeed are working. Of course, replacing carve with bmesh also makes the file stable again.
To more easily the bugs and crash, you have to:
This part of the scene was modeledin november last year and wasn't touched since then. The bugs and crash happened more often as scene complexity increased.
Added subscriber: @VukGardasevic
Changed status from 'Open' to: 'Resolved'
Since the commit
e0597baed5
Carve library was removed from Blender. Since these boolean problems are related to issues within the library, the task can be closed.Well, Carve was actually a good fall-back method when Bmesh boolean failed. It would be good to remove fallbacks when the main is polished and covers all the cases the fallback did?