File Browser Crash while listing big image folders #46291

Closed
opened 2015-09-27 17:03:48 +02:00 by Fred Bobbitt · 5 comments

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.

Regards,
BMF

**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. Regards, BMF
Author

Changed status to: 'Open'

Changed status to: 'Open'
Fred Bobbitt self-assigned this 2015-09-27 17:03:49 +02:00
Author

Added subscriber: @BBMF

Added subscriber: @BBMF
Bastien Montagne changed title from BMF File Browser Crash to File Browser Crash while listing big image folders 2015-09-27 18:33:36 +02:00
Fred Bobbitt was unassigned by Bastien Montagne 2015-09-27 18:33:36 +02:00

Added subscriber: @mont29

Added subscriber: @mont29

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

  • Some pictures are not valid, or at least not correctly handled by our image code, which makes Blender crash.
  • 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)…

There are two possible issues there (assuming you are using 'preview' browser mode?): - Some pictures are not valid, or at least not correctly handled by our image code, which makes Blender crash. - 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)…

Closed as duplicate of #46299

Closed as duplicate of #46299
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
2 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#46291
No description provided.