When switching apps, Watch triggers rt_free assertion

LVGL :v9 , sdk :2.4 (编译)

步骤:app1->button->app2->button->app3.。。。

其中button 用来返回特定的app

Assertion failed at function:rt_free, line number:688 ,((((rt_uint32_t)rmem) & (RT_ALIGN_SIZE - 1)) == 0)

该断言的触发会在任意一次从button,往下一个app 切换时必然触发。

不同app 中,并未主动去call rt_free. 自定义文字,也在stop 时, 做了lv_tiny_ttf_destroy 处理和置NULL.

uart:

[10:11:48.324]收←◆SFBL

[10:11:50.369]收←◆Serial:c2,Chip:4,Package:3,Rev:3 Reason:00000000

\ | /

  • SiFli Corporation
    / | \ build on Oct 15 2026, 2.4.6 build 00000000
    2020 - 2022 Copyright by SiFli team
    mount /dev sucess
    e[32;22m[I/FAL] Flash Abstraction Layer (V0.5.99) initialize success.e[0m
    e[32;22m[I/FAL] The FAL MTD NOR device (dfu) created successfullye[0m
    e[32;22m[I/FAL] The FAL MTD NOR device (ble) created successfullye[0m
    [1857] I/drv.rtc main: PSCLR=0x80000100 DivAI=128 DivAF=0 B=256
    [1884] I/drv.rtc main: RTC use LXT RTC_CR=00000001

[1905] I/drv.rtc main: Init RTC, wake = 0

[2066] I/drv.audprc main: init 00 ADC_PATH_CFG0 0x606

[2087] I/drv.audprc main: HAL_AUDPRC_Init res 0

[2108] I/drv.audcodec main: HAL_AUDCODEC_Init res 0

[2129] I/TOUCH main: Regist touch screen driver, probe=0x12027581
[2165] I/drv.epic main: drv_gpu opened.
call par CFG1(3313)
fc 9, xtal 2000, pll 2100
call par CFG1(3313)
fc 7, xtal 2000, pll 1683
proc_stack:0x2002cc0c,4096
[2426] I/NO_TAG main: dfu_secure_boot_check
[2469] D/[HW_BUTTON] main: button Init Finish
[2489] I/ble_main main: BLE Init Finish

[2507] I/battery_monitor main: battery monitor started (dev=bat1 ch=7)
[2826] I/drv.lcd watch: [NONE] → [OPENING]
[2844] I/drv.lcd lcd_task: open
[2857] I/drv.lcd lcd_task: HW open
[2891] I/drv.lcd lcd_task: Try registered LCD driver…
[2981] D/nvds mbox: NVDS Update Addr res 6, addr ef-09-80-52-fd-5c
[3010] I/nvds mbox: read sleep time 3500
D/HEX uid: 0000-0008: 09 4E BA 29 A4 8B 69 A5 .N.)..i.
0008-0010: 27 18 2A 0C D6 37 64 00 '.*..7d.
[3075] D/btcomm mbox: pattern a5
[3088] D/btcomm mbox: chk_sum 105, cal 105
D/HEX addr: 0000-0008: 09 4E BA 29 A4 8B .N.)..
[3126] D/nvds mbox: NVDS Update Addr local addr 09-4e-ba-29-a4-8b

[10:11:51.489]收←◆[38351] D/sibles_utils mbox: delay
[38368] I/sibles ble_main: enable BLE Core. Lib ver: bt.2.0.7f55268b
msh />
[10:11:51.549]收←◆
CO5300_ReadID 0x331100
[40333] I/co5300 lcd_task: LCD module use CO5300 IC

[10:11:51.741]收←◆
CO5300_ReadID 0x331100
[46593] I/co5300 lcd_task: LCD module use CO5300 IC

[46613] I/drv.lcd lcd_task: Found lcd co5300 id:331100h
[46635] I/drv.lcd lcd_task: HW open done.
[46651] I/drv.lcd lcd_task: [OPENING] → [INITIALIZED]
[46672] I/drv.lcd lcd_task: open done.
[46796] I/drv.lcd_fb watch: drv_lcd_fb_init
[46818] I/drv.lcd_fb watch: drv_lcd_fb_init done.
[46840] I/TOUCH watch: Open
[46856] I/TOUCH tp_init: Find touch screen driver…
[46876] I/TOUCH tp_init: Probe 12027581
[46893] I/TOUCH tp_init: touch screen found driver 0x2002b568, ft6146
[46921] I/TOUCH watch: Opened.
[46935] I/LVGL watch: [littlevgl2rtt] Welcome to the littlevgl2rtt lib. H:390, V:450
[46979] D/APP.FWK watch: send msg[GUI_APP_MSG_RUN_APP] [app_weather] to gui_app_mbx tick:1381.
[47015] I/APP.FWK.INT watch: [app_weather]
[47032] I/APP.FWK watch: gui_app_run: id:app_weather, err:0
[47055] I/NO_TAG watch: Creating input device…

[10:11:51.784]收←◆[48030] I/drv.lcd lcd_task: Auto turn on display.
[48051] I/drv.lcd lcd_task: set brightness 50
[48070] I/drv.lcd lcd_task: display on
[48085] I/drv.lcd lcd_task: [INITIALIZED] → [ON]

[10:11:51.821]收←◆[49237] D/APP.SCHE watch: ----------------app_schedule_task---------------start
[49267] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_RUN_APP] tick:1381
[49295] I/APP.SCHE watch: app[app_weather] do LOAD, 2004877c
[49318] I/APP.FWK watch: finding app_weather in builtin apps…
[49344] D/APP.SCHE watch: app[app_weather] tgt_state [LAUNCHED] → [RUNNING]
[49374] I/APP.SCHE watch: app[app_weather] do START, 2004877c
[49398] I/APP.FWK.INT watch: [app_weather]
[49417] D/APP.FWK watch: send msg[GUI_APP_MSG_OPEN_PAGE] [0x2004877c] to gui_app_mbx tick:1455.
[49453] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[49476] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[49500] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_OPEN_PAGE] tick:1455
[49528] D/APP.SCHE watch: app[app_weather] create page[root] 200486e0
[49554] D/APP.SCHE watch: page[app_weather][root] tgt_state [CREATED] → [RESUMED]
[49585] D/APP.SCHE watch: Pause all app, and resume to app_weather app
[49613] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[49651] I/APP.SCHE watch: page[app_weather][root] do ONSTART, 200486e0
[49679] D/[APP_WEATHER] watch: APP WEATHER CREATE
[49706] E/drv.ft6146 tp_init: ft6146 id_H=64
[49728] E/drv.ft6146 tp_init: ft6146 id_L=56
[50180] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[50206] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[50231] I/APP.SCHE watch: page[app_weather][root] do ONRESUME, 200486e0
[50259] D/[APP_WEATHER] watch: APP WEATHER RESUME
[50279] I/APP.SCHE watch: Try setup trans-anim
[50297] I/APP.SCHE watch: Trans-anim is OFF, skip.
[50316] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[50339] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[50362] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[50386] D/APP.SCHE watch: app_schedule_task done.

[10:11:52.493]收←◆[71252] I/ble_cm mbox: read_bond_infor_from_flash: 1
le p256 nvds get 0
le p256 nvds get 0
app addr nvds get 1
[71576] I/sibles KE_EVT2:
BLE ready!

[71593] I/btcomm KE_EVT2: Clear mask 1
act num:0
set cmd 0x91, stop_status:0, msg_status:2
act num:0
set cmd 0x91, stop_status:0, msg_status:2
act num:0
set cmd 0x91, stop_status:0, msg_status:1
[71692] D/BLE_GAP KE_EVT2: evt 5, ret 0

[71712] D/ble_main ble_main: Init MTU:500
[71734] D/BLE_GAP KE_EVT2: evt 145, ret 0

[71755] D/ble_main ble_main: BLE SERVICE BASE
[71777] I/sibles KE_EVT2: status=0, start_handle=0x21
[71799] I/ble_battery ble_main: battery service (0x180F) registered, lvl=100
[71840] I/sibles KE_EVT2: status=0, start_handle=0x25
[71864] I/sibles KE_EVT2: status=0, start_handle=0x50
[71888] I/sibles KE_EVT2: status=0, start_handle=0x5a
[71921] I/ble_main ble_main: receive BLE power on! 2

[71960] D/BLE_GAP KE_EVT2: evt 160, ret 0

[71982] I/NO_TAG KE_EVT2: Sibles ADV start 0!

[72041] D/BLE_GAP KE_EVT2: evt 169, ret 0

[72067] D/BLE_GAP KE_EVT2: evt 170, ret 0

[72090] D/BLE_GAP KE_EVT2: evt 164, ret 0

[72111] I/ble_main KE_EVT2: ADV start resutl 0, mode 0

[72236] D/BLE_GAP KE_EVT2: evt 160, ret 0

[72257] I/NO_TAG KE_EVT2: Sibles ADV start 1!

[72312] D/BLE_GAP KE_EVT2: evt 169, ret 0

[72336] D/BLE_GAP KE_EVT2: evt 164, ret 0

[72355] I/ble_main KE_EVT2: Broadcast ADV start resutl 0, mode 2

ch[7]voltage=43489;

[10:11:52.568]收←◆ch[7]voltage=42959;

[10:11:52.600]收←◆ch[7]voltage=43148;
[75030] D/battery_monitor bat_mon: battery volt=4.319V percent=100%
[75063] D/NO_TAG watch: update_battery_level
[75081] D/NO_TAG watch: update_battery_level 100

[10:11:53.524]收←◆[105017] D/[HW_BUTTON] timer: button:34,0
[105034] D/[HW_BUTTON] timer: BUTTON_PRESSED

[10:11:53.681]收←◆[110197] D/[HW_BUTTON] timer: button:34,3
[110213] D/[HW_BUTTON] timer: BUTTON_CLICKED
[110231] D/[HW_BUTTON] timer: button:34,1
[110247] D/[HW_BUTTON] timer: BUTTON_RELEASED
[110328] D/NO_TAG watch: return_main_page_by_button
[110350] D/APP.FWK watch: send msg[GUI_APP_MSG_RUN_APP] [app_icons] to gui_app_mbx tick:3314.
[110386] I/APP.FWK.INT watch: [app_icons]
[110403] I/APP.FWK watch: gui_app_run: id:app_icons, err:0

[10:11:53.728]收←◆[111738] D/APP.SCHE watch: ----------------app_schedule_task---------------start
[111768] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_RUN_APP] tick:3314
[111796] I/APP.SCHE watch: app[app_icons] do LOAD, 20045b48
[111819] I/APP.FWK watch: finding app_icons in builtin apps…
[111844] D/APP.SCHE watch: app[app_icons] tgt_state [LAUNCHED] → [RUNNING]
[111873] I/APP.SCHE watch: app[app_icons] do START, 20045b48
[111896] I/APP.FWK.INT watch: [app_icons]
[111914] D/APP.FWK watch: send msg[GUI_APP_MSG_OPEN_PAGE] [0x20045b48] to gui_app_mbx tick:3362.
[111950] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[111973] D/APP.SCHE watch: running apps idx[1]:[app_weather].
[111997] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[112021] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[112045] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_OPEN_PAGE] tick:3362
[112073] D/APP.SCHE watch: app[app_icons] create page[root] 20045aac
[112099] D/APP.SCHE watch: page[app_icons][root] tgt_state [CREATED] → [RESUMED]
[112130] D/APP.SCHE watch: Pause all app, and resume to app_icons app
[112156] D/APP.SCHE watch: page[app_weather][root] tgt_state [RESUMED] → [PAUSED]
[112187] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[112211] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[112234] I/APP.SCHE watch: page[app_weather][root] do ONPAUSE, 200486e0
[112276] I/APP.SCHE watch: page[app_icons][root] do ONSTART, 20045aac
[112303] D/[APP_ICONS] watch: APP_ICONS START !
mainmenu_cell_ui_init
[112344] D/[APP_ICONS] watch: APP ICONS REDREW ICONS
[113340] I/[APP_ICONS] watch: app_mainmenu_focus_icon: row 10, col 10
[113482] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[113506] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[113529] D/APP.SCHE watch: running apps idx[0]:[app_weather].
[113553] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[113578] I/APP.SCHE watch: page[app_icons][root] do ONRESUME, 20045aac
[113605] D/[APP_ICONS] watch: APP_ICONS Resume锛?
[113683] I/APP.SCHE watch: Try setup trans-anim
app_anim_buf_alloc: 0x603252f0 index 0 size 351000
[113738] I/APP.ANI watch: buf = 603252f0

[10:11:53.838]收←◆[115334] I/APP.ANI watch: app_trans_animation_obj_create = 20051c60
app_anim_buf_alloc: 0x602cf7d8 index 1 size 351000
[115385] I/APP.ANI watch: buf = 602cf7d8

[10:11:53.877]收←◆[116610] I/APP.ANI watch: app_trans_animation_obj_create = 20051f34
[116639] I/APP.ANI watch: Start free run animation
[116663] I/APP.ANI watch: app_trans_animation_setup end, cost=91ms

[116690] I/APP.SCHE watch: Trans-anim setup done.
[116710] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[116733] D/APP.SCHE watch: running apps idx[1]:[app_weather].
[116756] D/APP.SCHE watch: --Pause app_schedule_task–
[116778] D/APP.SCHE watch: app_schedule_task done.

[10:11:54.185]收←◆[126689] I/APP.ANI watch: free_run_ready 0

[10:11:54.252]收←◆[128920] I/APP.ANI watch: wait_refr_task_cb 0

[128941] I/APP.ANI watch: anim_free_run_ready 0

[128961] I/APP.ANI watch: app_trans_anim_free_run_clean

[128983] I/APP.ANI watch: app_trans_animation_obj_destroy = 20051f34
app_anim_buf_free: 0x602cf7d8
[129023] I/APP.ANI watch: app_trans_animation_obj_destroy = 20051c60
app_anim_buf_free: 0x603252f0
[129074] I/APP.SCHE watch: Trans-anim finish, res=0
[129095] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[129119] D/APP.SCHE watch: running apps idx[1]:[app_weather].
[129142] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[129165] D/APP.SCHE watch: running apps idx[1]:[app_weather].
[129188] D/APP.SCHE watch: --Resume app_schedule_task–

[10:11:56.607]收←◆[206089] I/[APP_ICONS] watch: scroll_throw -1,9
[206124] I/[APP_ICONS] watch: scroll_throw -1,9

[10:11:57.387]收←◆[231619] I/[APP_ICONS] watch: app mainmenu icon clickd: monkey 0

[10:11:57.598]收←◆[238512] I/[APP_ICONS] watch: app mainmenu icon click anim cbk

[238544] D/APP.FWK watch: send msg[GUI_APP_MSG_RUN_APP] [app_emotion] to gui_app_mbx tick:7225.
[238582] I/APP.FWK.INT watch: [app_emotion]
[238599] I/APP.FWK watch: gui_app_run: id:app_emotion, err:0

[10:11:57.642]收←◆[239977] D/APP.SCHE watch: ----------------app_schedule_task---------------start
[240011] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_RUN_APP] tick:7225
[240042] I/APP.SCHE watch: app[app_emotion] do LOAD, 20051b04
[240067] I/APP.FWK watch: finding app_emotion in builtin apps…
[240093] D/APP.SCHE watch: app[app_emotion] tgt_state [LAUNCHED] → [RUNNING]
[240123] I/APP.SCHE watch: app[app_emotion] do START, 20051b04
[240149] I/APP.FWK.INT watch: [app_emotion]
[240169] D/APP.FWK watch: send msg[GUI_APP_MSG_OPEN_PAGE] [0x20051b04] to gui_app_mbx tick:7274.
[240206] D/APP.SCHE watch: running apps idx[0]:[app_emotion].
[240230] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[240254] D/APP.SCHE watch: running apps idx[2]:[app_weather].
[240277] D/APP.SCHE watch: running apps > MAX_RUNNING_APPS.
[240300] D/APP.SCHE watch: running apps:3 > MAX_RUNNING_APPS 2.
[240325] D/APP.SCHE watch: app_suspend [app_weather]
[240345] D/APP.SCHE watch: page[app_weather][root] tgt_state [PAUSED] → [STOPED]
[240376] D/APP.SCHE watch: app[app_weather] tgt_state [RUNNING] → [SUSPEND]
[240406] I/APP.SCHE watch: page[app_weather][root] do ONSTOP, 200486e0
[240436] D/[APP_WEATHER] watch: WEATHER DESTROY
[240502] D/APP.SCHE watch: app[app_weather] remove&free page[root] 200486e0
[240531] I/APP.SCHE watch: app[app_weather] do SUSPEND, 2004877c
[240556] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[240579] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[240603] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[240625] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[240649] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[240671] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[240695] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_OPEN_PAGE] tick:7274
[240724] D/APP.SCHE watch: app[app_emotion] create page[root] 200486ac
[240751] D/APP.SCHE watch: page[app_emotion][root] tgt_state [CREATED] → [RESUMED]
[240782] D/APP.SCHE watch: Pause all app, and resume to app_emotion app
[240809] D/APP.SCHE watch: page[app_icons][root] tgt_state [RESUMED] → [PAUSED]
[240840] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[240863] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[240886] I/APP.SCHE watch: page[app_icons][root] do ONPAUSE, 20045aac
[240923] I/APP.SCHE watch: page[app_emotion][root] do ONSTART, 200486ac
ui_titlegroup_create
ui_titlegroup_create title
ui_titlegroup_create subtitle
ui_titlegroup_create finish
[241230] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[241255] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[241279] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[241302] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[241328] I/APP.SCHE watch: page[app_emotion][root] do ONRESUME, 200486ac
[241355] D/[APP_EMOTION] watch: Emotion: Resume
[241374] I/APP.SCHE watch: Try setup trans-anim
app_anim_buf_alloc: 0x603252f0 index 0 size 351000
[241426] I/APP.ANI watch: buf = 603252f0

[10:11:57.720]收←◆[242515] I/APP.ANI watch: app_trans_animation_obj_create = 20052020
app_anim_buf_alloc: 0x602cf7d8 index 1 size 351000
[242565] I/APP.ANI watch: buf = 602cf7d8

[10:11:57.771]收←◆[244214] I/APP.ANI watch: app_trans_animation_obj_create = 200542c8
[244243] I/APP.ANI watch: Start free run animation
[244267] I/APP.ANI watch: app_trans_animation_setup end, cost=87ms

[244294] I/APP.SCHE watch: Trans-anim setup done.
[244314] D/APP.SCHE watch: running apps idx[0]:[app_emotion].
[244338] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[244361] D/APP.SCHE watch: --Pause app_schedule_task–
[244383] D/APP.SCHE watch: app_schedule_task done.

[10:11:58.106]收←◆[255181] I/APP.ANI watch: free_run_ready 0

[10:11:58.173]收←◆[257352] I/APP.ANI watch: wait_refr_task_cb 0

[257373] I/APP.ANI watch: anim_free_run_ready 0

[257392] I/APP.ANI watch: app_trans_anim_free_run_clean

[257415] I/APP.ANI watch: app_trans_animation_obj_destroy = 200542c8
app_anim_buf_free: 0x602cf7d8
[257455] I/APP.ANI watch: app_trans_animation_obj_destroy = 20052020
app_anim_buf_free: 0x603252f0
[257507] I/APP.SCHE watch: Trans-anim finish, res=0
[257528] D/APP.SCHE watch: running apps idx[0]:[app_emotion].
[257552] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[257575] D/APP.SCHE watch: running apps idx[0]:[app_emotion].
[257599] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[257622] D/APP.SCHE watch: --Resume app_schedule_task–

[10:11:59.311]收←◆[294663] D/[HW_BUTTON] timer: button:34,0
[294683] D/[HW_BUTTON] timer: BUTTON_PRESSED

[10:11:59.477]收←◆[300107] D/[HW_BUTTON] timer: button:34,3
[300123] D/[HW_BUTTON] timer: BUTTON_CLICKED
[300142] D/[HW_BUTTON] timer: button:34,1
[300158] D/[HW_BUTTON] timer: BUTTON_RELEASED
[300176] D/NO_TAG watch: return_main_page_by_button
[300199] D/APP.FWK watch: send msg[GUI_APP_MSG_RUN_APP] [app_icons] to gui_app_mbx tick:9105.
[300235] I/APP.FWK.INT watch: [app_icons]
[300251] I/APP.FWK watch: gui_app_run: id:app_icons, err:0
[301255] D/APP.SCHE watch: ----------------app_schedule_task---------------start
[301285] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_RUN_APP] tick:9105
[301313] D/APP.SCHE watch: Found app[app_icons] in running list. Args are -
[301341] D/APP.SCHE watch: - same. Resume it
[301359] D/APP.SCHE watch: Pause all app, and resume to app_icons app
[301386] D/APP.SCHE watch: page[app_emotion][root] tgt_state [RESUMED] → [PAUSED]
[301416] D/APP.SCHE watch: page[app_icons][root] tgt_state [PAUSED] → [RESUMED]
[301448] D/APP.SCHE watch: running apps idx[0]:[app_emotion].
[301471] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[301495] I/APP.SCHE watch: page[app_emotion][root] do ONPAUSE, 200486ac
[301522] D/[APP_EMOTION] watch: Emotion App: pause
[301546] I/APP.SCHE watch: page[app_icons][root] do ONRESUME, 20045aac
[301573] D/[APP_ICONS] watch: APP_ICONS Resume锛?
[301650] I/APP.SCHE watch: Try setup trans-anim
app_anim_buf_alloc: 0x603252f0 index 0 size 351000
[301707] I/APP.ANI watch: buf = 603252f0
[302589] I/APP.ANI watch: app_trans_animation_obj_create = 20057724
app_anim_buf_alloc: 0x602cf7d8 index 1 size 351000
[302641] I/APP.ANI watch: buf = 602cf7d8

[10:11:59.586]收←◆[303700] I/APP.ANI watch: app_trans_animation_obj_create = 20058e5c
[303730] I/APP.ANI watch: Start free run animation
[303753] I/APP.ANI watch: app_trans_animation_setup end, cost=64ms

[303780] I/APP.SCHE watch: Trans-anim setup done.
[303800] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[303823] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[303847] D/APP.SCHE watch: --Pause app_schedule_task–
[303868] D/APP.SCHE watch: app_schedule_task done.

[10:11:59.889]收←◆[313627] I/APP.ANI watch: free_run_ready 0

[10:11:59.958]收←◆[315845] I/APP.ANI watch: wait_refr_task_cb 0

[315866] I/APP.ANI watch: anim_free_run_ready 0

[315886] I/APP.ANI watch: app_trans_anim_free_run_clean

[315909] I/APP.ANI watch: app_trans_animation_obj_destroy = 20058e5c
app_anim_buf_free: 0x602cf7d8
[315948] I/APP.ANI watch: app_trans_animation_obj_destroy = 20057724
app_anim_buf_free: 0x603252f0
[316001] I/APP.SCHE watch: Trans-anim finish, res=0
[316022] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[316045] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[316069] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[316092] D/APP.SCHE watch: running apps idx[1]:[app_emotion].
[316116] D/APP.SCHE watch: --Resume app_schedule_task–

[10:12:01.339]收←◆[361127] I/[APP_ICONS] watch: app mainmenu icon clickd: monkey 0

[10:12:01.556]收←◆[368196] I/[APP_ICONS] watch: app mainmenu icon click anim cbk

[368227] D/APP.FWK watch: send msg[GUI_APP_MSG_RUN_APP] [blood_oxygen] to gui_app_mbx tick:11180.
[368266] I/APP.FWK.INT watch: [blood_oxygen]
[368285] I/APP.FWK watch: gui_app_run: id:blood_oxygen, err:0

[10:12:01.598]收←◆[369618] D/APP.SCHE watch: ----------------app_schedule_task---------------start
[369651] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_RUN_APP] tick:11180
[369682] I/APP.SCHE watch: app[blood_oxygen] do LOAD, 20057724
[369706] I/APP.FWK watch: finding blood_oxygen in builtin apps…
[369732] D/APP.SCHE watch: app[blood_oxygen] tgt_state [LAUNCHED] → [RUNNING]
[369763] I/APP.SCHE watch: app[blood_oxygen] do START, 20057724
[369788] I/APP.FWK.INT watch: [blood_oxygen]
[369808] D/APP.FWK watch: send msg[GUI_APP_MSG_OPEN_PAGE] [0x20057724] to gui_app_mbx tick:11228.
[369846] D/APP.SCHE watch: running apps idx[0]:[blood_oxygen].
[369870] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[369893] D/APP.SCHE watch: running apps idx[2]:[app_emotion].
[369917] D/APP.SCHE watch: running apps > MAX_RUNNING_APPS.
[369940] D/APP.SCHE watch: running apps:3 > MAX_RUNNING_APPS 2.
[369965] D/APP.SCHE watch: app_suspend [app_emotion]
[369985] D/APP.SCHE watch: page[app_emotion][root] tgt_state [PAUSED] → [STOPED]
[370016] D/APP.SCHE watch: app[app_emotion] tgt_state [RUNNING] → [SUSPEND]
[370046] I/APP.SCHE watch: page[app_emotion][root] do ONSTOP, 200486ac
[370073] D/[APP_EMOTION] watch: Emotion: Destroy
[370144] D/APP.SCHE watch: app[app_emotion] remove&free page[root] 200486ac
[370175] I/APP.SCHE watch: app[app_emotion] do SUSPEND, 20051b04
[370203] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370226] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370250] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370273] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370297] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370320] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370344] I/APP.SCHE watch: >>Execute msg[GUI_APP_MSG_OPEN_PAGE] tick:11228
[370374] D/APP.SCHE watch: app[blood_oxygen] create page[root] 200486ac
[370401] D/APP.SCHE watch: page[blood_oxygen][root] tgt_state [CREATED] → [RESUMED]
[370433] D/APP.SCHE watch: Pause all app, and resume to blood_oxygen app
[370460] D/APP.SCHE watch: page[app_icons][root] tgt_state [RESUMED] → [PAUSED]
[370491] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370514] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370538] I/APP.SCHE watch: page[app_icons][root] do ONPAUSE, 20045aac
[370575] I/APP.SCHE watch: page[blood_oxygen][root] do ONSTART, 200486ac
[370640] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370664] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370688] D/APP.SCHE watch: running apps idx[0]:[app_icons].
[370711] D/APP.SCHE watch: running apps idx[1]:[blood_oxygen].
[370736] I/APP.SCHE watch: page[blood_oxygen][root] do ONRESUME, 200486ac
[370765] I/APP.SCHE watch: Try setup trans-anim
app_anim_buf_alloc: 0x603252f0 index 0 size 351000
[370813] I/APP.ANI watch: buf = 603252f0
[371875] I/APP.ANI watch: app_trans_animation_obj_create = 20049120
app_anim_buf_alloc: 0x602cf7d8 index 1 size 351000
[371925] I/APP.ANI watch: buf = 602cf7d8
[372738] I/APP.ANI watch: app_trans_animation_obj_create = 20049328
[372768] I/APP.ANI watch: Start free run animation
[372791] I/APP.ANI watch: app_trans_animation_setup end, cost=61ms

[372818] I/APP.SCHE watch: Trans-anim setup done.

[372838] D/APP.SCHE watch: running apps idx[0]:[blood_oxygen].
[372862] D/APP.SCHE watch: running apps idx[1]:[app_icons].
[372885] D/APP.SCHE watch: --Pause app_schedule_task–
[372907] D/APP.SCHE watch: app_schedule_task done.
Assertion failed at function:rt_free, line number:688 ,((((rt_uint32_t)rmem) & (RT_ALIGN_SIZE - 1)) == 0)
Previous ISR enable 0

Thread Info

     pri  status      sp      top     stack size max used left tick  error

KE_EVT3 10 suspend 0x2004e508 0x2004e604 0x00000400 39% 0x00000011 000

KE_EVT0 25 suspend 0x2004e0f0 0x2004e1ec 0x00000400 25% 0x00000014 000
KE_EVT2 12 suspend 0x2004dcd8 0x2004ddd4 0x00001000 28% 0x00000012 000
tpread 10 suspend 0x2001d4d8 0x2001d5e4 0x00000400 44% 0x00000003 000
lcd_task 12 suspend 0x2001d050 0x2001d1e4 0x00000800 43% 0x00000002 000
bat_mon 28 suspend 0x20033750 0x2003386c 0x00000800 41% 0x00000008 000
ble_main 19 suspend 0x2003ee50 0x2003ef68 0x00005000 03% 0x00000008 000
watch 19 ready 0x200397f8 0x200398f8 0x00006000 16% 0x00000002 000
tshell 20 suspend 0x20045278 0x200453f4 0x00001000 16% 0x0000000a 000
ds_proc 14 suspend 0x2002dae0 0x2002dc08 0x00001000 07% 0x0000000a 000
 21 suspend 0x2002ec48 0x2002ed6c 0x00001000 07% 0x0000000a 000
tidle 31 ready 0x200323f0 0x20032448 0x00000200 22% 0x0000001c 000
timer 4 suspend 0x2001d8e0 0x2001d9e4 0x00000400 76% 0x00000001 000

Mailbox Info

    entry size suspend thread

appfwk 0000 0010 0

ble_app 0000 0008 1:ble_main?

MessageQueue Info

     entry suspend thread

drv_lcd 0000 0

dserv 0000 1:ds_proc
g_dfu_sr 0000 1: 

Mutex Info

       owner  hold suspend thread

tplck (null) 0000 0

ble_flas (null) 0000 0
dserv (null) 0000 0
rtc (null) 0000 0
ulog loc (null) 0000 0
fslock (null) 0000 0
i2c_bus_ (null) 0000 0
i2c_bus_ (null) 0000 0
i2c_bus_ (null) 0000 0
i2c_bus_ (null) 0000 0
spi1 (null) 0000 0

Semaphore Info

     v   suspend thread

wf_sem 001 0

KE 000 1:KE_EVT3
KE 000 1:KE_EVT0
ke_mem_e 001 0
ke_mem_e 001 0
ke_mem_e 001 0
ke_mem_e 001 0
KE 000 1:KE_EVT2
app_sche 001 0
lv_data 001 0
tp_ctrl 001 0
lv_lcd 001 0
sifli 000 0
lcd_msg 000 0
lcd_draw 000 1:lcd_task?
drv_lcd 000 0
btn 001 0
shrx 000 0
epic 001 0
ft6146 000 1:tpread
app_ft_m 001 0
app_mess 001 0
app_imag 001 0
app_imag 001 0
aes_drv 001 0
drv_eDma 001 0
gpadc 001 0
i2c4 000 0
i2c3 000 0
i2c2 000 0
i2c1 000 0
spi1 000 0
heap 001 0
flash2 001 0

Memory Info

total memory: 260572 used memory : 73424 maximum allocated memory: 104344

MemoryHeap Info

      pool size  max used size available size

app_ft_m 400000 72 399928

app_mess 96000 72 95928
app_imag 50000 72 49928
app_imag 2100000 72 2099928

PSP: 0x0x2003982c, MSP: 0x0x20001fe0

sp: 0x20039888

psr: 0x40000000
r00: 0x00000000
r01: 0x00000017
r02: 0x000002af
r03: 0x30000000
r12: 0x120a5661
lr: 0x1208d377
pc: 0x1208d377

fatal error on thread: watch

麻烦帮忙确认一下该现象的原因

You can refer to the crash debugging guide, use trace32 to analyze the crash dump, check the function call stack, or upload the exported crash dump along with the elf. Otherwise, having only log information is too little.

Crash Debugging Guide - SiFli SDK Programming Guide Documentation

PS D:\SiFli-sdk\sifli-sdk\tools> sdk.py crash-dump capture-live --elf “D://SiFi_Watch//V9_DEMO//sf32//qz_watch//project//build_sf32lb52-lchspi-ulp_hcpu//main.elf”

Is this the correct syntax to convert elf to axf?

argument should be a str or an os.PathLike object where fspath returns a str, not ‘NoneType’

I keep getting the above error.

If you get an error, don’t use the command to import, use this method instead

In the dump file, there is no hcpu.axf file.

build_sf32lb52-lchspi-ulp_hcpu:

This also does not have what the documentation and tools require:

How is this hcpu.axf file generated? Or is it automatically generated during the build?

The file hcpu.axf corresponds to main.axf (compiled with Keil) or main.elf (compiled with GCC).

The dump scene is as above; no abnormalities were found. Could you provide further guidance?

The assertion’s meaning appears to be that a wild pointer was freed. Looking at the dump you provided, the call stack shows that it was not rt_free called by yourself, but rather lv_free called internally by LVGL, which then called rt_free. The stack trace suggests that lv_label_set_text() was invoked in an LVGL timer callback, operating on an already destroyed label, causing the crash.

My suspicion: Page deleted → timer still running → callback crashes at lv_label_set_text(old_label, ...).

You can also analyze it yourself. The first image in your dump shows the call stack, reading from bottom to top.