Page MenuHome

Crash rendering Cycles and Grease Pencil with Save Buffers enabled
Confirmed, NormalPublic

Description

System Information
Operating system: win10
Graphics card: gtx 1080, gtx 1050 ti

Blender Version
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-20 04:49, hash: rBd994391e0c6e
Worked: 2.80

Short description of error

my blender program crashes upon completing the render of the frame. does not crash in Eevee. only crashes with the grease pencil object enabled. no crash with just the cube. tested on separate PC, same crash problem.

Exact steps for others to reproduce the error


render frame using gpu/cpu

Event Timeline

@Philipp Oeser (lichtwerk) Can you try to reproduce... I get the crash, but when try to debug the crash I get crashes in multiple places and not a consistent crash.

EDIT: All that I have seen running with --debug --factory-startupis this:

write exr tmp file, 1920x1080, C:\Users\Antonio\AppData\Local\Temp\blender_a22848\grease pencil cycles test1.blend_Scene_View Layer.exr
read exr tmp file: C:\Users\Antonio\AppData\Local\Temp\blender_a22848\grease pencil cycles test.blend_Scene_View Layer.exr
OpenEXR-readPixels: ERROR: Error reading pixel data from image file "C:\Users\Antonio\AppData\Local\Temp\blender_a22848\grease pencil cycles test.blend_Scene_View Layer.exr". Tile (0, 0, 0, 0) is missing.
Alaska (Alaska) changed the task status from Needs Triage to Confirmed.Fri, Jun 19, 12:42 PM
Alaska (Alaska) changed the task status from Confirmed to Needs Triage.
Alaska (Alaska) changed the subtype of this task from "Report" to "Bug".
Alaska (Alaska) changed the subtype of this task from "Bug" to "Report".
Alaska (Alaska) added a subscriber: Alaska (Alaska).

Sorry, changing it back to Needs triage as when I started to play around with the file I started to realize that it's probably not as simple as I thought.

Richard Antalik (ISS) changed the task status from Needs Triage to Confirmed.Tue, Jun 23, 10:58 AM

I get consistent crash with this stack:

atio6axx.dll!00007ffb6b6dcf64()	Unknown
atio6axx.dll!00007ffb6afbc1fa()	Unknown
atio6axx.dll!00007ffb6af25f78()	Unknown
atio6axx.dll!00007ffb6a49509b()	Unknown
atio6axx.dll!00007ffb6aba3352()	Unknown
opengl32.dll!00007ffb7f0f1e08()	Unknown
blender.exe!GPU_framebuffer_read_depth(GPUFrameBuffer * fb, int x, int y, int w, int h, float * data) Line 641	C
blender.exe!GPENCIL_render_result_z(RenderLayer * rl, const unsigned char * viewname, GPENCIL_Data * vedata, const rcti * rect) Line 188	C
blender.exe!DRW_render_gpencil_to_image(RenderEngine * engine, RenderLayer * render_layer, const rcti * rect) Line 1646	C
blender.exe!DRW_render_gpencil(RenderEngine * engine, Depsgraph * depsgraph) Line 1717	C
blender.exe!RE_engine_render(Render * re, int do_all) Line 884	C
blender.exe!do_render(Render * re) Line 1217	C
blender.exe!do_render_composite(Render * re) Line 1355	C
blender.exe!do_render_all_options(Render * re) Line 1617	C
blender.exe!RE_RenderAnim(Render * re, Main * bmain, Scene * scene, ViewLayer * single_layer, Object * camera_override, int sfra, int efra, int tfra) Line 2593	C
blender.exe!render_startjob(void * rjv, short * stop, short * do_update, float * progress) Line 653	C
blender.exe!do_job_thread(void * job_v) Line 398	C
[External Code]

Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: Radeon RX550/550 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 19.12.2 26.20.15002.61
Broken: version: 2.90.0 Alpha, branch: master, commit date: 2020-06-20 04:49, hash: rBd994391e0c6e

OpenCL GPU or CPU gives same stack, EEVEE is OK

What happen if you do a single threaded render (launch with`blender -t 1`

Brecht Van Lommel (brecht) renamed this task from blender crash on grease pencil cycles render to Crash rendering Cycles and Grease Pencil with Save Buffers enabled.Tue, Jun 23, 2:02 PM

The logic in RE_engine_render will need to be changed so that we load back the render buffers from disk before doing the grease pencil render.

I'll have a look at it, we need to do this carefully so that we at least avoid increasing peak memory usage for the case where there is no grease pencil.