问题描述:连接上苹果5后一直播放音乐过一段后出现乱音,此时发现蓝牙连接已经断开,在手机端手动回连时出现死机打印信息(连上APP)
Log:
Update 26M: diff=10 ms=279 ppb=35794
bt_xtal_sync: Bad ppb=35794 last_valid_ppb=23292 last_tune_ppb=0 (5)
bt_xtal_sync: ms=1203365 bit_offset=306
bt_xtal_sync: ms=1203389 bit_offset=307
bt_xtal_sync: ms=1203433 bit_offset=306
bt_xtal_sync: ms=1203480 bit_offset=308
bt_xtal_sync: ms=1203504 bit_offset=311
bt_xtal_sync: ms=1203526 bit_offset=310
bt_xtal_sync: ms=1203575 bit_offset=312
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
CPU USAGE: busy=43 light_sleep=57 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
*** SYSFREQ user=3 freq=4
*** SYSFREQ top_user=3
app_battery_handle_process 0,4004
checker: id:0 state:3 mode:0 role:1 cmghdl:2000d6c4 sniffInterva:0/800 IsAudioUp:0
0xe6 0xf8 0xc5 0xe4 0xf7 0x04
remDev:2000e3ac a2dp State:3 remDev:2000e3ac hf_channel Connected:1 remDev:2000e3ac
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
!!!ME_StartSniff : remDev2000e3ac maxInterva:800
CPU USAGE: busy=40 light_sleep=60 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
*** SYSFREQ user=3 freq=4
*** SYSFREQ user=4 freq=2
*** SYSFREQ top_user=3
app_battery_handle_process 0,4001
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
CPU USAGE: busy=2 light_sleep=98 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
CPU USAGE: busy=1 light_sleep=99 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
CPU USAGE: busy=1 light_sleep=99 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
CPU USAGE: busy=1 light_sleep=99 deep_sleep=0
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
,rssi_monitor[0]:210 ,rssi_monitor[1]: 165 ,rssi_monitor[2]:0,rssi_monitor[3]:128
### ASSERT @ 0x0C05F17B ###
osMailAlloc error
Task List:
--- Task task_id=1 prio=4 state=WAIT_OR ptask=0x0C016285
p_lnk=0x00000000 p_rlnk=0x00000000 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0xFFFF msg=0x00000000
priv_stack(stack_size)=1280 tsk_stack(sp)=0x2003D708
stack(top)=0x2003D300 stack_frame=1
PC=0x0C083A78 LR=0x0C016321
--- Task task_id=2 prio=6 state=WAIT_MBX ptask=0x0C084031
p_lnk=0x00000000 p_rlnk=0x20036CC4 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0x0000 msg=0x00000000
priv_stack(stack_size)=2048 tsk_stack(sp)=0x20036B58
stack(top)=0x200363D4 stack_frame=0
PC=0x0C083FE0 LR=0x0C084043
--- Task task_id=3 prio=6 state=WAIT_MUT ptask=0x0C05F1D5
p_lnk=0x00000000 p_rlnk=0x20014BD0 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0x0000 msg=0x00000000
priv_stack(stack_size)=2048 tsk_stack(sp)=0x200213F8
stack(top)=0x20020D54 stack_frame=1
PC=0x0C083B76 LR=0x0C051CD9
--- Task task_id=4 prio=6 state=WAIT_OR ptask=0x0C05D091
p_lnk=0x00000000 p_rlnk=0x00000000 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0xFFFF msg=0x00000000
priv_stack(stack_size)=47104 tsk_stack(sp)=0x20020418
stack(top)=0x20014D34 stack_frame=1
PC=0x0C083A78 LR=0x0C05D0AB
--- Task task_id=5 prio=6 state=WAIT_AND ptask=0x0C0368C1
p_lnk=0x00000000 p_rlnk=0x00000000 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0x0001 msg=0x00000000
priv_stack(stack_size)=5120 tsk_stack(sp)=0x20008CA8
stack(top)=0x20007A48 stack_frame=1
PC=0x0C083A78 LR=0x0C081BB1
--- Task task_id=6 prio=6 state=WAIT_MBX ptask=0x00245B41
p_lnk=0x00000000 p_rlnk=0x20036374 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0x0000 msg=0x00000000
priv_stack(stack_size)=1024 tsk_stack(sp)=0x20034A40
stack(top)=0x200346E8 stack_frame=0
PC=0x0C083FE0 LR=0x00245B6D
--- Task task_id=255 prio=0 state=RUNNING ptask=0x0C081EB5
p_lnk=0x00000000 p_rlnk=0x00000000 p_dlnk=0x00000000
p_blnk=0x00000000 delta_time=0 interval_time=0
events=0x0000 waits=0x0000 msg=0x00000000
priv_stack(stack_size)=1024 tsk_stack(sp)=0x20037068
stack(top)=0x20036CEC stack_frame=0
Current Task : 255
New Running Task: 255
Ready Tasks:
<NONE>
Delay Tasks:
<NONE>
状态信息:open(high)
定位:
结论:
代码修改: