Page 1 of 1

Segmentation fault (core dumped)

Posted: 2025-02-02 18:46
by Yozh-Lyudoed
PicoMax Buildroot. System as it comes in delivery, not changed. Copied all examples from https://github.com/LuckfoxTECH/luckfox_ ... 60/install without crosscompilation
All examples give the same error "Segmentation fault (core dumped)"
and the same strange message "ls: /oem/usr/etc/init.d/S??*: No such file or directory"

Code: Select all

[root@luckfox luckfox_pico_rtsp_yolov5_demo]# ./luckfox_pico_rtsp_yolov5
Stop Application ...
killall: rkipc: no process killed
killall: udhcpc: no process killed
rkipc exit
ls: /oem/usr/etc/init.d/S??*: No such file or directory
  index=0, name=images, n_dims=4, dims=[1, 640, 640, 3], n_elems=1228800, size=1228800, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
  index=0, name=output0, n_dims=4, dims=[1, 80, 80, 255], n_elems=1632000, size=1632000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
  index=1, name=286, n_dims=4, dims=[1, 40, 40, 255], n_elems=408000, size=408000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
  index=2, name=288, n_dims=4, dims=[1, 20, 20, 255], n_elems=102000, size=102000, fmt=NHWC, type=INT8, qnt_type=AFFINE, zp=-128, scale=0.003922
model is NHWC input fmt
model input height=640, width=640, channel=3
init rknn model success!
load lable ./model/coco_80_labels_list.txt
Create Pool success !
rkaiq log level ff0
ID: 0, sensor_name is Ա, iqfiles is /etc/iqfiles
[b]Segmentation fault (core dumped)[/b]

Re: Segmentation fault (core dumped)

Posted: 2025-02-05 3:36
by Crocodile
Hello, print "ls: /oem/usr/etc/init.d/S?? *: No such file or directory" is the normal detection content of the RkLunch-stop.sh, according to your logs, the camera is not working properly, the program does not recognize the sensor name, please check whether the camera is connected.