Crash on playing cached fluid simulation in layout #100220

Closed
opened 2022-08-05 10:35:05 +02:00 by Pascal · 13 comments

System Information
Operating system: Ubuntu 20.04.4 LTS
Graphics card: AMD Radeon RX 5700 XT
CPU: AMD Ryzen 9 3900X 12-Core Processor
RAM: 64GB F4-3200C16-16GTZRX

Blender Version
Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: bcfdb14560, type: release build date: 2022-08-02, 23:38:01
platform: 'Linux-5.18.2-051802-generic-x86_64-with-glibc2.31'

Short description of error
Baking fluid simulation to cache (19GB), play back the animation in layout, crash after playing the first 20-30 frames
Console: Read blend: /home/..../../watertest6.blend
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Writing: /tmp/watertest6.crash.txt
Segmentation fault (core dumped)

crash.txt

Blender 3.2.2, Commit date: 2022-08-02 18:15, Hash bcfdb14560

backtrace

/snap/blender/2661/blender(BLI_system_backtrace+0x20) [0xc1619d0]
/snap/blender/2661/blender() [0x11da18d]
/lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f6ffe1c9090]
/snap/blender/2661/blender() [0x1263386]
/snap/blender/2661/blender() [0xc16642e]
/snap/blender/2661/blender() [0x1796a35]
/snap/blender/2661/blender() [0x1796ceb]
/snap/blender/2661/blender() [0x1783d27]
/snap/blender/2661/blender() [0x1790720]
/snap/blender/2661/blender() [0x179275c]
/snap/blender/2661/blender() [0x1792959]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f6ffe920609]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f6ffe2a5133]

Python backtrace

Exact steps for others to reproduce the error
Scene, screenshot and txt attached, but not the baked cache. crashreport.tar.xz

**System Information** Operating system: Ubuntu 20.04.4 LTS Graphics card: AMD Radeon RX 5700 XT CPU: AMD Ryzen 9 3900X 12-Core Processor RAM: 64GB F4-3200C16-16GTZRX **Blender Version** Broken: version: 3.2.2, branch: master, commit date: 2022-08-02 18:15, hash: bcfdb14560e7, type: release build date: 2022-08-02, 23:38:01 platform: 'Linux-5.18.2-051802-generic-x86_64-with-glibc2.31' **Short description of error** Baking fluid simulation to cache (19GB), play back the animation in layout, crash after playing the first 20-30 frames Console: Read blend: /home/..../../watertest6.blend Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Writing: /tmp/watertest6.crash.txt Segmentation fault (core dumped) **crash.txt** # Blender 3.2.2, Commit date: 2022-08-02 18:15, Hash bcfdb14560e7 # backtrace /snap/blender/2661/blender(BLI_system_backtrace+0x20) [0xc1619d0] /snap/blender/2661/blender() [0x11da18d] /lib/x86_64-linux-gnu/libc.so.6(+0x43090) [0x7f6ffe1c9090] /snap/blender/2661/blender() [0x1263386] /snap/blender/2661/blender() [0xc16642e] /snap/blender/2661/blender() [0x1796a35] /snap/blender/2661/blender() [0x1796ceb] /snap/blender/2661/blender() [0x1783d27] /snap/blender/2661/blender() [0x1790720] /snap/blender/2661/blender() [0x179275c] /snap/blender/2661/blender() [0x1792959] /lib/x86_64-linux-gnu/libpthread.so.0(+0x8609) [0x7f6ffe920609] /lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f6ffe2a5133] # Python backtrace **Exact steps for others to reproduce the error** Scene, screenshot and txt attached, but not the baked cache. [crashreport.tar.xz](https://archive.blender.org/developer/F13337337/crashreport.tar.xz)
Author

Added subscriber: @DeppDeeh

Added subscriber: @DeppDeeh
Member

Added subscriber: @OmarEmaraDev

Added subscriber: @OmarEmaraDev
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

I can't reproduce the crash on 3.4. Can you test the latest daily build and check if it crashes as well? https://builder.blender.org/
Can you also do a factory reset to rule out any addon interference? File > Defaults > Load Factory Settings.
If it still crashes, can you attach the crash log from the daily build, as the one we have now doesn't have symbols.

I can't reproduce the crash on 3.4. Can you test the latest daily build and check if it crashes as well? https://builder.blender.org/ Can you also do a factory reset to rule out any addon interference? File > Defaults > Load Factory Settings. If it still crashes, can you attach the crash log from the daily build, as the one we have now doesn't have symbols.
Author

I just found out that the crash seems to happen only when the cache is baked with precision volumes set to mini, but not every time. I deleted the bake and baked again a few times.
Changed the setting of modifiers["Fluid"].domain_settings.openvdb_data_depth to half instead of min and baked again. Without changing anything else. Playing the simulations runs without crash now. Changed back to mini, still not crashing.
I will test both settings, on latest daily and 3.2.2 after reset to factory settings and add the results here.

I just found out that the crash seems to happen only when the cache is baked with precision volumes set to mini, but not every time. I deleted the bake and baked again a few times. Changed the setting of modifiers["Fluid"].domain_settings.openvdb_data_depth to half instead of min and baked again. Without changing anything else. Playing the simulations runs without crash now. Changed back to mini, still not crashing. I will test both settings, on latest daily and 3.2.2 after reset to factory settings and add the results here.
Author

I am still testing, cant reproduce it all the time, but occasionally. To make sure its not hardware or os related, i changed some parameters, i.e. disabled X.M.P. in the bios, run memtest to make sure the ram and cpu work fine and I am also installing ubuntu 22.04 and blender 3.4 on a separate hd to see if the chrashes maybe happen there, too.

I am still testing, cant reproduce it all the time, but occasionally. To make sure its not hardware or os related, i changed some parameters, i.e. disabled X.M.P. in the bios, run memtest to make sure the ram and cpu work fine and I am also installing ubuntu 22.04 and blender 3.4 on a separate hd to see if the chrashes maybe happen there, too.
Member

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Would suggest to keep the status "Needs Information from User" until @DeppDeeh has finished testing and can provide reliable repro steps.
Would then be good to update the report description with these updated steps (e.g. mention there that it only happens with Precision Volumes > Data Depth > Mini etc.)

Would suggest to keep the status "Needs Information from User" until @DeppDeeh has finished testing and can provide reliable repro steps. Would then be good to update the report description with these updated steps (e.g. mention there that it only happens with `Precision Volumes` > `Data Depth` > `Mini` etc.)
Author

After plenty hours of testing, longtime mem-test, different XMP-profiles and kernel updates, baking on and on, I still cannot produce a more reliable report than the initial one. Maybe it is related to the kernel/os or some hardware issues, or whatever. Sorry!
I guess its okay to close the task? If I discover reliable repro steps, I will report again. Thank you for your feedback and recommendations.

After plenty hours of testing, longtime mem-test, different XMP-profiles and kernel updates, baking on and on, I still cannot produce a more reliable report than the initial one. Maybe it is related to the kernel/os or some hardware issues, or whatever. Sorry! I guess its okay to close the task? If I discover reliable repro steps, I will report again. Thank you for your feedback and recommendations.
Member

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'
Member

In #100220#1404758, @DeppDeeh wrote:
After plenty hours of testing, longtime mem-test, different XMP-profiles and kernel updates, baking on and on, I still cannot produce a more reliable report than the initial one. Maybe it is related to the kernel/os or some hardware issues, or whatever. Sorry!
I guess its okay to close the task? If I discover reliable repro steps, I will report again. Thank you for your feedback and recommendations.

OK, will close, please come back if reliable repro steps can be found.

> In #100220#1404758, @DeppDeeh wrote: > After plenty hours of testing, longtime mem-test, different XMP-profiles and kernel updates, baking on and on, I still cannot produce a more reliable report than the initial one. Maybe it is related to the kernel/os or some hardware issues, or whatever. Sorry! > I guess its okay to close the task? If I discover reliable repro steps, I will report again. Thank you for your feedback and recommendations. OK, will close, please come back if reliable repro steps can be found.
Sign in to join this conversation.
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
3 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#100220
No description provided.