Page MenuHome

Segmentation fault when running gpu.types.GPUOffScreen.draw_view3d using a context override
Open, Needs Information from UserPublic

Description

System Information
Operating system: Ubuntu 18.10 x64
Graphics card: nVidia Geforce GTX 1080

Blender Version
Broken: 2.80 168a6a4bfc1
Worked: 2.79b

Segmentation fault when running gpu.types.GPUOffScreen.draw_view3d using a context override

Exact steps for others to reproduce the error
Open attached .blend


Click "Run Script"
Click "Create Offscreen Viewer"
Change any editor window to "Image Editor"

Details

Type
Bug

Event Timeline

Tested and it works fine here, although on exit I get an assert

BLI_assert failed: /src/blender/source/blender/gpu/intern/gpu_context.cpp:153, GPU_context_discard(), at 'ctx->framebuffers.empty()'

The assert on exit could be fixed with: D3919
Not sure if that patch still works.

Sebastian Parborg (zeddb) triaged this task as Needs Information from User priority.Tue, Feb 12, 5:27 PM

@Gottfried Hofmann (gottfried) Is this still an issue for you?