This repository was archived by the owner on Jan 31, 2025. It is now read-only.
This repository was archived by the owner on Jan 31, 2025. It is now read-only.
i965_put_surface_dri failure causes a deadlock problem #515
Open
Description
Program is freezed on calling again i965_put_surface_dri
() after i965_put_surface_dri
() is failed with VA_STATUS_ERROR_ALLOCATION_FAILED.
This is because i965_put_surface_dri
lock mutex, but ASSERT_RET
does not unlock mutex.
intel-vaapi-driver/src/i965_output_dri.c
Lines 147 to 160 in 567a22c
(gdb) bt
#0 0x00007ffff39d9620 in __lll_lock_wait () at /usr/lib/libpthread.so.0
#1 0x00007ffff39d1df3 in pthread_mutex_lock () at /usr/lib/libpthread.so.0
#2 0x00007fffe78f9544 in i965_put_surface_dri () at /usr/lib/dri/i965_drv_video.so
#3 0x00007fffe789f44f in i965_PutSurface () at /usr/lib/dri/i965_drv_video.so
#4 0x00005555557349d5 in edc_va_put_surface
(surface_id=0x4000140, drawable=<optimized out>, width=<optimized out>, height=<optimized out>, src_x=<optimized out>, src_y=<optimized out>, src_width=1280, src_height=720, dest_width=298, dest_height=200, deinterlace=<optimized out>) at ../edc/edc-va.c:1167
...
Metadata
Metadata
Assignees
Labels
No labels