Crashing with cycle after shift from preview to rendered and image in unknow reason after move project form b.2.92 to 2.93 #88931

Closed
opened 2021-06-07 20:47:38 +02:00 by ManBlender · 18 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71

Blender Version
Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
Worked: (newest version of Blender that worked as expected)

Short description of error
Blender crashing after shifting from preview to rendered after some time when blender starting completing image on viewport, this same when trying generate render image.
In b2.92 the shifting giving sometimes info about "Out of memory" for blenderman.blend file, but in status bar not seing something that my device is to slow or weak for this alert.
The blenderman.blend have transparent background and this can be problem maybe. In other project time ago I meet this same, and when I limited light as black background layout with dark garage to present some car - project wasn't to much advanced and problematic in my opinion, but this was problem for GPU and CPU too.. it was impossible to generate full image with setups of point lights from car reflectors. I get some advanced splash demo to do test, and here are logs uploaded to check.

Exact steps for others to reproduce the error
[Please describe the exact steps needed to reproduce the issue]

  1. I downloaded file as blenderman.blend waited for compilation in solid mode
  2. I shiften from solid to shadow or tried render image
    https://cloud.blender.org/p/gallery/57e5084f0fcf294119c5055c
    Logs

Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: 84da05a8b8
blender_system_info — 2.txt
blender_debug_output — 2.txt

Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-19 23:27, hash: 47e88345a1, type: release
blender_system_info — 3.txt
blender_debug_output — 3.txt

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: GeForce GTX 1650 Ti/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 456.71 **Blender Version** Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` Worked: (newest version of Blender that worked as expected) **Short description of error** Blender crashing after shifting from preview to rendered after some time when blender starting completing image on viewport, this same when trying generate render image. In b2.92 the shifting giving sometimes info about "Out of memory" for blenderman.blend file, but in status bar not seing something that my device is to slow or weak for this alert. The blenderman.blend have transparent background and this can be problem maybe. In other project time ago I meet this same, and when I limited light as black background layout with dark garage to present some car - project wasn't to much advanced and problematic in my opinion, but this was problem for GPU and CPU too.. it was impossible to generate full image with setups of point lights from car reflectors. I get some advanced splash demo to do test, and here are logs uploaded to check. **Exact steps for others to reproduce the error** [Please describe the exact steps needed to reproduce the issue] 1. I downloaded file as blenderman.blend waited for compilation in solid mode 2. I shiften from solid to shadow or tried render image https://cloud.blender.org/p/gallery/57e5084f0fcf294119c5055c Logs Broken: version: 2.93.0, branch: master, commit date: 2021-06-02 11:21, hash: `84da05a8b8` [blender_system_info — 2.txt](https://archive.blender.org/developer/F10161235/blender_system_info___2.txt) [blender_debug_output — 2.txt](https://archive.blender.org/developer/F10161236/blender_debug_output___2.txt) Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-05-19 23:27, hash: 47e88345a154, type: release [blender_system_info — 3.txt](https://archive.blender.org/developer/F10161250/blender_system_info___3.txt) [blender_debug_output — 3.txt](https://archive.blender.org/developer/F10161251/blender_debug_output___3.txt)
Author

Added subscriber: @ManBlender

Added subscriber: @ManBlender
ManBlender changed title from Crashing with cycle in after shift from preview to rendered and image in unknow reason after move project form b.2.92 to 2.93 to Crashing with cycle after shift from preview to rendered and image in unknow reason after move project form b.2.92 to 2.93 2021-06-07 20:48:08 +02:00

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

Can you check if you have enough resources during rendering (RAM, VRAM)?

I wasn't able to reproduce any crash.

Can you check if you have enough resources during rendering (RAM, VRAM)? I wasn't able to reproduce any crash.
Member

Added subscriber: @EAW

Added subscriber: @EAW
Member

Could you please upload C:\Users\User\AppData\Local\Temp\Blenderman_1.crash.txt?

Could you also try the latest 3.0 version? The debug text has errors where Calloc and Malloc are returning null. This area of the code for Windows was just updated recently, and it might solve the issue you are experiencing.

Could you please upload `C:\Users\User\AppData\Local\Temp\Blenderman_1.crash.txt`? Could you also try the latest 3.0 version? The debug text has errors where Calloc and Malloc are returning null. This area of the code for Windows was just updated recently, and it might solve the issue you are experiencing.
Author

In #88931#1172854, @iss wrote:
Can you check if you have enough resources during rendering (RAM, VRAM)?

I wasn't able to reproduce any crash.

RAM : 2.1/16 GB
VRAM: 1.3/4 GB

Poor if in loogs can discovery this on crash moment.

> In #88931#1172854, @iss wrote: > Can you check if you have enough resources during rendering (RAM, VRAM)? > > I wasn't able to reproduce any crash. RAM : 2.1/16 GB VRAM: 1.3/4 GB Poor if in loogs can discovery this on crash moment.
Author

In #88931#1172885, @EAW wrote:
Could you please upload C:\Users\User\AppData\Local\Temp\Blenderman_1.crash.txt?

Could you also try the latest 3.0 version? The debug text has errors where Calloc and Malloc are returning null. This area of the code for Windows was just updated recently, and it might solve the issue you are experiencing.

Blenderman_1.crash.txt is not produced. How to generate this?

edit: I see.. in Temp.. but it's empty file alwayas.

I'll try do tests with latest 3.0.

> In #88931#1172885, @EAW wrote: > Could you please upload `C:\Users\User\AppData\Local\Temp\Blenderman_1.crash.txt`? > > Could you also try the latest 3.0 version? The debug text has errors where Calloc and Malloc are returning null. This area of the code for Windows was just updated recently, and it might solve the issue you are experiencing. Blenderman_1.crash.txt is not produced. How to generate this? edit: I see.. in Temp.. but it's empty file alwayas. I'll try do tests with latest 3.0.
Author

Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-06-07 22:19, hash: ef5a362a5b
On this version RAM going up

RAM : 2.1/16 GB - from task manger is 10-12.1/15.8 GB in Preview and 12-14/15.8 GB in Rendered
VRAM: 1.3/4 GB

blender_system_info - 3 alpha latest.txt
blender_debug_output -3 alpha latest.txt

blender_debug_log doing render and not crashing
RAM : 2.1/16 GB - from task manager is 14.2/15.8 GB (90%) in Render proces
VRAM: 1.3/4 GB
CPU 100% 3.20 / 5.1 GHz ?

Broken: version: 3.0.0 Alpha, branch: master, commit date: 2021-06-07 22:19, hash: `ef5a362a5b` On this version RAM going up RAM : 2.1/16 GB - from task manger is 10-12.1/15.8 GB in Preview and 12-14/15.8 GB in Rendered VRAM: 1.3/4 GB [blender_system_info - 3 alpha latest.txt](https://archive.blender.org/developer/F10162351/blender_system_info_-_3_alpha_latest.txt) [blender_debug_output -3 alpha latest.txt](https://archive.blender.org/developer/F10162352/blender_debug_output_-3_alpha_latest.txt) blender_debug_log doing render and not crashing RAM : 2.1/16 GB - from task manager is 14.2/15.8 GB (90%) in Render proces VRAM: 1.3/4 GB CPU 100% 3.20 / 5.1 GHz ?

Just checked system info, I see quite a few of addons enabled, so I would like to check if there isn't any problem.
Please click on File > Defaults > Load Factory Settings, then load .blend file and render. Does this resolve the issue?

Just checked system info, I see quite a few of addons enabled, so I would like to check if there isn't any problem. Please click on File > Defaults > Load Factory Settings, then load .blend file and render. Does this resolve the issue?
Author

In #88931#1173659, @iss wrote:
Just checked system info, I see quite a few of addons enabled, so I would like to check if there isn't any problem.
Please click on File > Defaults > Load Factory Settings, then load .blend file and render. Does this resolve the issue?

On b < 3.0 not resolving, b 3.0 working with some of this and without this same.
My opinion is that must exist some memory leak not supported to prevent crashing.

Allocating 14-15GB for this project sounds normal?

> In #88931#1173659, @iss wrote: > Just checked system info, I see quite a few of addons enabled, so I would like to check if there isn't any problem. > Please click on File > Defaults > Load Factory Settings, then load .blend file and render. **Does this resolve the issue?** On b < 3.0 not resolving, b 3.0 working with some of this and without this same. My opinion is that must exist some memory leak not supported to prevent crashing. Allocating 14-15GB for this project sounds normal?

Changed status from 'Needs User Info' to: 'Archived'

Changed status from 'Needs User Info' to: 'Archived'

It uses about 14GB with GPU rendering (openCL). When you take into account memory fragmentation, this can easily cause out of memory situation.

While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.

It uses about 14GB with GPU rendering (openCL). When you take into account memory fragmentation, this can easily cause out of memory situation. While we want to improve Blender to handle such cases memory gracefully, this is not currently considered a bug.
Author

Doesn't this problem correlate with this VRAM computation problem?
https://blender.community/c/rightclickselect/vQq0/

Doesn't this problem correlate with this VRAM computation problem? https://blender.community/c/rightclickselect/vQq0/

From what I know, Blender gets VRAM info from driver, so it this is incorrect, you can only blame driver.
Issue here is with RAM though, and there are thousands of places where code doesn't expect that you are out of memory, so program will crash. It's a lot of work to make sure, that program won't crash and it's not priority currently. Ultimately it can be terminated by OS if it happens that it needs some resources for itself, so you have to take HW constraints into consideration when doing resource intensive operations.

From what I know, Blender gets VRAM info from driver, so it this is incorrect, you can only blame driver. Issue here is with RAM though, and there are thousands of places where code doesn't expect that you are out of memory, so program will crash. It's a lot of work to make sure, that program won't crash and it's not priority currently. Ultimately it can be terminated by OS if it happens that it needs some resources for itself, so you have to take HW constraints into consideration when doing resource intensive operations.
Author

Thx for answer. I observing similar problem around crashing when simulating cloth and baking animations. Soo.. hard work on CPU/GPU and RAM hanging blender or crashing and exist problem to pause current process or thread of computations.

Thx for answer. I observing similar problem around crashing when simulating cloth and baking animations. Soo.. hard work on CPU/GPU and RAM hanging blender or crashing and exist problem to pause current process or thread of computations.
Author

Other version crashing 3.0.0 Alpha, branch: cycles-x in case 3.0.0 Alpha not.

Blender Version
Broken: version: 3.0.0 Alpha, branch: cycles-x, commit date: 2021-08-17 17:38, hash: 7811c11472
Worked: (newest version of Blender that worked as expected)

I trying compare cycles-x, k/e-cyckles

Want report that, if viewport i set for Solid then often not crashing when going to render, but when viewport is Shading then when rendering image crashing. Need some improvements here around memory management I think.

  • Looks it's important that render is made in new window or in this same (eg.e-cycles version changed 3DViewport workspace into Image editor where we see render process.
Other version crashing 3.0.0 Alpha, branch: cycles-x in case 3.0.0 Alpha not. **Blender Version** Broken: version: 3.0.0 Alpha, branch: cycles-x, commit date: 2021-08-17 17:38, hash: `7811c11472` Worked: (newest version of Blender that worked as expected) I trying compare cycles-x, k/e-cyckles Want report that, if viewport i set for Solid then often not crashing when going to render, but when viewport is Shading then when rendering image crashing. Need some improvements here around memory management I think. - Looks it's important that render is made in new window or in this same (eg.e-cycles version changed 3DViewport workspace into Image editor where we see render process.
Author

crashing:
blender-3.0.0-alpha+master.6cf734a2e5d2-windows.amd64-release

not crashing
blender-3.0.0-alpha+master.ef5a362a5b24-windows.amd64-release

crashing: blender-3.0.0-alpha+master.6cf734a2e5d2-windows.amd64-release not crashing blender-3.0.0-alpha+master.ef5a362a5b24-windows.amd64-release
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#88931
No description provided.