multi-room example fails with "memory exhausted" on ESP32-S3-Korvo-2 V3.0
Posted: Mon Mar 13, 2023 7:40 pm
I built the "multi-room" example using ESP-ADF release/v2.4 and ESP-IDF release/v4.4 and configured it for the ESP32-S3 on the ESP32-S3-Korvo-2 v3 board. I programmed it into the Korvo and the terminal showed "Slave start searching". However, when I press the PLAY or the REC button, I get error messages that say "Memory exhausted" and "Allocate buffer failed".
Thanks!
These errors seem to come from the MP3 decoder module, which does not have source code, so I'm not sure how to troubleshoot this issue. Any ideas on finding out what's wrong?.
.
.
I (2793) MRM_CLIENT: Slave start searching...
I (77889) MRM_EXAMPLE: [ * ] [Play] input key event
I (78798) MRM_CLIENT: slave client task stoped
I (79502) HTTP_STREAM: total_bytes=2994349
I (79502) AUDIO_ELEMENT: [http-0x3fcf0e34] Element task created
I (79607) ESP_DECODER: Detect audio type is MP3
I (79607) MP3_DECODER: MP3 opened
E (79608) MP3_DE_LIB: /builds/adf/esp-adf-libs-source/esp_codec/esp-mp3/src/pvmp3_framedecoder.cpp:692 (pvmp3_InitDecoder): Memory exhausted
E (79619) MP3_DECODER: Allocate buffer failed. (line 294)
E (79625) AUDIO_ELEMENT: [DEC_auto] AEL_STATUS_ERROR_OPEN,-1
I (79631) ESP_AUDIO_TASK: Recv Element[DEC_auto-0x3fcf1608] MSG,type:20000,cmd:8,len:4,status:ESP_ERR_AUDIO_OPEN
E (79642) ESP_AUDIO_TASK: Got element[DEC_auto] error:ESP_ERR_AUDIO_OPEN, stop pipeline[0]
W (79652) AUDIO_ELEMENT: [DEC_auto] audio_element_on_cmd_error,7
I (79658) MP3_DECODER: Closed
W (79661) ESP_AUDIO_TASK: Destroy the old pipeline, ELEMENT OCCUR ERROR
W (79669) AUDIO_ELEMENT: [OUT_iis] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:300
W (79678) AUDIO_ELEMENT: [Audio_forge] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:300
W (79688) ESP_AUDIO_TASK: The old pipeline destroyed, ELEMENT OCCUR ERROR
I (79695) ESP_AUDIO_TASK: Recv Element[IN_raw-0x3fcf1164] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_STOPPED
I (79707) ESP_AUDIO_TASK: Received last pos: 0 bytes
I (79712) ESP_AUDIO_TASK: Recv Element[DEC_auto-0x3fcf1608] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_STOPPED
W (80203) AUDIO_ELEMENT: OUT-[IN_raw] AEL_IO_ABORT
I (80203) ESP_AUDIO_TASK: Recv Element[IN_raw-0x3fcf1164] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_STOPPED
W (80260) AUDIO_ELEMENT: OUT-[IN_raw] AEL_IO_ABORT
I (80261) ESP_AUDIO_TASK: Recv Element[IN_raw-0x3fcf1164] MSG,type:20000,cmd:8,len:4,status:AEL_STATUS_STATE_STOPPED
W (80266) AUDIO_ELEMENT: OUT-[IN_raw] AEL_IO_ABORT
.
.
.
Thanks!