Skip to content

Random machine freeze after attempting to use camera #291

@wallarug

Description

@wallarug

Hi there,

After updating my Raspberry Pi on 6th July to fix the DMA Heap Error (caused by dhcpd5) raspberrypi/rpicam-apps#809, I am now seeing a significant increase in system freezes and lock ups.

I've attached all the logs to this issue: raspberrypi/rpicam-apps#849

I don't have any specific logs that point to libcamera being the issue, however, it always seems to occur after the libcamera command (rpicam-still or libcamera-still) are launched.

It is random and inconsistent, other than it happening every 2-4 days.

What happens?

  • The camera attempts to take an image.
  • The systemd services all restart (including ones not related to the camera process)
  • After about 30 - 40 seconds the whole system locks up and freezes, with the only way to recover is a hard-power cycle.
  • On reboot, there is NO LOGGING indicating a problem at that time.
    • No low power warnings
    • No 'kernel panics' or logs
    • No system processes saying they are going to restart things
    • No logs after that 30 - 40 second window from any system processes

When the system is idle and not running the camera, the above crashes do not occur.

I'm at a loss as to why libcamera would be causing my whole system to soft-reset all the systemd processes and crash out my whole Raspberry Pi.

I've spent a month investigating this and I don't know what else to do but report an underlying unknown issue in the libcamera library and seek assistance from the experts.

Happy to provide any further explanation on this and try anything you think useful.

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