Blender crashes when editing liquid domain #99348
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
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#99348
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
Operating system: Windows-10-10.0.19044-SP0 64 Bits
Graphics card: NVIDIA GeForce RTX 3060 Laptop GPU/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 497.29
Blender Version
Broken: version: 3.2.0, branch: master, commit date: 2022-06-08 10:22, hash:
e05e1e3691
Worked: (newest version of Blender that worked as expected)
Short description of error
Tryed to do a liquid sim in my project, but was getting crashes when creating quick liquid. Tryed to figure out when its crashing. Copied my model (that sould be an obstacle but I had no chance to set it as obstacle beacuse it crashed faster) of 60k vertices to another file, thought it could be a result of so many poligons of the mesh, decimated and optimized it to 14k, created a sphere and added quick liquid. Crash. Then in empty project with only cube, added quick liquid to it, edited domain by dragging one face out and again it crashed. Uninstalled all previous versions and the current one, reinstalled it and bug still appear.
PS maybe it appears only in my PC because I didn't find other same bug reports (only in older versions), but all other stuff works ok in my PC, only blender crashes constantly :)
Exact steps for others to reproduce the error
Open empty project, add quick liquid to cube, deform domain a little bit, press tab to exit edit mode and get a crash
Added subscriber: @c0mbat
Added subscriber: @Baardaap
Changed status from 'Needs Triage' to: 'Needs User Info'
I can't reproduce it. Mayve an interaction with some add-on?
Could you try this:
Thanks for your comment
I loaded factory preferences as you said. Blender still crashes. Maybe the blender.crash.txt can help somehow
Blender 3.2.0, Commit date: 2022-06-08 10:22, Hash
e05e1e3691
bpy.ops.object.select_all(action='SELECT') # Operator
bpy.ops.object.delete(use_global=False) # Operator
bpy.ops.view3d.pastebuffer() # Operator
1 object(s) pasted # Info
bpy.ops.mesh.primitive_cube_add(size=2, enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1)) # Operator
bpy.ops.transform.translate(value=(-2.38419e-07, -0.564797, 7.8909), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(False, True, True), mirror=False, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, release_confirm=True) # Operator
bpy.ops.object.modifier_add(type='FLUID') # Operator
bpy.ops.mesh.primitive_cube_add(enter_editmode=False, align='WORLD', location=(0, 0, 0), scale=(1, 1, 1)) # Operator
bpy.ops.object.modifier_add(type='FLUID') # Operator
bpy.ops.object.shade_smooth() # Operator
bpy.ops.object.material_slot_add() # Operator
bpy.ops.object.quick_liquid() # Operator
bpy.ops.object.select_all(action='SELECT') # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.ops.mesh.select_mode(use_extend=False, use_expand=False, type='FACE') # Operator
bpy.ops.transform.translate(value=(-0, -0, -1.509), orient_axis_ortho='X', orient_type='GLOBAL', orient_matrix=((1, 0, 0), (0, 1, 0), (0, 0, 1)), orient_matrix_type='GLOBAL', constraint_axis=(False, False, True), mirror=True, use_proportional_edit=False, proportional_edit_falloff='SMOOTH', proportional_size=1, use_proportional_connected=False, use_proportional_projected=False, release_confirm=True) # Operator
bpy.ops.object.editmode_toggle() # Operator
bpy.context.space_data.shading.type = 'SOLID' # Property
bpy.context.space_data.shading.type = 'WIREFRAME' # Property
backtrace
Exception Record:
ExceptionCode : EXCEPTION_ACCESS_VIOLATION
Exception Address : 0x00007FFA224B7C82
Exception Module : tbbmalloc.dll
Exception Flags : 0x00000000
Exception Parameters : 0x2
Parameters- [x] : 0x0000000000000000
Parameters- [x] : 0xFFFFFFFFFFFFFFFF
Stack trace:
tbbmalloc.dll :0x00007FFA224B7C82 Symbols not available
Loaded Modules :
0x00007FF676C40000 3.2.0.0 blender.exe C:\Program Files\Blender Foundation\Blender 3.2\blender.pdb
0x00007FFA27190000 10.0.19041.1741 ntdll.dll
0x00007FFA25290000 10.0.19041.1741 KERNEL32.DLL
0x00007FFA24960000 10.0.19041.1741 KERNELBASE.dll
0x00007FFA26E40000 10.0.19041.546 WS2_32.dll
0x00007FFA25D40000 10.0.19041.1706 RPCRT4.dll
0x00007FFA25BA0000 10.0.19041.1503 USER32.dll
0x00007FFA24E50000 10.0.19041.1766 win32u.dll
0x00007FFA224B0000 tbbmalloc.dll
0x00007FFA1D530000 tbb.dll
0x00007FFA26100000 10.0.19041.1620 GDI32.dll
0x00007FFA24C30000 10.0.19041.1706 gdi32full.dll
0x00007FFA24D40000 10.0.19041.789 msvcp_win.dll
0x00007FFA250F0000 10.0.19041.789 ucrtbase.dll
0x00007FFA26F60000 10.0.19041.1682 ADVAPI32.dll
0x00007FFA251F0000 7.0.19041.546 msvcrt.dll
0x00007FFA26CC0000 10.0.19041.1586 sechost.dll
0x00007FFA263D0000 10.0.19041.1741 SHELL32.dll
0x00007FFA256B0000 10.0.19041.1706 SHLWAPI.dll
0x00007FFA24E80000 10.0.19041.1620 CFGMGR32.dll
0x00007FFA154B0000 14.29.30139.0 MSVCP140.dll
0x00007FFA22920000 14.29.30139.0 VCRUNTIME140.dll
0x00007FFA250C0000 10.0.19041.1023 bcrypt.dll
0x00007FFA228D0000 14.29.30139.0 VCRUNTIME140_1.dll
0x00007FFA25FD0000 10.0.19041.1202 ole32.dll
0x00007FFA22540000 10.0.19041.867 dbghelp.dll
0x00007FFA25350000 10.0.19041.1741 combase.dll
0x00007FFA25710000 10.0.19041.546 PSAPI.DLL
0x00007FFA26EB0000 10.0.19041.1741 shcore.dll
0x00007FFA262F0000 10.0.19041.546 IMM32.dll
0x00007FF9B4F00000 10.0.19041.1741 OPENGL32.dll
0x00007FF9886C0000 9.0.0.0 openvdb.dll
0x00007FF986A30000 59.18.100.0 avcodec-59.dll
0x00007FFA0FA30000 59.16.100.0 avformat-59.dll
0x00007FFA18BC0000 59.4.100.0 avdevice-59.dll
0x00007FFA25E70000 10.0.19041.985 OLEAUT32.dll
0x00007FFA0F850000 57.17.100.0 avutil-57.dll
0x00007FFA13DD0000 6.4.100.0 swscale-6.dll
0x0000000070440000 1.0.28.0 libsndfile-1.dll
0x00007FFA13490000 1.21.1.0 OpenAL32.dll
0x000000006ACC0000 libgmp-10.dll
0x00007FFA12E30000 2.0.20.0 SDL2.dll
0x00007FFA22890000 libgmpxx.dll
0x00007FFA25720000 10.0.19041.1741 SETUPAPI.dll
0x00007FFA0F380000 3.10.2150.1013 python310.dll
0x00007FFA22880000 tbbmalloc_proxy.dll
0x00007FFA18700000 10.0.19041.1 AVIFIL32.dll
0x00007FFA1B050000 6.10.19041.1110 COMCTL32.dll
0x00007FFA1B530000 10.0.19041.546 VERSION.dll
0x0000000070680000 libfftw3-3.dll
0x00007FFA18300000 4.3.100.0 swresample-4.dll
0x00007FF9C7E20000 10.0.19041.1741 GLU32.dll
0x00007FFA1A690000 10.0.19041.546 Secur32.dll
0x00007FFA18BA0000 10.0.19041.1 AVICAP32.dll
0x00007FFA22730000 10.0.19041.546 WINMM.dll
0x00007FFA173A0000 10.0.19041.1 MSVFW32.dll
0x00007FFA146E0000 10.0.19041.1 MSACM32.dll
0x00007FFA00090000 10.0.19041.1 winmmbase.dll
0x00007FFA247A0000 10.0.19041.1586 SSPICLI.DLL
0x00007FFA23140000 10.0.19041.546 kernel.appcore.dll
0x00007FFA22990000 10.0.19041.1741 windows.storage.dll
0x00007FFA24310000 10.0.19041.1682 Wldp.dll
0x00007FFA21C80000 10.0.19041.1620 uxtheme.dll
0x00007FFA24ED0000 10.0.19041.1415 bcryptPrimitives.dll
0x00007FFA247F0000 10.0.19041.844 profapi.dll
0x00007FFA26320000 2001.12.10941.16384 clbcatq.dll
0x00007FFA1E210000 10.0.19041.1503 MMDevApi.dll
0x00007FFA24660000 10.0.19041.1620 DEVOBJ.dll
0x00007FFA1E740000 10.0.19041.1741 AUDIOSES.DLL
0x00007FFA23E80000 10.0.19041.546 powrprof.dll
0x00007FFA23CF0000 UMPDC.dll
0x00007FFA27030000 10.0.19041.1741 MSCTF.dll
0x00007FFA1C680000 10.0.19041.1620 AppXDeploymentClient.dll
0x00007FF983A70000 30.0.14.9729 nvoglv64.dll
0x00007FFA1ED10000 10.0.19041.546 WTSAPI32.dll
0x00007FFA24280000 10.0.19041.546 CRYPTBASE.DLL
0x00007FFA244A0000 10.0.19041.546 msasn1.dll
0x00007FFA1A100000 10.0.19041.906 cryptnet.dll
0x00007FFA24F60000 10.0.19041.1320 CRYPT32.dll
0x00007FFA1A140000 10.0.19041.1566 drvstore.dll
0x00007FFA24DE0000 10.0.19041.1741 WINTRUST.dll
0x00007FFA236D0000 10.0.19041.546 ntmarta.dll
0x00007FFA13E70000 10.0.19041.546 dxcore.dll
0x00007FFA21E60000 10.0.19041.746 dwmapi.dll
0x00007FFA235E0000 10.0.19041.546 WINSTA.dll
0x00007FFA01B70000 10.0.19041.1387 dataexchange.dll
0x00007FFA203E0000 10.0.19041.1741 dcomp.dll
0x00007FFA20170000 10.0.19041.1741 d3d11.dll
0x00007FFA231B0000 10.0.19041.1741 dxgi.dll
0x00007FFA1C7B0000 10.0.19041.1741 twinapi.appcore.dll
0x00007FFA12580000 30.0.14.9729 nvldumdx.dll
0x00007FFA27010000 10.0.19041.1415 imagehlp.dll
0x00007FFA24260000 10.0.19041.546 CRYPTSP.dll
0x00007FFA23980000 10.0.19041.1052 rsaenh.dll
0x00007FF981140000 30.0.14.9729 nvwgf2umx.dll
0x00007FFA15930000 30.0.14.9729 nvapi64.dll
0x00007FFA10B80000 30.0.13002.1001 aticfx64.dll
0x00007FFA0A100000 30.0.13002.1001 atiuxp64.dll
0x00007FFA081D0000 30.0.13002.1001 atidxx64.dll
0x00007FFA21920000 10.0.19041.1320 apphelp.dll
0x00007FFA07E20000 2.0.0.1788 amdihk64.dll
0x00007FFA04770000 10.0.19041.1741 textinputframework.dll
0x00007FFA21010000 10.0.19041.546 CoreUIComponents.dll
0x00007FFA217F0000 10.0.19041.746 CoreMessaging.dll
0x00007FFA20010000 10.0.19041.1682 wintypes.dll
0x00007FF9EBB70000 10.0.19041.1023 explorerframe.dll
0x00000119C0DF0000 3.10.2150.1013 python3.DLL
0x00007FFA186E0000 3.10.2150.1013 _bz2.pyd
0x00007FFA17260000 3.10.2150.1013 _lzma.pyd
0x00007FFA18560000 3.10.2150.1013 _socket.pyd
0x00007FFA23D10000 10.0.19041.546 IPHLPAPI.DLL
0x00007FFA21BF0000 3.10.2150.1013 select.pyd
Python backtrace
Also, as I read, such crashes are related to amd graphics cards. I have amd processor so maybe it's the problem, but i've checked drivers and they are up-to-date
If I look at the stacktrace it doesn't really look like GPU related. But GPU drivers can cause bugs, that's true.
As far as I know the fluid solver is only CPU though.
I still can't reproduce it yet.
How exactly do you deform the domain? Just move one of the faces? Extrude perhaps?
I drag the bottom face down. It works better when theres something inside the domain, e.g. high polygon mesh. Then toggle edit mode or go to wireframe and it'll crash. Not extrusion ofc :)
Also, as i said, i have AMD CPU so it can cause probably but it's just my assumption. I've updated drivers and it didn't help.
I don't think the problem is amd gpu/cpu in this specific case.
The fluid sim is notoriously unstable. But it's hard to get an easy to repro testcase.
The high poly mesh, does it need to be a fluid source or something. Or just independent of the fluid sim?
Independent of the fluid
I'll try to play with your test file some more to see if I can get it to crash, I tried adding an object inside the domain, but no luck.
The only thing I can think of that is maybe amd related is if it';s a cpu with very many threads. That can sometimes show threading bugs which don't trigger on other cpus.
Could you try if blender still crashes if you set it to single-threaded mode? For that you need to start it from the console with the '-t 1' commandline option.
I've tried to do it with 1 thread, and it really helped! Blender doesn't crash anymore, but now it's working veeery slow))
Well, that confirms that it's probably a threading issue. I still can't get it to crash. But my CPU just is just a dual core + HT (so 4 threads total), so maybe that's just not enough.
Can you reliably reproduce the crash in a simple (small) scene? The crash.txt you posted looks a bit like out of memory as well, but if it's only a small scene that can't be it.
If you have a small scene that you can easily crash, could you upload it with this case?
I don't know why, but i don't get a crash.txt with a simple scene. The first crash.txt that i've uploaded was from the first scene when i got crash, as i said there was a high-poly model. Now blender doesn't give any logs with small scenes but it crashes as well as not small scene
P.S. I have 8 threaded CPU
Added subscriber: @PratikPB2123
@c0mbat hi, if possible please attach a .blend where crash is replicable.
I'm not able to repro the crash with your provided steps :/
I suspect it's a threading issue. But without repro on our side it's very hard to debug :-(
I understand)
As we worked on this issue, we decided that it happens because of my AMD CPU. So most likely you won't reproduce the crash if you don't have multithreaded amd CPU.
Or if you want I can attach an empty scene :)
I've been using multi threaded AMD CPU(16 threads).
It would help us to investigate if you attach the file where you get the crash. I tried to recreate it from scratch but no success (as said in the last comment)
If not the .blend file, can you share the screen recording to demonstrate the steps.
Hi, please share requested data
Hey, idk why but i can't reproduce it anymore. Maybe windows update helped somehow
I didn't update blender or any drivers and the issue is gone -_-
Changed status from 'Needs User Info' to: 'Archived'
ok, will close this report for now. Feel free to comment if you manage to recreate the crash again