Page MenuHome

File Browser Crash while listing big image folders
Closed, DuplicatePublic


System Information
Operating system and graphics card
Windows 10
Nvidia GeForce GTX 560 with latest drivers as of yesterday
I am using CPU for Cycles renders.
1.5 TB Hard Drive
12 GB of RAM

Blender Version
Broken: Blender 2.76 RC1 and RC2 e24ea81 2015-09-23 14:02
Worked: (optional)

Short description of error
I have a model that saves as a 17 MB blend file. It is mostly simple procedural materials (4 or fewer nodes each) with only three small image textures. If I try to use the Blender file browser to add an image texture and open my root image texture folder that has 212 individual images plus 58 subfolders with images), Blender crashes.

If I manually move the image textures I want to use from the root image texture folder to a new folder with only a few images (about 25) the textures will load OK.

The same thing happened with my root HDR folder that has a collection of 408 individual HDR, IBL, IES files except the first time I opened the HDR root folder, the Blender file browser locked up for about 30 minutes before crashing. On subsequent attempts, Blender crashes immediately after opening the root HDR folder.

I've tried uninstalling Blender, deleting all residual folders and files and reinstalling Blender 2.76 RC2 and experience the same problem.

It appears that there is a limit to the number of images that the Blender file browser can handle. I did not experience this problem with Blender versions 2.75a and earlier.

Exact steps for others to reproduce the error

  1. Open with Blender's default cube.
  2. Create a new Diffuse material
  3. Change to Edit Mode and UV unwarp the cube
  4. In the Node Editor, add a Texture Image Node and connect it to the Diffused Node
  5. Click the open button and the File Browser opens.
  6. Navigate to my root image texture folder ( 212 image files plus 58 subfolders with images in them) and open the folder.
  7. The folder opens for about 5 seconds and then Blender crashes.

Perform the same steps with a folder with only 25 images, and it loads the image without any problem.




Event Timeline

Fred Bobbitt (BMF) claimed this task.
Fred Bobbitt (BMF) raised the priority of this task from to Needs Triage by Developer.
Fred Bobbitt (BMF) updated the task description. (Show Details)
Fred Bobbitt (BMF) added a project: BF Blender.
Fred Bobbitt (BMF) set Type to Bug.
Bastien Montagne (mont29) renamed this task from BMF File Browser Crash to File Browser Crash while listing big image folders.Sep 27 2015, 6:33 PM
Bastien Montagne (mont29) removed Fred Bobbitt (BMF) as the assignee of this task.
Bastien Montagne (mont29) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Sep 27 2015, 6:39 PM

There are two possible issues there (assuming you are using 'preview' browser mode?):

  1. Some pictures are not valid, or at least not correctly handled by our image code, which makes Blender crash.
  2. There is some issue with new preview-generating code.

As you state it used to work OK, point 1 sounds rather unlikely - would be nice to check though whether you can actually preview all your pictures once separated in smaller folders.

Point 2 could also be caused by some extremely heavy pictures (since preview generation is now threaded, if you end up handling four or five huge pictures at once, you may run out of memory e.g.).

You may also try to start Blender with -t 1 option to see whether crash still happens.

Beyond that, git’s going to be hard to investigate without a reproducible case (that is, a set of pictures that generate the crash)…