espressif / esp-dev-kits

Docs, Schematics, Factory Firmwares for ESP Development Kits
Other
345 stars 183 forks source link

web_tts example #45

Closed chegewara closed 1 year ago

chegewara commented 2 years ago

esp-idf: master esp-dev-kit: master board: kaluga

W (2773) wifi:<ba-add>idx:4 (ifx:1, d0:37:45:6c:05:be), tid:7, ssn:18, winSize:64
I (4153) ap_config: sentence = 通过触摸板来控制音频播放音乐。
I (4153) tts_parser: unicode:0x901a -> tong1
I (4153) tts_parser: unicode:0x8fc7 -> guo4
I (4163) tts_parser: unicode:0x89e6 -> chu4
I (4173) tts_parser: unicode:0x6478 -> mo1
I (4173) tts_parser: unicode:0x677f -> ban3
I (4173) tts_parser: unicode:0x6765 -> lai2
I (4183) tts_parser: unicode:0x63a7 -> kong4
I (4183) tts_parser: unicode:0x5236 -> zhi4
I (4193) tts_parser: unicode:0x97f3 -> yin1
I (4193) tts_parser: unicode:0x9891 -> pin2
I (4203) tts_parser: unicode:0x64ad -> bo1
I (4203) tts_parser: unicode:0x653e -> fang4
I (4213) tts_parser: unicode:0x97f3 -> yin1
I (4213) tts_parser: unicode:0x4e50 -> yue4
Guru Meditation Error: Core  0 panic'ed (Memory protection fault). 
Write operation at address 0x00000001 not permitted (INVALID_MEM_TYPE)

Core  0 register dump:
PC      : 0x4008864c  PS      : 0x00060634  A0      : 0x800887a0  A1      : 0x3ffdf950  
0x4008864c: esp_tts_stream_amr at /home/sunxiangyu/esp/speech-synthesis/esp_sr_lib/components/speech_synthesis/esp_tts_chinese/esp_tts.c:315

A2      : 0x3ffd6694  A3      : 0x3ffdf990  A4      : 0x46422538  A5      : 0x190894e0  
A6      : 0x3f00c650  A7      : 0xff000000  A8      : 0x00000009  A9      : 0x00000000  
A10     : 0x00000003  A11     : 0x3f02b734  A12     : 0x3ffdc494  A13     : 0x00000000  
A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x0000001d  EXCCAUSE: 0x00000007  
EXCVADDR: 0x00000000  LBEG    : 0x3ffdc494  LEND    : 0x00000000  LCOUNT  : 0x40023398  
0x40023398: xt_highint4 at /home/chegewara/esp/master/components/esp_system/port/soc/esp32s2/highint_hdl.S:58

Backtrace:0x40088649:0x3ffdf9500x4008879d:0x3ffdf970 0x40087c9b:0x3ffdf990 0x40087bcc:0x3ffdf9c0 0x400b522f:0x3ffdfbe0 0x400b4339:0x3ffdfc20 0x400b43d8:0x3ffdfcb0 0x400b4972:0x3ffdfcd0 0x400b346a:0x3ffdfcf0 0x400fa067:0x3ffdfd10 0x400b36c7:0x3ffdfd30 0x400b372f:0x3ffdfd80 0x4002dbf1:0x3ffdfda0 
0x40088649: esp_tts_stream_amr at /home/sunxiangyu/esp/speech-synthesis/esp_sr_lib/components/speech_synthesis/esp_tts_chinese/esp_tts.c:315

0x4008879d: esp_tts_stream_play at /home/sunxiangyu/esp/speech-synthesis/esp_sr_lib/components/speech_synthesis/esp_tts_chinese/esp_tts.c:382

0x40087c9b: tts_output_chinese at /home/chegewara/demos/esp-dev-kits/esp32-s2-kaluga-1/examples/web_tts/build/../main/chinese_tts.c:30 (discriminator 1)

0x40087bcc: setting_handler at /home/chegewara/demos/esp-dev-kits/esp32-s2-kaluga-1/examples/web_tts/build/../main/app_httpd.c:83

0x400b522f: httpd_uri at /home/chegewara/esp/master/components/esp_http_server/src/httpd_uri.c:329

0x400b4339: httpd_parse_req at /home/chegewara/esp/master/components/esp_http_server/src/httpd_parse.c:659 (discriminator 15)

0x400b43d8: httpd_req_new at /home/chegewara/esp/master/components/esp_http_server/src/httpd_parse.c:784

0x400b4972: httpd_sess_process at /home/chegewara/esp/master/components/esp_http_server/src/httpd_sess.c:412 (discriminator 15)

0x400b346a: httpd_process_session at /home/chegewara/esp/master/components/esp_http_server/src/httpd_main.c:178 (discriminator 15)

0x400fa067: httpd_sess_enum at /home/chegewara/esp/master/components/esp_http_server/src/httpd_sess.c:50 (discriminator 1)

0x400b36c7: httpd_server at /home/chegewara/esp/master/components/esp_http_server/src/httpd_main.c:228

0x400b372f: httpd_thread at /home/chegewara/esp/master/components/esp_http_server/src/httpd_main.c:250 (discriminator 15)

0x4002dbf1: vPortTaskWrapper at /home/chegewara/esp/master/components/freertos/port/xtensa/port.c:130
Lzw655 commented 1 year ago

Sorry for not responding to your question in a timely manner! Since this problem has lost its time, I will close it after a week. If you still need to solve this problem, please leave a comment or open a new issue, thank you!