Weird, it seems to crash on this line of libdrm_amdgpu's amdgpu_vamgr_find_va: LIST_FOR_EACH_ENTRY_SAFE(hole, n, &mgr->va_holes, list) { Are you using any unusual compiler (options)?