Page MenuHome

Blender crashes when opening file - Older beta opens the file normal
Closed, ResolvedPublic

Description

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

Blender Version
Broken: version: 2.80 (sub 49), branch: blender2.7, commit date: 2019-03-17 23:25, hash: rB9099305771ec
Worked: 3d8cbb534f82 (sub 42)

Short description of error
Blender crashes when opening file, older beta version (3d8cbb534f82 sub 42) opens the file normal.
The file was created with the build from today. Sorry, it think it is so big, because orphan data are not deleted anymore?
I imported an fbx. After that I saved the file. When I tried to reopen the file it wasn´t possible anymore.
For the attached file, I did nearly the same, I imported the fbx and deleted the hirarchie exept of a few parts because of secret client data!
Because you can´t get rid of orphan data anymore, only after saving and reopening the file, it stayed the same size as with all the data within.
When I open the file with the Blender 2.8 ((3d8cbb534f82 sub 42) and save it, it has only 20MB (with the orphan meshes inside).
Why stays the file size with the todys build the same after deleting nearly everything in the file unless saving, reopening the file and purgeing?The is something wrong?!

Exact steps for others to reproduce the error
Try to open the attached file with the lastes build.
Crash
Open the file with Blender 2.8 ((3d8cbb534f82 sub 42)
File opens normal

Event Timeline

Cant redo:

  • OS: Linux 5.0.2-arch1-1-ARCH
  • REV: 29039e5c7457c2061787d3f22dce27afcae25c71
  • GPU: GeForce GTX 1080

The file opens w/ 13 objects visible.

Maybe it is a Windows OS problem. I tried the file on three drifferent computer at work. two with windows 10 and a Geforce GTX 1080 Ti and one computer with Windows 7 and a Geforce 980/Geforce GTX Titan Black. On all three Blender crashes.

@Campbell Barton (campbellbarton) : Can you tell me why 13 Objects with 178440 Tris make a file size of 2.3GB?
When deleting the outliner hirarchie in Blender 2.8 (3d8cbb534f82 sub 42) - (exact steps see above) and saving the file it is instantly only 15MB not 2.3GB as in todays build.
Try it yourself. Open a large file with lots of objects and geometry.
Delete the hirarchie except of a few objects. Save the file, with the todays build it stays nearly the same size. With older Blender 2.8 like (3d8cbb534f82 sub 42) the file is much smaller like expected.
In todays build you have to close the file reopen it, purge data, then save. Only then the file size becomes as expected. Is this now the wanted behaviour of Blender?

Can't reproduce either (linux).

I think that the orphan data issue is related to: https://developer.blender.org/T62706

@Ray molenkamp (LazyDodo) can you reproduce the crash?

Windows 7, GTX 770, hash: dbfbd6b9043d
Blender crashes on load, when trying to append one of these four objects, or trying to append the scene (presumedly because the objects are in it)
['Reifen_18ZollShape_0xb8d1c610', 'Reifen_18ZollShape_0xb8d258e0', 'Reifen_18ZollShape_0xb724fae0', 'Reifen_18ZollShape_0xb7247230']

Cannot reproduce the crash here on macOS, even on a laptop with only 8 gigs of ram.

@Sebastian Parborg (zeddb) @Marcus Papathoma (machieb) T62706 has been fixed now, here is a much smaller file, with all the orphaned meshes removed:

And cannot reproduce the crash either here, not even a single message in the console with a Debug build with asan enabled...

So guess we need a windows dev to check on that one.

@Campbell Barton (campbellbarton): Thank you very much, this solved my problem. I can now open all the files that crashed before!