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

未关闭
#227 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
28/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
活跃
技术栈
python
领域
embedded-iot

调研方向

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.

由索引模型根据 Issue 内容生成。

描述

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!

主要语言
Python
星标
880
派生
129
平均合并
7 天 12 小时
30 天内合并 PR
2

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

sipeed/MaixPy 的其他 Issue

查看 sipeed/MaixPy 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。