the code smells a bit it loops over the color buffers with a continue statement 
but no handling for when it skips all buffers
https://gitlab.freedesktop.org/mesa/mesa/-/blob/178a3d7396849f8dee99a4ee6048b2eef40190ec/src/egl/drivers/dri2/platform_drm.c#L237

if it continues for all buffers it deferences a NULL

stacktrace on the crashdump seems to strengthen the assumption that it just 
never sets oldest_buffer so its NULL here
238        gbm_bo_destroy(oldest_buffer->bo);


(gdb) display/i $pc
1: x/i $pc
=> 0x744628efc06c <get_back_bo+524>:    mov    0x50(%rdx),%rdi
(gdb) p $rdx
$2 = 0

I'll try and see what happens if you just exit if there is no valid
oldest buffer

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152207

Title:
  Failed to lock front buffer on /dev/dri/card1:
  gbm_surface_lock_front_buffer failed | Failed to query buffer age, got
  error 3003

To manage notifications about this bug go to:
https://bugs.launchpad.net/mutter/+bug/2152207/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to