With reference to the above segfault, running the command through gdb and doing a backtrace gives me this:
Code:
Thread 29 "rpicam-hello" received signal SIGSEGV, Segmentation fault.[Switching to Thread 0x7fffb9ec9b00 (LWP 2742)]__memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:8787../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.(gdb) backtrace #0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:87#1 0x00007fffcdf8f7bc in () at /usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes/libyolo_hailortpp_post.so#2 0x00007fffcdf98638 in filter () at /usr/lib/aarch64-linux-gnu/hailo/tappas/post_processes/libyolo_hailortpp_post.so#3 0x00007fffd6550bd0 in YoloInference::runInference(unsigned char const*, std::vector<libcamera::Rectangle, std::allocator<libcamera::Rectangle> > const&) (this=0x5555555e0420, frame=0x7fffccc74000 <error: Cannot access memory at address 0x7fffccc74000>, scaler_crops=std::vector of length 2, capacity 2 = {...}) at ../post_processing_stages/hailo/hailo_yolo_inference.cpp:257#4 0x00007fffd6550818 in YoloInference::Process(std::shared_ptr<CompletedRequest>&) (this=0x5555555e0420, completed_request=warning: RTTI symbol not found for class 'std::_Sp_counted_deleter<CompletedRequest*, RPiCamApp::requestComplete(libcamera::Request*)::{lambda(CompletedRequest*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>'warning: RTTI symbol not found for class 'std::_Sp_counted_deleter<CompletedRequest*, RPiCamApp::requestComplete(libcamera::Request*)::{lambda(CompletedRequest*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr<CompletedRequest> (use count 1, weak count 0) = {...}) at ../post_processing_stages/hailo/hailo_yolo_inference.cpp:205#5 0x00007ffff7e90460 in operator()(CompletedRequestPtr&, std::promise<bool>) const (__closure=0x555556562d98, request=warning: RTTI symbol not found for class 'std::_Sp_counted_deleter<CompletedRequest*, RPiCamApp::requestComplete(libcamera::Request*)::{lambda(CompletedRequest*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>'warning: RTTI symbol not found for class 'std::_Sp_counted_deleter<CompletedRequest*, RPiCamApp::requestComplete(libcamera::Request*)::{lambda(CompletedRequest*)#1}, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>' std::shared_ptr<CompletedRequest> (use count 1, weak count 0) = {...}, promise=...) at ../core/post_processor.cpp:211#6 0x00007ffff7e90fe0 in std::__invoke_impl<void, PostProcessor::Process(CompletedRequestPtr&)::<lambda(CompletedRequestPtr&, std::promise<bool>)>, std::reference_wrapper<std::shared_ptr<CompletedRequest> >, std::promise<bool> >(std::__invoke_other, struct {...} &&) (__f=...) at /usr/include/c++/12/bits/invoke.h:61#7 0x00007ffff7e90f3c in std::__invoke<PostProcessor::Process(CompletedRequestPtr&)::<lambda(CompletedRequestPtr&, std::promise<bool>)>, std::reference_wrapper<std::shared_ptr<CompletedRequest> >, std::promise<bool> >(struct {...} &&) (__fn=...) at /usr/include/c++/12/bits/invoke.h:96#8 0x00007ffff7e90e68 in std::thread::_Invoker<std::tuple<PostProcessor::Process(CompletedRequestPtr&)::<lambda(CompletedRequestPtr&, std::promise<bool>)>, std::reference_wrapper<std::shared_ptr<CompletedRequest> >, std::promise<bool> > >::_M_invoke<0, 1, 2>(std::_Index_tuple<0, 1, 2>) (this=0x555556562d78) at /usr/include/c++/12/bits/std_thread.h:252#9 0x00007ffff7e90e0c in std::thread::_Invoker<std::tuple<PostProcessor::Process(CompletedRequestPtr&)::<lambda(CompletedRequestPtr&, std::promise<bool>)>, std::reference_wrapper<std::shared_ptr<CompletedRequest> >, std::promise<bool> > >::operator()(void) (this=0x555556562d78) at /usr/include/c++/12/bits/std_thread.h:259#10 0x00007ffff7e90dec in std::thread::_State_impl<std::thread::_Invoker<std::tuple<PostProcessor::Process(CompletedRequestPtr&)::<lambda(CompletedRequestPtr&, std::promise<bool>)>, std::reference_wrapper<std::shared_ptr<CompletedRequest> >, std::promise<bool> > > >::_M_run(void) (this=0x555556562d70) at /usr/include/c++/12/bits/std_thread.h:210--Type <RET> for more, q to quit, c to continue without paging--c#11 0x00007ffff7afe9dc in () at /lib/aarch64-linux-gnu/libstdc++.so.6#12 0x00007ffff78aee90 in start_thread (arg=0x7fffdcb48187) at ./nptl/pthread_create.c:442#13 0x00007ffff7917b1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79Statistics: Posted by GrubbyHalo — Mon Mar 17, 2025 11:51 am