Some modifiers make render crashes right away on complex files #50461
Labels
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
8 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#50461
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Win7 x64, cpu and gpu render
Blender Version
Broken:
e041bf7
Worked: 2.76b
Short description of error
When starting rendering (instantly after pressing F12) or when rendering finishes (just when last tile has all samples), blender crashes. It also seem to happen in command line render. It gives following error:
Exact steps for others to reproduce the error
I can't attach a .blend file because of copyright. Removing meshes or materials makes that the crash doesn't happen anymore (actually less often). Simple files won't crash or once every 1000 times. So I can't attach a simple case either. It seems the more complex the scene is, more often it will happen.
Most of the time, reopening the file and rerendering will work (sometime it took up to 3 failed trials to render without crash)
During preparation phase and rendering, all is perfectly stable.
I don't know if it's related, but sometime, some render slots are cleared when rendering in another slot. As the log says the error comes from something removed, maybe the slot is being removed while accessed?
Changed status to: 'Open'
Added subscriber: @matali23
Added subscriber: @bliblubli
Maybe related to this https://developer.blender.org/T48834#410518. Anyway, I can confirm that I experience exact same problem from time to time on big scenes (crash at render begin or when render finishes.) But it's rare enough (about once a day) to be acceptable in my case, although it's annoying to lose 30min of rendering. But restarting blender always worked for me.
Added subscriber: @TheOnlyJoey
Thanks for reporting,
It is very important to know the specific case where this happens.
A Blend file is required for us to be able to track down the specific bug, without it we can not reproduce the issue.
Please modify or create a file that induces this bug and submit.
Added subscribers: @mont29, @Sergey
@TheOnlyJoey I report bugs since 3 years and a half now. I must say this bug is really nasty. I already tried to reproduce it by replacing every mesh with a subdivided cube with similar polycount and every texture with a generated one of same resolution. But even without changing polycount, object count and texture count and sizes, the file just wouldn't crash anymore.
As I said in my comment, most of the time, only reopening the same file, without changing anything is enough to workaround the bug. So I don't see how a file could be submitted here. Maybe let @mont29 and @Sergey decide if the crash log is enough to find the bug?
I am currently on triaging duty and as a developer myself, I can see that the log provided is not significant.
The only thing the crash log provides is saying 'there is something wrong with a struct, and there are memory issues' which is not specific enough to track down what is going on.
If it only happens with specific blend files, we need the specific blend files to be able to track down what the issue is.
If @matali23 does not want to share the file publicly because of copyright issues, I am sure a blend file can be send to one of the developers in private. The bug report can be re-opened then.
Few things here:
Make sure you don't use any of the addons, start blender with
--factory-startup
command line argument to be sure. Also ensure you don't use any handlers (pre/posr render and similar).If that wouldn't help, we can't help further. for until we'll be able to reproduce the issue.
This is not a support system, but a bug tracking system where artists and developers collaborate. Artists are doing half of the job by isolating the problem then the developers are fixing that failig case.
I managed to recreate files that crash on render start with --factory-startup with dummy meshes and textures. But like @matali23, when I reopen the file and hit render, it works. So submitting the file wouldn't help much. But it's a real problem, so it's sad if it get's ignored.
Added subscriber: @LazyDodo
soo what are you doing?
...
It's not like it's getting ignored... but unless there's something to investigate what do you expect the devs to do? audit the complete codebase?
There has to be a way to recreate the problem, with either a sample file or a set well described of steps that lead to the error
sorry for the late reply, I tried to reproduce the bug on a simple file and on complex files with subdvided cubes and white materials, all possible modifiers, tried to render up to 10 times on every change. It took lot of time, but I couldn't get it to crash twice in a row with reproducible steps. Reloading the file, redoing the steps before the crash and rerender would work although it did crash a minute before. I did all that with a fresh buildbot build and deleted folder in appdata.
Will continue to investigate.
Investigation is advancing. Crash is due to a modifier. When I select everything and convert all to mesh, then I can work and render hours long wihtout problem. Still have to find which modifier is triggering the bug now.
Cycles crashes on complex filesto Some modifiers make render crashes right away on complex filesAdded subscriber: @Ton
It's very unfortunate that you have this problem in Blender, but it's still a support case and not a bug report. It would only be valid if you can provide a case someone can redo.
Further:
Claims that you cannot share because of copyright is not acceptable as excuse. Just spend time on anonymizing the file (remove textures, remove parts of mesh that makes it recognizable). Or post the file here with the additional statement "File only can be used for debugging and fixing blender".
If you still think the client wouldn't like you to share it at any cost, let the client mail me in person. I can explain why it's valuable to share data here.
Note that this is a free service, by volunteers and supported by the Development Fund. If you work on large commercial projects you should consider to hire a developer to help you more personally.
I'm still investigating, but removing small parts make the bug disappear and those part alone don't trigger the problem either. So it's hard to bisect/narrow the problem. It looks like it's a combination of things plus a random component. In the meantime, we just have a script that reload the file after a crash as reloading alone is already "solving" the problem.
I will post here as soon as I managed to make it reproducible.
Changed status from 'Open' to: 'Archived'
More than a week without reply. Due to the policy of the tracker archiving for until required info/data are provided.
Added subscriber: @debris
@mont29 bug is gone in latest build. Don't know what resolved it, but thanks for fixing.