You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Нажимаю сохранить и majestic вылетает (Segmentation fault), но успевает подать на драйвер IR-CUT соленоида питание. И вот так дальше соленоид под напряжением и висит, пока не расплавится. Вроде после 10 секунд отвисает, но не рискнул ждать ещё раз.
Воспроизводимость - 100% случаев. Если не запустить вкладку с HLS стримом - проблема НЕ воспроизводится, все отрабатывает нормально.
Прикладываю лог majestic, при запуске в терминале
root@openipc-gk7205v300:~# majestic
another instance is running
root@openipc-gk7205v300:~# killall majestic
root@openipc-gk7205v300:~# majestic
17:59:08 < majestic> [ main] main@125 Majestic Li te for HiSilicon, version HEAD+4822629, built on 2023-04-19
17:59:08 < majestic> [app_conf] load_config@89 Using /etc/ majestic.yaml as main configuration
17:59:08 < majestic> [watchdog] watchdog_start@101 Detected Wa tchdog
17:59:08 < majestic> [watchdog] watchdog_start@121 Watchdog ti meout set to 10 seconds
17:59:08 < majestic> [ sdk] start_sdk@415 Using /etc/ sensors/5M_imx335.ini sensor configuration file
17:59:08 < majestic> [ sdk] start_sdk@424 App was bui lt with MPP version: Gk7205V200_MPP_V1.0.1.0.B020 Release
17:59:08 < majestic> [ sdk] start_sdk@427 Current MPP version: VERSION=MPP_V1.0.1.0 B020 Release
17:59:08 < majestic> [sensor_c] parse_sensor_config@938 Set custom sensor clock mode: 27MHz
17:59:08 < majestic> [ sdk] start_sdk@447 sensor stSn sImx335Obj
17:59:08 < majestic> [ sdk] start_sdk@452 input_mod e MIPI, WDR NONE
17:59:08 < majestic> [ sdk] start_sdk@459 dev [2592 x1944]@200x20 20fps, RGGB
17:59:08 < majestic> [ sensor] try_to_load@19 trying to l oad /usr/lib/sensors/libsns_imx335.so
17:59:08 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ me m before allocation: 98272KB
17:59:08 < majestic> [ sdk] dump_vb_configuration@2206 VB configur ation:
17:59:08 < majestic> [ sdk] dump_vb_configuration@2216 [0]: 7558 272 x 3
17:59:08 < majestic> [ sdk] dump_vb_configuration@2216 [1]: 7558 272 x 1
17:59:08 < majestic> [ sdk] dump_vb_configuration@2216 [2]: 4608 00 x 1
17:59:08 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ me m after allocation: 68280KB
17:59:08 < majestic> [ sdk] init_sensor@2402 Sensor driv er loaded
17:59:08 < majestic> [ sdk] init_vi@2859 SDK is in ' VI_OFFLINE_VPSS_ONLINE' mode
17:59:08 < majestic> [ puts] linear mode
17:59:08 < majestic> [ puts] binit false IMX335 i2c init
17:59:08 < majestic> [ puts] -------Sony IMX335_init_5M_2592x1944_12bit_linear30 Initial OK!-------
17:59:09 < iq_monitor> [ sdk] monitor_thread@344 Loading IQ profile /etc/sensors/iq/default.ini
17:59:09 < majestic> [ sdk] log_venc_chn@1255 H.264 1280x 960 16fps 4096Kbit 16 GOP
17:59:09 < majestic> [ sdk] create_vpss_chn@1002 new venc: 0 vpss_grp: 0, vpss_chn: 1
17:59:09 < majestic> [ hal] show_blocks@686 allocated Str x 1=908, Rcn x 2=3624, Node x 1=24, PInfo x 2=152
17:59:09 < majestic> [ sdk] start_video@1956 venc took 4708KB of MMZ [900]
17:59:09 < majestic> [ osd] init_osd@106 OSD initial ized
17:59:09 < majestic> [ sdk] start_sdk@533 OSD took 1388KB of MMZ
17:59:09 < majestic> [image_tu] start_image_params_tuning@63 Image tunin g task started
17:59:09 < majestic> [ sdk] start_sdk@559 HiSilicon S DK started
17:59:09 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ me m finally: 54592KB
17:59:09 < majestic> [ httpd] new_http_server@368 HTTP server started on :::80
17:59:09 < majestic> [ rtsp] rtsp_init@31 RTSP server started on port 554
17:59:09 < majestic> [ netip] netip_start@2055 NETIP serve r started on port 34567
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 0)
17:59:09 < majestic> [ night] dn_start@244 Starting mo nitor for light sensor
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 1)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 1)
17:59:09 < majestic> [ hls] upsert_tracking_cookie@113 New client connected from 192.168.1.246
17:59:09 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping re sponse 0 -> 20
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 0)
17:59:09 < majestic> [ night] set_night_mode@125 Change mode to DAY
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 1)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(10 , 0)
17:59:09 < majestic> [ gpio] set_gpio@25 set_gpio(11 , 0)
17:59:12 <hi_motionDetect> [ mdetect] motion_detect_thread@726 Motion detection started on 3 ext channel
17:59:18 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 156
17:59:18 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 156
17:59:18 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 153
17:59:21 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 154
17:59:24 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 152
17:59:27 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 148
17:59:30 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 148
17:59:33 < majestic> [ gzip] gzip_evhttp_send_reply@93 Gzipping response 219 -> 149
17:59:35 < majestic> [ levent] signal_hup_cb@78 Signal HUP received, reloading config
17:59:35 < majestic> [ gpio] set_gpio@25 set_gpio(10, 0)
17:59:35 < majestic> [ gpio] set_gpio@25 set_gpio(11, 0)
17:59:35 < majestic> [ sdk] stop_chn@1997 Stopped 0 channel
17:59:35 < majestic> [ sdk] stop_sdk@3243 Stop sdk Ok!
17:59:35 < majestic> [app_conf] load_config@89 Using /etc/majestic.yaml as main configuration
17:59:35 < majestic> [ sdk] start_sdk@415 Using /etc/sensors/5M_imx335.ini sensor configuration file
17:59:35 < majestic> [ sdk] start_sdk@424 App was built with MPP version: Gk7205V200_MPP_V1.0.1.0.B020 Release
17:59:35 < majestic> [ sdk] start_sdk@427 Current MPP version: VERSION=MPP_V1.0.1.0 B020 Release
17:59:35 < majestic> [sensor_c] parse_sensor_config@938 Set custom sensor clock mode: 27MHz
17:59:35 < majestic> [ sdk] start_sdk@447 sensor stSnsImx335Obj
17:59:35 < majestic> [ sdk] start_sdk@452 input_mode MIPI, WDR NONE
17:59:35 < majestic> [ sdk] start_sdk@459 dev [2592x1944]@200x20 20fps, RGGB
17:59:35 < majestic> [ sensor] try_to_load@19 trying to load /usr/lib/sensors/libsns_imx335.so
17:59:35 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ mem before allocation: 98272KB
17:59:35 < majestic> [ sdk] dump_vb_configuration@2206 VB configuration:
17:59:35 < majestic> [ sdk] dump_vb_configuration@2216 [0]: 7558272 x 3
17:59:35 < majestic> [ sdk] dump_vb_configuration@2216 [1]: 7558272 x 1
17:59:35 < majestic> [ sdk] dump_vb_configuration@2216 [2]: 460800 x 1
17:59:35 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ mem after allocation: 68280KB
17:59:35 < majestic> [ sdk] init_sensor@2402 Sensor driver loaded
17:59:35 < majestic> [ sdk] init_vi@2859 SDK is in 'VI_OFFLINE_VPSS_ONLINE' mode
17:59:35 < majestic> [ puts] linear mode
17:59:36 < majestic> [ puts] binit false IMX335 i2c init
17:59:36 < majestic> [ puts] -------Sony IMX335_init_5M_2592x1944_12bit_linear30 Initial OK!-------
17:59:36 < iq_monitor> [ sdk] monitor_thread@344 Loading IQ profile /etc/sensors/iq/default.ini
17:59:36 < majestic> [ sdk] log_venc_chn@1255 H.264 1280x960 15fps 4096Kbit 15 GOP
17:59:36 < majestic> [ sdk] create_vpss_chn@1002 new venc: 0 vpss_grp: 0, vpss_chn: 1
17:59:36 < majestic> [ hal] show_blocks@686 allocated Str x 1=908, Rcn x 2=3624, Node x 1=24, PInfo x 2=152
17:59:36 < majestic> [ sdk] start_video@1956 venc took 4708KB of MMZ [900]
17:59:36 < majestic> [ osd] init_osd@106 OSD initialized
17:59:36 < majestic> [ sdk] start_sdk@533 OSD took 1388KB of MMZ
17:59:36 < majestic> [image_tu] start_image_params_tuning@63 Image tuning task started
17:59:36 < majestic> [ sdk] start_sdk@559 HiSilicon SDK started
17:59:36 < majestic> [ hal] hisi_free_mem_ex@755 Free MMZ mem finally: 54592KB
17:59:36 < majestic> [ httpd] new_http_server@368 HTTP server started on :::80
17:59:36 < majestic> [ rtsp] rtsp_init@31 RTSP server started on port 554
17:59:36 < majestic> [ netip] netip_start@2055 NETIP server started on port 34567
17:59:36 < majestic> [ gpio] set_gpio@25 set_gpio(10, 0)
17:59:36 < majestic> [ gpio] set_gpio@25 set_gpio(11, 0)
17:59:36 < majestic> [ night] dn_start@244 Starting monitor for light sensor
17:59:36 < majestic> [ gpio] set_gpio@25 set_gpio(10, 1)
17:59:36 < majestic> [ gpio] set_gpio@25 set_gpio(11, 0)
Segmentation fault
root@openipc-gk7205v300:~#
PS: добавьте пожалуйста в web интерфейс ссылки на публикацию issue.
The text was updated successfully, but these errors were encountered:
gk7205v300 (gk7205v200 family), imx335, 16 MB nor flash, 2.3.04.19-lite, openipc-gk7205v300
.video0.codec: h264
.video0.size: 1280x960
.video0.fps: 15
Открываю вкладку с HLS стримом http://192.168.1.240/hls
Открываю вкладку с настройками http://192.168.1.240:85/cgi-bin/majestic-settings.cgi?tab=video0
Меняю какие-нибудь настройки. Конкретно - игрался с FPS, менял с 15 на 16 и обратно.
Нажимаю сохранить и majestic вылетает (Segmentation fault), но успевает подать на драйвер IR-CUT соленоида питание. И вот так дальше соленоид под напряжением и висит, пока не расплавится. Вроде после 10 секунд отвисает, но не рискнул ждать ещё раз.
Воспроизводимость - 100% случаев. Если не запустить вкладку с HLS стримом - проблема НЕ воспроизводится, все отрабатывает нормально.
Прикладываю лог majestic, при запуске в терминале
PS: добавьте пожалуйста в web интерфейс ссылки на публикацию issue.
The text was updated successfully, but these errors were encountered: