Crash when playing metaball particle animation in rendered view (cycles) #93199
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#93199
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?
Ok, I simplified this a lot: simply adding a particle system emitting metaballs with object scale set to 1 to the default cube will trigger the crash or UI freeze.
Open attached Cycles anim crash 5.blend file from below comments and enable rendered view in cycles. Press space to start the animation playing.
--- old info: ---
System Information
Operating system: macOS-12.0.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 76.1
Blender Version
Broken: version: 3.0.0, 3.5, 4.0, 4.1.0 Alpha, branch: main, commit date: 2023-11-24 22:55, hash:
42ddc13033c2
Worked: unknown
Short description of error
Playing animations in cycles rendered view frequently crash blender. With the attached file I consistently get a crash within 1-2 minutes of starting the animation.
The crashes do not occur when running the intel version through rosetta. They occur much faster/more often when using the CPU than when using the GPU.
Exact steps for others to reproduce the error
Open attached file
Switch to rendered view (Crashes with and without Metal preference)
Press spacebar to play
Boat boating.blend
Animation crash.txt
Added subscriber: @blenderrocket
Sometimes while playing it also gets stuck at Updating Geometry BVH Mball and most of the UI gets unresponsive.
In general, playing animations in cycles rendered view has a very high tendency to crash, they seems to occur much more often than on my previous intel Mac..
Added subscribers: @mano-wii, @iss
@mano-wii Can you check?
Still happens with 3.0 final release.
Changed status from 'Needs Triage' to: 'Needs User Info'
I cannot reproduce this with either the latest stable or current development versions of Blender: https://builder.blender.org/download/
Go to File → Defaults → Load Factory Settings and then load your file to see if you still can reproduce this issue.
If the problem persists, please give us more clear instructions on how to reproduce it from scratch.
System Information
Operating system:
macOS-11.6-arm64-arm-64bit 64 Bits
Graphics card:
Apple M1 Apple 4.1 Metal - 71.7.1
Blender Version:
3.0.0, branch: master, commit date: 2021-12-02 18:35, hash: f1cca30557
Hi, thanks for testing. With factory defaults I can still easily reproduce this in 3.0 final release and in the latest 3.1 daily build (version: 3.1.0 Alpha, branch: master, commit date: 2021-12-07 16:47, hash:
a37dac0a88
). The crashes basically happen while doing anything in cycles rendered view, but occur most often and consistently when playing animations in the viewport. Sometimes within seconds of pressing play, sometimes after up to a few minutes; when just editing I will run into a crash within 15-30 minutes usually. It is about 50/50 whether blender fully crashes or only the ui locks up without a crash.The crashes are specific to the apple silicon build, when I use the intel version on the same m1 MacBook Pro, the crashes do not occur. Unfortunately I can't give more specific steps than above to reproduce, I can add more crash reports if that is helpful.
Sometimes I also get this effect where the rendered view stops updating, a few clicks after that the ui will completely lock up:
Schermopname 2021-12-07 om 20.40.19.mov
Changed status from 'Needs User Info' to: 'Needs Triage'
Same with metal GPU enabled, frequent crashes in rendered viewport. One report with metal enabled just in case the problem might be different:
Crash metal.txt
Added subscriber: @Leonard-Gottert
I can reproduce the crash as well as viewport shading not updating using the boat boating blend file. For me, Blender crashes after 10 to 60s when using CPU rendering. I just go into viewport shading and start the animation, then leave Blender alone.
I could not reproduce with GPU rendering (within a reasonable amount of time).
System Information
Operating system: macOS-12.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Pro Apple 4.1 Metal - 76.3
Blender Version
Broken: version: 3.1.0 Alpha, branch: master, commit date: 2022-01-07 23:28, hash:
741ed5fcd2
Added subscriber: @michael64
@michael64 can you see if this is the same as #94736? I get a lot of crashes in rendered view with the M1 build (but not in the intel one); it is hard to see if it is all the same bug(s) or if I need to file multiple reports.
@blenderrocket, this crash is very different from #94736.
As one can see in F11826548 thread 16 calls ccl::BVHEmbree::build which calls embree::sse2::BVHBuilderMorton::BuildPrim via tbb which crashes in thread 17.
The Cycles Metal implementation is not involved here at all.
I suspect this is the case even for the F12737533 but there macOS could not even create a proper crash report so I can't say for sure.
I tried to reproduce the crash on Apple M1 and got three crashes so far but always by doing random UI interactions and I found no way of forcing a crash or even make it more likely.
So multiple bugreports are definitely called for here.
Also if you like you could upgrade to macOS 12.1. This will not make the crash go away but it might help in generating a proper crash report when using Metal.
Changed status from 'Needs Triage' to: 'Needs User Info'
The comments seem to mix up different issues.
Considering only the original .blend file from the report, is this issue still seen with the latest daily build and macOS 12.2?
Still can't replicate.
Operating system:
macOS-12.2-arm64-arm-64bit 64 Bits
Graphics card:
Apple M1 Apple 4.1 Metal - 76.3
Yes, both crashes and the UI freezing still occur with the latest 3.1 build
I get these crashes a lot (like every few minutes) whenever doing anything in cycles rendered view, not only with this file.
Crash log reproduced with the same .blend:
CrashLatest.txt
System Information
Operating system: macOS-12.2-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 76.3
Blender Version
Broken: version: 3.1.0 Beta, branch: master, commit date: 2022-02-09 17:06, hash:
d1202bd641
Changed status from 'Needs User Info' to: 'Needs Triage'
It's strange, apparently it seems to be the exact same setup I used, but I can't replicate the problem.
Latest 3.2 dailies are also affected. One thing I noticed just now (as Leonard reported above) is that the crashes occur much faster/often when using the CPU than when using the GPU.
Still affects the latest 3.5 alphas
System Information
Operating system: macOS-13.0.1-arm64-arm-64bit 64 Bits
Graphics card: Apple M1 Max Apple 4.1 Metal - 83
Broken: version: 3.5.0 Alpha, branch: master, commit date: 2022-12-15 23:50, hash:
e58f5422c3
Added subscriber: @PratikPB2123
Changed status from 'Needs Triage' to: 'Needs User Info'
@blenderrocket hi, does it crash if you run blender with
-t 1
argument?It doesn't seem to crash then, I have been playing the animation for about 30 minutes without any crash.
Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'
Added subscribers: @Michael-Jones, @brecht
Thanks. Looks like a threading issue then.
@brecht, @Michael-Jones , can you check?
Ok, I simplified this a lot: simply adding a particle system emitting metaballs with object scale set to 1 to the default cube will trigger the crash or UI freeze.
Open attached file and enable rendered view. Press space to start the animation playing.
And the corresponding crash log.
Crash when playing animation in rendered view (cycles)to Crash when playing metaball particle animation in rendered view (cycles)