Silently crashing when a file can't be written in a jiffy #40063

Closed
opened 2014-05-07 10:28:22 +02:00 by Fluffy Rabbit · 10 comments

System Information
Windows with external portable hard drive (NTFS)

Blender Version
Broken: 2.68 on up

Short description of error
Drive takes a nap, Blender tries to save a frame, Blender disappears. Seems to be that Blender can't deal with any kind of drive latency, and furthermore when Blender can't write a file, it just dies.

Exact steps for others to reproduce the error

  1. Set Blender up to render a really hefty frame sequence (like 2 minutes per frame).
  2. Specify your portable drive with safety-locking mechanism as output destination.
  3. Watch as Blender refuses to wait 5 seconds for the drive to wake up and opts to kill itself instead. This may happen at any time, especially when you are doing other things in the background that cause the render to take longer (giving the drive time to fall asleep). I have not seen any error message when Blender crashes while failing to write a file. It should also be noted that the file usually seems to get written after all, but when Blender goes to check if it exists (I'm guessing that's what's happening) it crashes. The drive in question is capable of caching files in a solid state chip before writing them, so they likely don't touch the disk until after Blender crashes.
**System Information** Windows with external portable hard drive (NTFS) **Blender Version** Broken: 2.68 on up **Short description of error** Drive takes a nap, Blender tries to save a frame, Blender disappears. Seems to be that Blender can't deal with any kind of drive latency, and furthermore when Blender can't write a file, it just dies. **Exact steps for others to reproduce the error** 1. Set Blender up to render a really hefty frame sequence (like 2 minutes per frame). 2. Specify your portable drive with safety-locking mechanism as output destination. 3. Watch as Blender refuses to wait 5 seconds for the drive to wake up and opts to kill itself instead. This may happen at any time, especially when you are doing other things in the background that cause the render to take longer (giving the drive time to fall asleep). I have not seen any error message when Blender crashes while failing to write a file. It should also be noted that the file usually seems to get written after all, but when Blender goes to check if it exists (I'm guessing that's what's happening) it crashes. The drive in question is capable of caching files in a solid state chip before writing them, so they likely don't touch the disk until after Blender crashes.
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @fluffrabbit

Added subscriber: @fluffrabbit
Author
From here: http://blender.stackexchange.com/questions/9176/frequent-crashes-when-rendering-frame-sequence-to-external-hard-drive

Added subscriber: @ideasman42

Added subscriber: @ideasman42

Can you upload a test file which crashes on animation render?

Can you upload a test file which crashes on animation render?

Note, I tried to redo this bug on Linux

  • rendering to a mounted FTP site, via curlftpfs
  • rendering with simulated disk errors with fiu-run

And couldn't get any crashes while rendering an animation, so perhaps this is a windows-only problem.

Note, I tried to redo this bug on Linux - rendering to a mounted FTP site, via `curlftpfs` - rendering with simulated disk errors with `fiu-run ` And couldn't get any crashes while rendering an animation, so perhaps this is a windows-only problem.

@fluffrabbit

Could you try the following.

  • Run blender from a terminal, (cmd.exe) and see if any messages are printed on crashing.
  • Try some alternative slow media, like a very slow network filesystem (mounted FTP or similar).

I looked into simulating slow disk performance in windows but couldn't find good tools for that.

@fluffrabbit Could you try the following. - Run blender from a terminal, (cmd.exe) and see if any messages are printed on crashing. - Try some alternative slow media, like a very slow network filesystem (mounted FTP or similar). I looked into simulating slow disk performance in windows but couldn't find good tools for that.
Author

Well, shit. I can't reproduce this bug in 2.70a. I don't know what that means.

Well, shit. I can't reproduce this bug in 2.70a. I don't know what that means.

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Campbell Barton self-assigned this 2014-05-09 12:39:40 +02:00

closing, we can reopen if you manage to redo on a recent build.

please always try a recent build before reporting bugs, it saves us time.

closing, we can reopen if you manage to redo on a recent build. please always try a recent build before reporting bugs, it saves us time.
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#40063
No description provided.