Open Z3ce opened 6 days ago
@Z3ce , please update esp-sr to the latest version and try again.
@sun-xiangyu Ok I tested V1.9.4 and the master branch and this problem still exists
I can not reproduce your issue. I tested the destroy function for mn7_cn using this test code, and it works fine. Could you please try to reproduce your problem based on this code?
OK I think it's a question of where do I call it and let me test it this way
Checklist
How often does this bug occurs?
always
Expected behavior
可以正常释放
Actual behavior (suspected bug)
在调用multinet->destroy 时发生了 assert failed: block_next tlsf_block_functions.h:94 (!block_is_last(block))错误
Error logs or terminal output
Steps to reproduce the behavior
按照下面上下文运行初始化代码后运行销毁部分代码就出现了此问题
Project release version
esp-idf V5.2.1发行版本 esp-adfV2.6发行版本 esp-sr TAGV1.7.1
System architecture
Intel/AMD 64-bit (modern PC, older Mac)
Operating system
Windows
Operating system version
Windows10
Shell
CMD
Additional context
附:初始化部分代码 recorder_sr_cfg_t recorder_sr_cfg = DEFAULT_RECORDER_SR_CFG(); recorder_sr_cfg.afe_cfg.memory_alloc_mode = AFE_MEMORY_ALLOC_MORE_PSRAM; recorder_sr_cfg.afe_cfg.wakenet_init = AUDIO_REC_WAKENET_ENABLE; recorder_sr_cfg.multinet_init = AUDIO_REC_MULTINET_ENABLE; recorder_sr_cfg.afe_cfg.aec_init = RECORD_HARDWARE_AEC; recorder_sr_cfg.afe_cfg.agc_mode = AFE_MN_PEAK_NO_AGC; recorder_sr_cfg.afe_cfg.vad_mode = VAD_MODE_2; recorder_sr_cfg.feed_task_stack = 4 1024; recorder_sr_cfg.fetch_task_stack = 4 1024;
if ((CONFIG_ESP32_S3_KORVO2_V3_BOARD == 1) || (CONFIG_ESP32_S3_DAMENG_VOICE_BOARD == 1)) && (CONFIG_AFE_MIC_NUM == 1)
endif
if AUDIO_REC_SPEECH_CMDS_RESET
endif
sdkconfig.txt 此现象只会在 multinet选择mn7_cn和mn6_cn上出现在mn5q8_cn不会出现