Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

majstic crash when alarm activated #133

Open
darkfuncat opened this issue Sep 6, 2023 · 0 comments
Open

majstic crash when alarm activated #133

darkfuncat opened this issue Sep 6, 2023 · 0 comments

Comments

@darkfuncat
Copy link

Required information

  • Camera board id: t31n (t31 family) Xiaomi MJSXJ03HL
  • OpenIPC version: 2.3.09.06-lite
  • installation method: UART

Issue description

When I activate alarm "Enable motion detection" by IHM and reboot, majectic crashes.
Either same result if I eddit the config file and restart process majestic.

Steps to reproduce

  1. vi /etc/majestic.yaml > motionDetect: enabled: true
  2. run majectic
  3. Error log :
20:49:17  <       majestic> [    main] main@123                      Majestic Lite for Ingenic, version master+3b4f3d8, built on 2023-09-03
20:49:17  <       majestic> [app_conf] load_config@106               Using /etc/majestic.yaml as main configuration
20:49:18  <       majestic> [watchdog] watchdog_start@101            Detected jz Watchdog
20:49:18  <       majestic> [watchdog] watchdog_start@121            Watchdog timeout set to 10 seconds
20:49:18  <       majestic> [sns_conf] try_sensor_config@13          SENSOR=jxq03p
20:49:18  <       majestic> [sns_conf] load_sensor_config@44         Using /etc/sensor/jxq03p.yaml as sensor config
20:49:18  <       majestic> [sns_conf] parse_sensor_config@125       VI: jxq03p @ 0x40 [2304x1296]
20:49:18  <       majestic> [     sdk] start_sdk@1247                CPU T31-N, SDK SYSUTILS-1.1.6, model Swan, devID 5624000c
---- FPGA board is ready ----
  Board UID : 30AB6E51
  Board HW ID : 72000460
  Board rev.  : 5DE5A975
  Board date  : 20190326
-----------------------------
20:49:18  <       majestic> [     sdk] imp_system_init@438           ImpSystemInit success
20:49:18  <       majestic> [     sdk] start_sdk@1390                [0] H.264 2304x1296 25fps 4096Kbit [VB:1]
20:49:18  <       majestic> [     osd] init_osd@147                  OSD initialized
20:49:18  <       majestic> [     log] printf@268                    VBMCreatePool[335] poolid = 2 IMP_ALLOC failed size = 706560
20:49:18  <       majestic> [     sdk] imp_framesource_streamon@828  IMP_FrameSource_EnableChn(-1) error: 2
20:49:18  <       majestic> [     sdk] start_sdk@1474                ImpStreamOn failed
20:49:18  <       majestic> [    main] main@209                      Shutdown main thread

Expected :

20:48:40  <       majestic> [    main] main@123                      Majestic Lite for Ingenic, version master+3b4f3d8, built on 2023-09-03
20:48:40  <       majestic> [app_conf] load_config@106               Using /etc/majestic.yaml as main configuration
20:48:40  <       majestic> [watchdog] watchdog_start@101            Detected jz Watchdog
20:48:40  <       majestic> [watchdog] watchdog_start@121            Watchdog timeout set to 10 seconds
20:48:40  <       majestic> [sns_conf] try_sensor_config@13          SENSOR=jxq03p
20:48:40  <       majestic> [sns_conf] load_sensor_config@44         Using /etc/sensor/jxq03p.yaml as sensor config
20:48:40  <       majestic> [sns_conf] parse_sensor_config@125       VI: jxq03p @ 0x40 [2304x1296]
20:48:40  <       majestic> [     sdk] start_sdk@1247                CPU T31-N, SDK SYSUTILS-1.1.6, model Swan, devID 5624000c
---- FPGA board is ready ----
  Board UID : 30AB6E51
  Board HW ID : 72000460
  Board rev.  : 5DE5A975
  Board date  : 20190326
-----------------------------
20:48:41  <       majestic> [     sdk] imp_system_init@438           ImpSystemInit success
20:48:41  <       majestic> [     sdk] start_sdk@1390                [0] H.264 2304x1296 25fps 4096Kbit [VB:1]
20:48:41  <       majestic> [     osd] init_osd@147                  OSD initialized
20:48:41  <       majestic> [     sdk] start_sdk@1497                Ingenic SDK started
20:48:41  <       majestic> [   httpd] new_http_server@368           HTTP server started on :::80
20:48:41  <       majestic> [    rtsp] rtsp_init@31                  RTSP server started on port 554
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(49, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(50, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(60, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(49, 1)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(50, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(49, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(50, 1)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(49, 0)
20:48:41  <       majestic> [    gpio] set_gpio@25                   set_gpio(50, 0)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant