Open rsglobal opened 2 years ago
Yikes, that's well into the realm of "That shouldn't happen" (quite specifically, that doCancelRequest shouldn't be possible to have buffers attached that /don't/ have a valid _d() - so this workaround masks the underlying issue, but does highlight where we need to look.
I fear replicating it on android will be more difficult for me. But I'll run lc-compliance on an RPi4 now to make sure it's not happening there.
So I've just run lc-compliance on an RPi4 with an IMX219 - and got a different crash related to controls. It's an outdated device, so I'll rebuild the latest tree and retest, and then see if we need to pass this to RPi.
And now I believe I've reproduced it with a UVC webcam on my PC. I'll transfer this to a report on bugs.libcamera.org.
This diff workarounds the crash