Crash in bl00mbox_channel_clear
Easy to trigger by compiling the firmware with these options and then attempting to exit Otamatone:
CONFIG_COMPILER_STACK_CHECK_MODE_STRONG=y
CONFIG_HEAP_POISONING_COMPREHENSIVE=y
CONFIG_HEAP_TASK_TRACKING=y
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x420794f1 PS : 0x00060a30 A0 : 0x82079577 A1 : 0x3fcd6580
A2 : 0xfefefefe A3 : 0x3c47d4a4 A4 : 0x00000002 A5 : 0x00000001
A6 : 0x3c47d4a4 A7 : 0x00000000 A8 : 0x820794e0 A9 : 0x3fcd6560
A10 : 0x00000001 A11 : 0x00000004 A12 : 0x00000001 A13 : 0x00000001
A14 : 0x3c47d4a4 A15 : 0x3c41ecd4 SAR : 0x0000001c EXCCAUSE: 0x0000001c
EXCVADDR: 0xfefefefe LBEG : 0x400570e8 LEND : 0x400570f3 LCOUNT : 0x00000000
Backtrace: 0x420794ee:0x3fcd6580 0x42079574:0x3fcd65a0 0x4207960d:0x3fcd65c0 0x420796b6:0x3fcd65e0 0x42032108:0x3fcd6600 0x4201b36a:0x3fcd6620 0x42024025:0x3fcd6640 0x42024179:0x3fcd6660 0x4037e1c3:0x3fcd6680 0x4201b2a3:0x3fcd6720 0x42024025:0x3fcd6790 0x42024179:0x3fcd67b0 0x4037e1c3:0x3fcd67d0 0x4201b2a3:0x3fcd6870 0x42024025:0x3fcd68d0 0x42024179:0x3fcd68f0 0x4037e1c3:0x3fcd6910 0x4201b2a3:0x3fcd69b0 0x42024025:0x3fcd6a20 0x42024179:0x3fcd6a40 0x4037e1c3:0x3fcd6a60 0x4201b2a3:0x3fcd6b00 0x42024025:0x3fcd6b80 0x42024179:0x3fcd6ba0 0x4037e1c3:0x3fcd6bc0 0x4201b2a3:0x3fcd6c60 0x42024025:0x3fcd6ce0 0x42024179:0x3fcd6d00 0x4037e1c3:0x3fcd6d20 0x4201b2a3:0x3fcd6dc0 0x42024025:0x3fcd6e00 0x42024179:0x3fcd6e20 0x4037e1c3:0x3fcd6e40 0x4201b2a3:0x3fcd6ee0 0x42024025:0x3fcd6f60 0x42024179:0x3fcd6f80 0x4037e1c3:0x3fcd6fa0 0x4201b2a3:0x3fcd7040 0x42024025:0x3fcd70c0 0x42024179:0x3fcd70e0 0x4037e1c3:0x3fcd7100 0x4201b2a3:0x3fcd71a0 0x42024025:0x3fcd7200 0x42024179:0x3fcd7220 0x4037e1c3:0x3fcd7240 0x4201b2a3:0x3fcd72e0 0x42024025:0x3fcd7320 0x4037e11a:0x3fcd7340 0x4201b2a3:0x3fcd73e0 0x42024025:0x3fcd7450 0x4037e11a:0x3fcd7470 0x4201b2a3:0x3fcd7510 0x42024025:0x3fcd7550 0x4037e11a:0x3fcd7570 0x4201b2a3:0x3fcd7610 0x42024025:0x3fcd7670 0x4202403a:0x3fcd7690 0
0x420794ee: bl00mbox_channel_disconnect_signal_tx at bl00mbox_user.c:536
0x42079574: bl00mbox_channel_disconnect_signal at bl00mbox_user.c:558
0x4207960d: bl00mbox_channel_delete_bud at bl00mbox_user.c:312 (discriminator 3)
0x420796b6: bl00mbox_channel_clear at bl00mbox_user.c:348
0x42032108: mp_channel_clear at mp_sys_bl00mbox.c:59
0x4201b36a: fun_builtin_1_call at objfun.c:69
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x42024179: mp_call_method_n_kw at runtime.c:711
0x4037e1c3: mp_execute_bytecode at vm.c:1042
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x4037e11a: mp_execute_bytecode at vm.c:957
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x4037e11a: mp_execute_bytecode at vm.c:957
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x4037e11a: mp_execute_bytecode at vm.c:957
0x4201b2a3: fun_bc_call at objfun.c:339
0x42024025: mp_call_function_n_kw at runtime.c:695
0x4202403a: mp_call_function_0 at runtime.c:669
0x00000000: ?? ??:0