Page MenuHome

Null pointer Reference in blender_headless
Closed, ResolvedPublic


System Information
Operating system: Ubuntu 20.04.4 LTS
Graphics card: 2b:00.0 VGA compatible controller: NVIDIA Corporation TU116 [GeForce GTX 1650 SUPER] (rev a1)

Blender Version
Broken: Blender 3.3.0 Alpha branch : master, commit 3b15467e97abf473d4d25c7382999115d3169a57 Date: Thu Jul 14 16:33:21 2022 +0200

Worked: -

Short description of error
when use blender-headless that include blender
return Null ptr in option -a added

Exact steps for others to reproduce the error

  1. build blender using
make headless
  1. ./blender -b [blend file path] -s 1 -e 25 -a ./blender -b [blend file path] -a

both can reproduce null ptr reference. I think its caused by "a" options

POC video below

POC blend file below
the blend file is regulare and produced by blender(UI) that just basic square that app basically served

both is same

Maybe this bug occured in

source/blender/gpu/opengl/``` that include void GPBackend::platform_init()