roleoroleo / yi-hack-Allwinner

Custom firmware for Yi 1080p camera based on Allwinner platform
MIT License
445 stars 66 forks source link

dispatch.c(p_worker-3337) rcd may crashed on 0.1.8 #243

Closed WMP closed 5 months ago

WMP commented 3 years ago

I have problem with rtsp, i havent no video, only audio or broken single frames: image

/tmp/log.txt:

[./rmm][2/11/11:35:54:670]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:35:54:671]: rmm.c(send_motion_stop_msg-697) msg snd success[./dispatch][2/11/11:36:11:757]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:36:17:442]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:36:17:443]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:36:17:443]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:37:12:434]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:37:17:693]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:37:17:694]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:37:17:792]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:37:17:792]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:37:17:794]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:38:13:248]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:38:17:939]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:38:17:939]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:38:18:288]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:38:18:288]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:38:18:288]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:39:14:98]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:39:18:550]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:39:18:551]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:39:18:694]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:39:18:694]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:39:18:694]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:40:14:551]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:40:19:38]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:40:19:38]: rmm.c(send_motion_stop_msg-697) msg snd success[./dispatch][2/11/11:40:23:782]: dispatch.c(check_wifi_connect-1599) signal_quality(39)[./rmm][2/11/11:40:37:272]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:40:37:272]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:40:37:272]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:41:14:972]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:41:37:553]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:41:37:553]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:41:48:764]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:41:48:764]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:41:48:764]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:42:15:706]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:42:48:974]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:42:48:974]: rmm.c(send_motion_stop_msg-697) msg snd success[./dispatch][2/11/11:43:16:449]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:43:19:285]: v429_mpp.c(human_motion_process-1674) send stop recorde detect 
[./rmm][2/11/11:43:19:285]: rmm.c(send_stop_recorde_msg-784) msg snd success[./rmm][2/11/11:43:29:120]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:43:29:120]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./rmm][2/11/11:43:29:120]: rmm.c(send_start_recorde_msg-755) msg snd success[./rmm][2/11/11:43:29:121]: v429_mpp.c(human_motion_process-1665) send start recorde detect 
[./dispatch][2/11/11:43:29:121]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:44:17:190]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:44:29:375]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:44:29:376]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:44:29:614]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:44:29:614]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:44:29:614]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:45:17:728]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:45:29:854]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:45:29:854]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:45:29:914]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:45:29:915]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:45:29:916]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:46:18:339]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:46:30:87]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:46:30:87]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:46:33:180]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:46:33:180]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:46:33:180]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:47:18:866]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:47:33:385]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:47:33:385]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:48:0:493]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:48:0:493]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:48:0:494]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:48:19:553]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:49:0:751]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:49:0:751]: rmm.c(send_motion_stop_msg-697) msg snd success[./rmm][2/11/11:49:0:850]: rmm.c(send_motion_start_msg-672) msg snd success[./rmm][2/11/11:49:0:850]: v429_mpp.c(human_motion_process-1626) send start motion detect 
[./dispatch][2/11/11:49:0:854]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0[./dispatch][2/11/11:49:20:486]: dispatch.c(p_worker-3337) rcd may crashed
[./rmm][2/11/11:50:1:70]: v429_mpp.c(human_motion_process-1635) motion stop. send_motion_stop_msg 
[./rmm][2/11/11:50:1:71]: rmm.c(send_motion_stop_msg-697) msg snd success1:942]: dispatch.c(do_mq_process-3541) g_dispatch_info.mmap_info->motion_type  =0
cat /proc/kmsg 
<5>[    1.733420] jffs2: CLEANMARKER node found at 0x0051e000, not first node in block (0x00510000)
<4>[    1.733947] jffs2: Empty flash at 0x0051efa0 ends at 0x0051f000
<5>[    1.733954] jffs2: CLEANMARKER node found at 0x0051f000, not first node in block (0x00510000)
<4>[    1.735092] jffs2: Empty flash at 0x00520ffc ends at 0x00521000
<5>[    1.735099] jffs2: CLEANMARKER node found at 0x00521000, not first node in block (0x00520000)
<4>[    1.735619] jffs2: Empty flash at 0x00521ffc ends at 0x00522000
<5>[    1.735626] jffs2: CLEANMARKER node found at 0x00522000, not first node in block (0x00520000)
<4>[    1.736147] jffs2: Empty flash at 0x00522ffc ends at 0x00523000
<5>[    1.736154] jffs2: CLEANMARKER node found at 0x00523000, not first node in block (0x00520000)
<4>[    1.736676] jffs2: Empty flash at 0x00523ffc ends at 0x00524000
<5>[    1.736683] jffs2: CLEANMARKER node found at 0x00524000, not first node in block (0x00520000)
<4>[    1.737207] jffs2: Empty flash at 0x00524ffc ends at 0x00525000
<5>[    1.737214] jffs2: CLEANMARKER node found at 0x00525000, not first node in block (0x00520000)
<4>[    1.737733] jffs2: Empty flash at 0x00525ffc ends at 0x00526000
<5>[    1.737740] jffs2: CLEANMARKER node found at 0x00526000, not first node in block (0x00520000)
<4>[    1.738261] jffs2: Empty flash at 0x00526ffc ends at 0x00527000
<5>[    1.738268] jffs2: CLEANMARKER node found at 0x00527000, not first node in block (0x00520000)
<4>[    1.738788] jffs2: Empty flash at 0x00527ffc ends at 0x00528000
<5>[    1.738795] jffs2: CLEANMARKER node found at 0x00528000, not first node in block (0x00520000)
<4>[    1.739317] jffs2: Empty flash at 0x00528f88 ends at 0x00529000
<5>[    1.739324] jffs2: CLEANMARKER node found at 0x00529000, not first node in block (0x00520000)
<4>[    1.739870] jffs2: Empty flash at 0x00529ffc ends at 0x0052a000
<5>[    1.739878] jffs2: CLEANMARKER node found at 0x0052a000, not first node in block (0x00520000)
<4>[    1.740403] jffs2: Empty flash at 0x0052affc ends at 0x0052b000
<5>[    1.740410] jffs2: CLEANMARKER node found at 0x0052b000, not first node in block (0x00520000)
<4>[    1.740931] jffs2: Empty flash at 0x0052bffc ends at 0x0052c000
<5>[    1.740938] jffs2: CLEANMARKER node found at 0x0052c000, not first node in block (0x00520000)
<4>[    1.741474] jffs2: Empty flash at 0x0052cffc ends at 0x0052d000
<5>[    1.741481] jffs2: CLEANMARKER node found at 0x0052d000, not first node in block (0x00520000)
<4>[    1.742003] jffs2: Empty flash at 0x0052dffc ends at 0x0052e000
<5>[    1.742010] jffs2: CLEANMARKER node found at 0x0052e000, not first node in block (0x00520000)
<4>[    1.742535] jffs2: Empty flash at 0x0052effc ends at 0x0052f000
<5>[    1.742542] jffs2: CLEANMARKER node found at 0x0052f000, not first node in block (0x00520000)
<4>[    3.476144] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
<5>[    3.499165] random: crng init done
<4>[    3.742030] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
<4>[    3.758886] snd_soc_sunxi: loading out-of-tree module taints kernel.
<3>[    3.770448] --->sunxi_daudio_dev_probe<--- strat.
<4>[    3.775987] sunxi-daudio daudio0: regulator missing or invalid
<3>[    3.776142] --->sunxi_daudio_dev_probe<--- end.
<6>[    3.794714] digital_vol:0, lineout_vol:31, main_gain:23, pa_msleep:160, pa_level:1
<6>[    3.794731] adcdrc_cfg:0, adchpf_cfg:1, dacdrc_cfg:1, dachpf:0
<4>[    3.794816] sunxi-internal-codec codec: [sunxi_internal_codec_probe] codec probe finished.
<4>[    3.802137] [sunxi_card_init] card init finished.
<6>[    3.802480] sunxi-codec-machine sndcodec: sun8iw19codec <-> codec mapping ok
<4>[    3.883326] sunxi-codec-machine sndcodec: [sunxi_card_dev_probe] register card finished.
<6>[    3.891159] snddaudio snddaudio0: codec: snd-soc-dummy, codec_dai: snd-soc-dummy-dai.
<6>[    3.891623] snddaudio snddaudio0: snd-soc-dummy-dai <-> daudio0 mapping ok
<4>[    3.951258] [sensor_power_warn] sensor_power_probe: cannot get sensor0_iovdd supply, setting it to NULL!
<4>[    3.951273] [sensor_power_warn] sensor_power_probe: cannot get sensor0_avdd supply, setting it to NULL!
<4>[    3.951283] [sensor_power_warn] sensor_power_probe: cannot get sensor0_dvdd supply, setting it to NULL!
<6>[    4.209522] sunxi-wlan wlan: bus_index: 1
<6>[    4.319594] sunxi-mmc sdc1: sdc set ios:clk 0Hz bm PP pm UP vdd 21 width 1 timing LEGACY(SDR12) dt B
<6>[    4.337113] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
<6>[    4.357786] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
<6>[    4.360240] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing LEGACY(SDR12) dt B
<3>[    4.362113] sunxi-mmc sdc1: smc 1 p1 err, cmd 8, RTO !!
<4>[    4.368354] sunxi-mmc sdc1: card claims to support voltages below defined range
<6>[    4.378031] sunxi-mmc sdc1: sdc set ios:clk 400000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
<6>[    4.378128] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 1 timing SD-HS(SDR25) dt B
<6>[    4.378288] sunxi-mmc sdc1: sdc set ios:clk 50000000Hz bm PP pm ON vdd 21 width 4 timing SD-HS(SDR25) dt B
<6>[    4.379373] mmc1: new high speed SDIO card at address 0001
<4>[    5.990567] 
<4>[    5.990567] [CPLD_PERIPH] cpld_init ok, [ ver=Dec 27 2019, 09:42:03 ] 
<4>[    5.991012] [CPLD_PERIPH] pwm init ok.
<4>[    5.991022] [CPLD_PERIPH] timer init ok.
<6>[    5.991027] timer resolution:4 MHZ
<4>[    5.991031] [CPLD_PERIPH] HZ = 250 
<4>[    8.177273] [sensor_power_warn] sensor_power_probe: cannot get sensor0_iovdd supply, setting it to NULL!
<4>[    8.177289] [sensor_power_warn] sensor_power_probe: cannot get sensor0_avdd supply, setting it to NULL!
<4>[    8.177299] [sensor_power_warn] sensor_power_probe: cannot get sensor0_dvdd supply, setting it to NULL!
<4>[    9.528267] cedar_ve: VE real_fre=300000000
<4>[    9.568310] [CPLD_PERIPH] Timer closed.
<4>[    9.568322] [CPLD_PERIPH] Timer opened.
<4>[    9.861766] snddaudio snddaudio0: codec_dai set sysclk failed
<4>[    9.861778] snddaudio snddaudio0: codec_dai set set_pll failed.
<4>[    9.861786] snddaudio snddaudio0: codec dai set fmt failed
<4>[    9.861808] snddaudio snddaudio0: codec_dai set clkdiv failed
<4>[    9.933626] s_fmt set width = 1936, height = 1096
<4>[   10.032085] into set sensor hfilp the value:0 
<6>[   10.033578] [VIN]sensor_flip_option:isp0 reset!!!
<4>[   10.033892] into set sensor hfilp the value:0 
<6>[   10.035575] [VIN]sensor_flip_option:isp0 reset!!!
<4>[   10.046568] cedar_ve: VE real_fre=300000000
<4>[   10.048858] cedar_ve: VE real_fre=300000000
<4>[   17.394386] [CPLD_PERIPH] Timer closed.
<4>[   19.102700] cedar_ve: VE real_fre=300000000
<4>[   19.136529] cedar_ve: VE real_fre=300000000
<4>[   19.467218] cedar_ve: VE real_fre=300000000
<4>[   19.625859] snddaudio snddaudio0: codec_dai set sysclk failed
<4>[   19.625871] snddaudio snddaudio0: codec_dai set set_pll failed.
<4>[   19.625879] snddaudio snddaudio0: codec dai set fmt failed
<4>[   19.625899] snddaudio snddaudio0: codec_dai set clkdiv failed
Filesystem           1024-blocks    Used Available Use% Mounted on
/dev/root                 1536      1536         0 100% /
devtmpfs                 30528      1824     28704   6% /dev
/dev/mtdblock3           11776     11300       476  96% /home
tmpfs                    32768        68     32700   0% /tmp
/dev/mmcblk0p1        15103568  14414088    689480  95% /tmp/sd

Could you add tail -f to system?

roleoroleo commented 3 years ago

Try to upgrade to the last version.

github-actions[bot] commented 6 months ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.