Page MenuHome

VSE: Crash in IMB_colormanagement_transform_threaded when rendering this clip
Open, Confirmed, HighPublic

Description

System Information
Operating system: Arch Linux
Graphics card: Intel Integrated

Blender Version
Broken: 2.80
Worked: 2.70-ish

Short description of error

When rendering the attached project, Blender will open the render window for a few seconds before crashing.

This blend file was created with a pre-2.80 version of Blender, which might be relevant.

Stack trace in /tmp/clip.crash.txt:

 Blender 2.80 (sub 75), Commit date: 2019-07-29 14:47, Hash f6cb5f54494e

# backtrace
blender(BLI_system_backtrace+0x34) [0x555719c94854]
blender(+0xc9f765) [0x555719a69765]
/usr/lib/libc.so.6(+0x3bfb0) [0x7f889e033fb0]
blender(+0xefd7dc) [0x555719cc77dc]
blender(IMB_colormanagement_transform_threaded+0x24) [0x555719cc7e34]
blender(BKE_sequencer_imbuf_from_sequencer_space+0x4f) [0x555719bb34ff]
blender(+0xf6b795) [0x555719d35795]
blender(RE_RenderFrame+0xe1) [0x555719d36101]
blender(+0x26b7be5) [0x55571b481be5]
blender(+0x10bf133) [0x555719e89133]
/usr/lib/libpthread.so.0(+0x94cf) [0x7f889e1cd4cf]
/usr/lib/libc.so.6(clone+0x43) [0x7f889e0f72d3]

Exact steps for others to reproduce the error

  1. Extract the attached zip file:
  2. Navigate down the subdirectories and open clip.blend
  3. Press F12 to begin rendering

Details

Type
Bug

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from Needs Triage by Developer to Confirmed, Medium.Nov 4 2019, 2:15 PM

Can confirm, checking...

Seems like Render->pipeline_scene_eval and Render->pipeline_depsgraph are NULL, causing trouble later...

1  colormanagement_transform_ex             colormanagement.c 1918 0x30ff7ff      
2  IMB_colormanagement_transform_threaded   colormanagement.c 1972 0x30ff97a      
3  BKE_sequencer_imbuf_from_sequencer_space sequencer.c       595  0x2f14a24      
4  do_render_seq                            pipeline.c        1631 0x317bb69      
5  do_render_all_options                    pipeline.c        1718 0x317bfec      
6  RE_RenderFrame                           pipeline.c        2128 0x317d0d8      
7  render_startjob                          render_internal.c 668  0x7f1dc64      
8  do_job_thread                            wm_jobs.c         383  0x338f91b      
9  tslot_thread_start                       threads.c         260  0x309f002      
10 start_thread                                                    0x7ffff485f4c0 
11 clone                                                           0x7ffff1bab553

CC @Richard Antalik (ISS)

Philipp Oeser (lichtwerk) renamed this task from Crash in MB_colormanagement_transform_threaded when rendering this clip to VSE: Crash in IMB_colormanagement_transform_threaded when rendering this clip.Nov 4 2019, 2:16 PM
Richard Antalik (ISS) raised the priority of this task from Confirmed, Medium to Confirmed, High.Mon, Nov 11, 6:15 PM

There is scene strip using a host scene.

If this is the cause of crash, I would deal with this by fixing actual files with versioning code, so we don't drag historic issues to new releases. This may break some files so should be done carefully though.

@Richard Antalik (ISS) do you want to fix this? If so, please assign to yourself. Otherwise I'll take a stab at it.

@Sybren A. Stüvel (sybren) I will try to apply my depsgraph-fu. this will probably be just bad "initialization" of scene_eval I assume.

Can I assign you as reviewee of patch?