MaixCAM: camera SIGSEGV after 'ISP Dev 0 running' (v4.12.5), device_key e19253be15195372

Đang mở
#227 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
28/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
embedded-iot

Hướng nghiên cứu

Start by comparing this MaixCAM crash with issue #160 and the linked NanoKVM device key cases. The report points to a device check in libmaixcam_lib.so and provides a reproduction on the v4.12.5 image, but names no source files or tests to start from. Done means the device key is checked or registered and camera use no longer triggers the reported SIGSEGV.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Problem

On my MaixCAM (Lite, no screen) any camera use crashes with SIGSEGV right after ISP Dev 0 running!. This happens in MaixPy (camera.Camera(...) with any resolution/format) and in the built-in apps (/maixapp/apps/camera, RTSP, etc.).

It looks like the same issue as #160 and the NanoKVM device-key cases (sipeed/NanoKVM#49, sipeed/NanoKVM#61). Could you please check / register my device key?

device_key: e19253be15195372

Environment

  • Image: maixcam-2026-01-24-maixpy-v4.12.5.img.xz (official, from this repo's release), board id=maixcam
  • Sensor: GC4653 (GCORE_GC4653_MIPI_4M_30FPS_10BIT)
  • The SD card contents were verified against the official image by md5: all files match (except hostname/hosts/resolv.conf/wpa_supplicant.conf).

Log

[_mmf_init]-1144: maix multi-media version:67a90e2-musl_riscv64
maix multi-media init ok
try release vio ok
try release venc ok
ISP Vipipe(0) Allocate pa(0x8a65e000) va(0x0x3fda57b000) size(291424)
stSnsrMode.u16Width 1280 stSnsrMode.u16Height 720 60.000000 wdrMode 0
ViPipe:0,===GC4653 720P 60fps 10bit LINEAR Init OK!===
[SAMPLE_COMM_ISP_Thread]-95: ISP Dev 0 running!
Trigger signal, code:SIGSEGV(11)!
maix multi-media driver released.
ISP Vipipe(0) Free pa(0x8a65e000) va(0x0x3fda57b000)

What I checked

  • The hardware is fine: the vendor tool /mnt/system/usr/bin/sensor_test (vendor MMF d4003f15b) captures a correct 2560x1440 frame from the sensor. MIPI shows no ECC/CRC errors.
  • The crash also happens after stopping the launcher, after a reboot, and with the v4.12.4 maix Python package.
  • strace shows that just before the crash the main thread opens /dev/mem and maps 0x03050000 (eFuse) and 0x03002000. Then it jumps to an invalid address (si_addr=0xffffffb59b7746f2). This looks like the device check in libmaixcam_lib.so failing.

Thanks!

Ngôn ngữ chính
Python
Star
880
Fork
129
Merge trung bình
7 ngày 12 giờ
Pull request đã merge (30 ngày)
2

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sipeed/MaixPy

Tất cả issue của sipeed/MaixPy

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.