Arducam Camera (16mp imx519) Drivers not working for Pi4 model B (double free detected in tcache 2)


I receive the following log error message when executing the following command:
“/usr/bin/libcamera-jpeg -n --lens-position 10 -o photos/test_10_local.jpg”

[0:16:49.975058750] [8945]  INFO Camera camera_manager.cpp:299 libcamera v0.0.0+4225-74d023d8
[0:16:50.028041247] [8949] ERROR RPI pipeline_base.cpp:818 Failed to load a suitable IPA library
[0:16:50.028157043] [8949] ERROR RPI vc4.cpp:209 Failed to register camera imx519 10-001a: -22
[0:16:50.093378151] [8949]  INFO RPI raspberrypi.cpp:1476 Registered camera /base/soc/i2c0mux/[email protected]/[email protected] to Unicam device /dev/media0 and ISP device /dev/media3
[0:16:50.094399475] [8945]  INFO Camera camera.cpp:1028 configuring streams: (0) 2328x1748-YUV420
[0:16:50.095078895] [8949]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 2328x1748-SRGGB10_1X10 - Selected unicam format: 2328x1748-pRAA
[0:16:55.332932113] [8945]  INFO Camera camera.cpp:1028 configuring streams: (0) 4656x3496-YUV420 (1) 4656x3496-SRGGB10_CSI2P
[0:16:55.335072260] [8949]  INFO RPI raspberrypi.cpp:851 Sensor: /base/soc/i2c0mux/[email protected]/[email protected] - Selected sensor format: 4656x3496-SRGGB10_1X10 - Selected unicam format: 4656x3496-pRAA
Still capture image received
free(): double free detected in tcache 2
fish: “/usr/bin/libcamera-jpeg -n --le…” terminated by signal SIGABRT (Abort)

Thanks in advance for your help.


Have you modified libcamera, or manually compiled it yourself?

No haven’t modified anything. Simply running the following bash script

cd /tmp
wget -O
chmod +x
./ -p libcamera
./ -p libcamera_apps
echo "\ndtoverlay=imx519" >> /boot/config.txt
echo " cma=256M" >> /boot/cmdline.txt


Before, I need some information

Please reboot your device and execute the following command:

wget -O arducam-camera-bug-report
chmod +x ./arducam-camera-bug-report

This will output an arducam-bug-report.txt in the current directory.

Please send this file to me via google cloud disk or similar platform or email ([email protected])

And if possible, please send me the hardware connection diagram.

Thank you for your cooperation and have a nice life.