Crash right after BVH build completes when hair particles applied #46323

Closed
opened 2015-09-30 04:36:54 +02:00 by Paul J. Schrenker · 9 comments

System Information
AMD Phenom II X4 940
Win XP Home Edition, SP3, 32bit
4GB RAM
ATI Radeon HD 4200 (3.3.11672 Compatibility Profile Context)

Blender Version
Blender 2.76 RC2, hash: e24ea81

Bug behavior
Crash to desktop right before rendering starts as BVH completes.

Exact steps for others to reproduce the error
Blender scene in Cycles with plane mesh. Mesh scaled up for use as ground plane, and scaling applied. Particles added to plane mesh and set to hair mode for use as grass. Particle count greater than 2000. Particle child count around 200. Render scene, crashes to desktop right as BVH build step completes at 100%.

Quirk to this crash behavior: If scene is saved with same settings before rendering, opening Blender with no other actions applied and re-loading the same scene (same particle count, etc.) the BVH build completes and the render progresses and completes without crashing to desktop. So a scene that crashes due to particles renders just fine if opened and tried again without altering any settings.

**System Information** AMD Phenom II X4 940 Win XP Home Edition, SP3, 32bit 4GB RAM ATI Radeon HD 4200 (3.3.11672 Compatibility Profile Context) **Blender Version** Blender 2.76 RC2, hash: e24ea81 **Bug behavior** Crash to desktop right before rendering starts as BVH completes. **Exact steps for others to reproduce the error** Blender scene in Cycles with plane mesh. Mesh scaled up for use as ground plane, and scaling applied. Particles added to plane mesh and set to hair mode for use as grass. Particle count greater than 2000. Particle child count around 200. Render scene, crashes to desktop right as BVH build step completes at 100%. Quirk to this crash behavior: If scene is saved with same settings before rendering, opening Blender with no other actions applied and re-loading the same scene (same particle count, etc.) the BVH build completes and the render progresses and completes without crashing to desktop. So a scene that crashes due to particles renders just fine if opened and tried again without altering any settings.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @pauljs75

Added subscriber: @pauljs75

Added subscriber: @Sergey

Added subscriber: @Sergey

Please always attach .blend file which demonstrates the issue.

But in fact it actually smells like an out of memory issue. On 32bit system you can never allocate more than 4gig of RAM. Now, doing any action in Blender will store undo steps in memory, which will lead to fewer memory availabel for Cycles.

But as said, in order to investigate this further we do need a .blend file with exact steps of reproducing the issue.

Please always attach .blend file which demonstrates the issue. But in fact it actually smells like an out of memory issue. On 32bit system you can never allocate more than 4gig of RAM. Now, doing any action in Blender will store undo steps in memory, which will lead to fewer memory availabel for Cycles. But as said, in order to investigate this further we do need a .blend file with exact steps of reproducing the issue.

Shed.blend

I suppose this may help. It was something quick I was messing with when having the particle-related crash and left at that stage. Reloading works, but may crash if changing around the particle settings.

[Shed.blend](https://archive.blender.org/developer/F241580/Shed.blend) I suppose this may help. It was something quick I was messing with when having the particle-related crash and left at that stage. Reloading works, but may crash if changing around the particle settings.
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Works fine here sounds like a memory issue

Works fine here sounds like a memory issue

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-10-04 09:11:34 +02:00

This file requires around 1.3gig of ram in peak (on 32bit linux system, where memory allocation is a bit better due to less fragmentation) which might be a tight fit for your 32bit system.

You can reduce number of global undo steps or limit them in memory. Also make sure you don't run some unneeded applications on the background.

Currently i don't see a bug here, it's really seems as an out of memory issue. Thanks for the report anyway.

This file requires around 1.3gig of ram in peak (on 32bit linux system, where memory allocation is a bit better due to less fragmentation) which might be a tight fit for your 32bit system. You can reduce number of global undo steps or limit them in memory. Also make sure you don't run some unneeded applications on the background. Currently i don't see a bug here, it's really seems as an out of memory issue. Thanks for the report anyway.
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
3 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#46323
No description provided.