Potential Bug - Crashing OV64A40 with memory error

Camera: OV64A40 (ArduCam 64 MP)
Device: Raspberry Pi 5 8 GB

Issue Summary

In the latest version of rpicam-apps, we have been getting issues where running rpicam-still repeatedly over time inevitably and consistently causes a kernel crash – the whole Raspberry Pi 5 running the code freezes and becomes completely unresponsive (no networking etc.).

We use the command:

/usr/bin/rpicam-still --width 4624 --height 3472 --camera 0 -o /dev/shm/tmp.jpg -n -t 3000 --no-raw --encoding jpg --quality 100 --rotation 0

You can read more about the issue here: [BUG] `__vb2_queue_cancel` error in kernel logs Β· Issue #849 Β· raspberrypi/rpicam-apps Β· GitHub

Troubleshooting

We believe this is a software issue with changes directly related to rpicam-apps / libcamera or a library they call.

This is happening on multiple of our camera systems (we have tested about 3 extensively). We reviewed all the logs and they are indicating a software problem - not hardware.

Log File (very long and detailed)

I would like to know if you are aware of any changes to the software stack between November 2025 and 6 July 2025 (when we updated) that would cause the ArduCams to become so unreliable.

1 Like

Hi,
Thank you for reaching out.
We’re working on this issue and will update you once we make progress.

Thanks Dion,

Any ideas what is causing this?

On GitHub we have narrowed it down to using two cameras at the same time.

Additionally, they are looking at the IOMMU space mapping.

Do you have your own ideas that you are looking at?

Hi Dion,

Have to reviewed the latest update here:

Please check this against whatever checks you are also doing.

This issue is now resolved by the RPi Team.

There was an introduced bug by a developer and they have admitted to it and accepted the fix.