Hi, I’m trying to do person detection using rasp 5, ubuntu24.04, hailo 8. It was working well til august but after I sudo apt upgrade, hailo version got updated to 4.22.0. After that, I can’t see green box for object detection for the first simple detection.py and also for my own python code for person detection,
terminate called after throwing an instance of ‘std::bad_alloc’
what(): std::bad_alloc
Aborted (core dumped)
error log happens. Please help me.
current state log:
dnc@DNCRPI:~$ uname -a
Linux DNCRPI 6.8.0-1040-raspi #44-Ubuntu SMP PREEMPT_DYNAMIC Wed Sep 24 18:30:35 UTC 2025 aarch64 aarch64 aarch64 GNU/Linux
dnc@DNCRPI:~$ lspci | grep Hailo
0000:01:00.0 Co-processor: Hailo Technologies Ltd. Hailo-8 AI Processor (rev 01)dnc@DNCRPI:~$ gst-inspect-1.0 hailo
Plugin Details:
Name hailo
Description hailo gstreamer plugin
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailo.so
Version 1.0
License unknown
Source module hailo
Binary package GStreamer
Origin URL http://gstreamer.net/
hailodevicestats: hailodevicestats element
hailonet: hailonet element
synchailonet: sync hailonet element
3 features:
±- 3 elements
dnc@DNCRPI:~$ hailortcli fw-control identify
Executing on device: 0000:01:00.0
Identifying board
Control Protocol Version: 2
Firmware Version: 4.22.0 (release,app,extended context switch buffer)
Logger Version: 0
Board Name: Hailo-8
Device Architecture: HAILO8
dnc@DNCRPI:~$ gst-inspect-1.0 hailotools
Plugin Details:
Name hailotools
Description hailo tools plugin
Filename /usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgsthailotools.so
Version 5.0.0
License unknown
Source module gst-hailo-tools
Binary package gst-hailo-tools
Origin URL https://hailo.ai/
hailoaggregator: hailoaggregator - Cascading
hailocounter: hailocounter - postprocessing element
hailocropper: hailocropper
hailoexportfile: hailoexportfile - export element
hailoexportzmq: hailoexportzmq - export element
hailofilter: hailofilter - postprocessing element
hailogallery: Hailo gallery element
hailograytonv12: hailograytonv12 - postprocessing element
hailoimportzmq: hailoimportzmq - import element
hailomuxer: Muxer pipeline merging
hailonv12togray: hailonv12togray - postprocessing element
hailonvalve: HailoNValve element
dnc@DNCRPI:~$ dpkg -l | fgrep -i hailo | fgrep ii
ii hailo-all 4.22.0-1ubuntu1~marco1 all Hailo support (metapackage)
ii hailo-dkms 4.22.0-1ubuntu1~marco1 all Hailo PCIe driver
ii hailo-tappas-core 5.0.0-1ubuntu1~marco3 arm64 This package contains the core components of the Hailo Tappas platform.
ii hailofw 4.22.0-1ubuntu1~marco1 all Hailo firmware
ii hailort 4.22.0-1ubuntu1~marco1 arm64 Hailo RT is a lightweight, production-grade runtime library
ii python3-hailort 4.22.0-1ubuntu1~marco2 arm64 HailoRT Python API, which wraps the runtime library
ii rpicam-apps-hailo-postprocess 1.8.1-1ubuntu1~marco1 arm64 Raspberry Pi AI HAT+ post-processing plugin for rpicam-apps