Skip to content

Assertion `!isArray_' failed #321

@Vagelis1608

Description

@Vagelis1608

Hi!

I was trying to setup motion again on my Raspberry Pi 4B after a recent full format ( upgraded from 32-bit Lite to 64-bit Lite ), I get the following error:

$ sudo libcamerify motion -nm
... # motion debug output
[2:31:29.099333332] [13487]  INFO Camera camera_manager.cpp:340 libcamera v0.6.0+rpt20251202
[2:31:29.140966303] [13488]  INFO IPAProxy ipa_proxy.cpp:180 Using tuning file /usr/share/libcamera/ipa/rpi/vc4/ov5647.json
[2:31:29.146868342] [13488]  INFO Camera camera_manager.cpp:223 Adding camera '/base/soc/i2c0mux/i2c@1/ov5647@36' for pipeline handler rpi/vc4
[2:31:29.146968396] [13488]  INFO RPI vc4.cpp:445 Registered camera /base/soc/i2c0mux/i2c@1/ov5647@36 to Unicam device /dev/media3 and ISP device /dev/media0
[NTC][VID][cl01:Camera1] set_input: Name = "/base/soc/i2c0mux/i2c@1/ov5647@"- CAMERA
[NTC][VID][cl01:Camera1] pixfmt_try: Testing palette YU12 (1920x1080)
[2:31:29.151675312] [13487]  INFO Camera camera.cpp:1215 configuring streams: (0) 1920x1080-YUV420/sYCC
[2:31:29.152206920] [13488]  INFO RPI vc4.cpp:620 Sensor: /base/soc/i2c0mux/i2c@1/ov5647@36 - Selected sensor format: 1920x1080-SGBRG10_1X10/RAW - Selected unicam format: 1920x1080-pGAA/RAW
motion: ../include/libcamera/controls.h:190: T libcamera::ControlValue::get() const [with T = long int; typename std::enable_if<((! libcamera::details::is_span<U>::value) && (! std::is_same<std::basic_string_view<char>, typename std::remove_cv< <template-parameter-1-1> >::type>::value)), std::nullptr_t>::type <anonymous> = nullptr]: Assertion !isArray_' failed.
Aborted

The version is visible above, but just in case:

$ rpicam-hello --version
rpicam-apps build: v1.10.1 28-11-2025 (16:40:26)
rpicam-apps capabilites: egl:0 qt:0 drm:1 libav:0
libcamera build: v0.6.0+rpt20251202

I originally tried with 1280x720, but that failed with the above error, so I tried the 1920x1080 that the lib reports.

Let me know if you need any more info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions