Page MenuHome

Large point cache saved in blend file causes Blender to exit when opened
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.16299 64 Bits
Graphics card: GeForce GTX 1080 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.35

Blender Version
Broken: version: 2.80 (sub 50), branch: master, commit date: 2019-03-18 21:39, hash: rBd47f827019f2
Worked: Not sure

When creating a particle simulation that runs for some time a large point cache can be created. This can be read from and written to fine during the session in which it is created. If you save the scene to a .blend file and try to open it Blender crashes with an exception violation. --factory-startup makes no difference. Appending to a new scene also fails in the same manner. This renders the file inaccessible and any work in it is lost.

On my system if I:

  1. Launch Blender with the default scene
  2. Add an Emitter particle system to the cube
  3. Set the Emission Number to 100,000
  4. Set the animation timeline end to 1440
  5. Bake the cache
  6. Save the .blend file
  7. Try opening the same file

Running with --debug-all from the command line I see this at the end of the transcript:

Read blend: D:\Blender\Experiments\2019\2019 03\14 Sim1\testsim6.blend
Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6646FE024
Module  : D:\Downloads\blender-2.80.0-git.d47f827019f2-windows64\blender.exe

D:\Downloads\blender-2.80.0-git.d47f827019f2-windows64>

Event Timeline

William Reynish (billreynish) lowered the priority of this task from 90 to 30.Mar 19 2019, 11:20 AM

Is your blend file larger than 2gb? If so, there was a bug in the Windows version of Blender that prevented opening files of these sizes.

Yes, typically 3.2Gb - 4Gb.

'was' a bug? Is this fixed?

William Reynish (billreynish) changed the task status from Unknown Status to Resolved.Mar 19 2019, 11:38 AM

It was fixed by 7ba82f3f0a8

Yes it was fixed today. Try builds from tomorrow.