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

Aperta
#227 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
28/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
python
Ambito
embedded-iot

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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!

Lingua principale
Python
Stelle
880
Fork
129
Merge medio
7g 12h
PR unite (30g)
2

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di sipeed/MaixPy

Tutte le issue di sipeed/MaixPy

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.