adf rtc_service_start api调用后会panic问题

logly_zhao
Posts: 1
Joined: Fri Jan 24, 2025 6:59 am

adf rtc_service_start api调用后会panic问题

Postby logly_zhao » Sat Feb 08, 2025 7:31 am

idf 4.4.2
esp32-s3
由于是静态库没有源码所以不知道问题出现在什么地方
调用的api:rtc_service_start
当传入的第二个参数使用常量 如 rtc_service_start(av_stream, “udp://12345:password@test.com:6789”) 时无异常
但是当第二个参数使用数组如 char url[128] = {0}; strcpy(url, “udp://12345:password@test.com:6789”);
rtc_service_start(av_stream, url);
之后会报panic:报错信息如下
I (6006) ESP_RTC: [ 4 ] Initialize rtc service
I (6011) ESP_RTC_CORE: esp_rtc ver: 1.1.0 compile date: Jun 8 2023-12:31:34
E (6019) SIP: /builds/adf/esp-adf-libs-source/esp_media_protocols/esp_rtc/esp_rtc_core/esp_rtc_sip/esp_rtc_sip.c:2057 (esp_sip_set_uri): Memory exhausted
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Core 0 register dump:
PC : 0x420693c5 PS : 0x00060e30 A0 : 0x820693f1 A1 : 0x3fcf4020
0x420693c5: rtc_transport_list_clean at /builds/adf/esp-adf-libs-source/esp_media_protocols/esp_rtc/esp_rtc_media/transport/rtc_transport.c:120

A2 : 0x00000000 A3 : 0x00000000 A4 : 0xffffffff A5 : 0x0000000c
A6 : 0x3fcf4050 A7 : 0x00000008 A8 : 0x821382d8 A9 : 0x3fcf3cd0
A10 : 0x000000a5 A11 : 0xffffffff A12 : 0x00000001 A13 : 0x3fcf3ee0
A14 : 0x000000a5 A15 : 0x3fcf3ee0 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400556d5 LEND : 0x400556e5 LCOUNT : 0xfffffffc


Backtrace:0x420693c2:0x3fcf40200x420693ee:0x3fcf4040 0x42065cec:0x3fcf4060 0x42065efa:0x3fcf4090 0x420630d1:0x3fcf40f0 0x4200a53d:0x3fcf4160 0x42009409:0x3fcf41e0 0x42155f9a:0x3fcf4360 0x40381fe9:0x3fcf4380
0x420693c2: rtc_transport_list_clean at /builds/adf/esp-adf-libs-source/esp_media_protocols/esp_rtc/esp_rtc_media/transport/rtc_transport.c:119

Who is online

Users browsing this forum: No registered users and 23 guests