Remesh-bug.crash #92355
Labels
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
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
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
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
7 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#92355
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
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: Linux-4.15.0-159-generic-x86_64-with-glibc2.27 64 Bits
Graphics card: Mesa DRI Intel(R) HD Graphics 5500 (BDW GT2) Intel Open Source Technology Center 4.6 (Core Profile) Mesa 20.0.8
Blender Version
Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-10-18 21:38, hash:
d7b231baa8
Worked: (newest version of Blender that worked as expected)
Short description of error
Hi when I try to use the remesh command on this object, Blender crashes
crash-report
Exact steps for others to reproduce the error
{F11295360}
{F11295382}
Added subscriber: @pafurijaz-4
#92484 was marked as duplicate of this issue
#92391 was marked as duplicate of this issue
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Confirmed'
Added subscribers: @ZedDB, @Sergey, @neXyon, @lichtwerk
Apparently we are confronted with a NULL Audio device (this might be because remesh is fiddeling with a scene in a background job [I recall something with remesh and the scene being the job owner and not the mesh object] -- but I have not checked further), so security check in
sound_verify_evaluated_id
is not enough it seems.CC @ZedDB
CC @neXyon
CC @Sergey
But this also might not be the "real" problem, when doing something like the following (to avoid the crash in Audio)
P2517: T92355_snippet
we are then getting here (which also does not sound pleasing): https://developer.blender.org/diffusion/B/browse/master/extern/quadriflow/src/subdivide.cpp$503
Such tools are expected to localize data in the job's init function (which is run on the main thread) and do not fiddle around with data which is accessed by the main thread. If the remesh is indeed fiddeling with non-localized data it is to be addressed at a much higher priority than adding nullptr checks.
Sorry, this might have come across wrong, not sure quadriflow is actually
altering
anything scene related in the job (it was just my foggy memory of the job being owned by the scene [and not by to object -- but I also recall this had its reasons: progressbar etc]Looks like a depsgraph/memory related bug where I cannot do much!?
The model has several zero length edges which quadriflow can't handle.
(Use "merge by distance" to remove these and it will not crash anymore)
I will have to update the mesh manifold check to check for these.
The reason why we get the backtrace to the sound system is because of race condition were instead of crashing, quadriflow calls
exit()
and blender frees all scene data while an other thread tries to access it.Hi the original model is this but with no boolean modifiers applied.
retopology-experiments.blend
On Blender 2.83LST it works fine, the problem is in 293.lts and in Blender version 3.0 Below the attached file with two objects to do the tests and it works as seen from the video screen.
remesh-B2.83lts.blend
The latest file you attached works in master as well (because it doesn't have zero length edges).
I'm unsure what you are trying to say.
In the first I applied the modifiers with Blender 3.0 and in the second I imported the scene in Blender 2.83, and I applied the modifiers and I ran the command remesh, this means that in Blender 3.0 and in Blender 2.93 when you apply the modifiers both generate a corrupted mesh is .
You can try because I attached the original file from which I imported the scene from 3.0 to test with Blender 2.83LST, I don't know what the problem is but it is not that one has to remodel or redo the objects it is evident that there is a problem.
Did you try the latest 3.0 version?
For me applying the modifiers doesn't not create zero length edges in master.
This issue was referenced by
77104bf318
This issue was referenced by
10fb5cc58d
Changed status from 'Confirmed' to: 'Resolved'
In either case, the issue with generating invalid meshes is an other issue. So the reported crash has been "fixed", so I'll close this.
But what do you say this is a crash problem which originated from a file where I applied the modifiers and then tried to use the remesh command, it's not another problem it's a problem with Blender 3.0
I've tested now and it's crash this is the file made with Blender 3.0 the other for 2.83lts has a different boolean object when the one for the 3.0 has an object made by boolean union
The original model is this but with no modifiers applied.
retopology-experiments.blend
I'm saying that the invalid geometry generated by the boolean modifier is an other issue.
You reported that blender crashed when quadriflow was used on bad meshes with zero length edges.
I've added a check so the operator does not run on meshes with zero edge length edges now.
So the issue for this ticket is fixed and now closed.
Ok so now I've to create an other report for this issue?
If someone else hasn't already reported this issue, then you should report it as an other issue, yes.
Added subscriber: @mano-wii
Added subscriber: @iss