On Android R (android-11.0.0_r35) with mesa-21.1.0, gbm_gralloc and drm_hwcomposer, opening the webcam in a WebView (Chrome/89) crashes the app at this line: https://github.com/robherring/gbm_gralloc/blob/master/gralloc_gbm.cpp#L386
The format requested is HAL_PIXEL_FORMAT_YCbCr_420_888 (35), which is not supported by gralloc_gbm_get_bpp. It returns 0 and leads to SIGFPE.