ESP32-ADF LyraT board运行dueros例程:出现错误 RSP_FILTER: Allocate memory failed,line:57,然后直接进入gdb调试,程序崩溃!

Posts: 1
Joined: Thu Sep 13, 2018 9:04 am

ESP32-ADF LyraT board运行dueros例程:出现错误 RSP_FILTER: Allocate memory failed,line:57,然后直接进入gdb调试,程序崩溃!

Postby shellbingo » Thu Sep 13, 2018 11:59 am

大家好!这边是我在调试ESP32-ADF LyraT board的dueros例程时遇到问题,想请教一下是什么原因?谢谢!

DuerOS3.0 Example
This example shows how to use ADF APIs to connect DuerOS3.0 To run this example you need ESP32 LyraT or compatible board:
Setup Wi-Fi SSID and Password.
Connect speakers or headphone to the board.
Select your DuerOS device profile instead of ADF_APTH/examples/dueros/main/duer_profile. If you don't have a DuerOS device profile, please refer to DuerOS Developer Certification Guide and apply for a DuerOS Developer Account.
DuerOS profile is device unique ID.
This example size of binary image is 1.3MB, please use ADF_APTH/examples/dueros/partitions_singleapp.csv instead of IDF_PATH/components/partition_table/partitions_singleapp.csv.



I (13723) AUDIO_ELEMENT: [resample] AEL_MSG_CMD_RESUME,state:1
I (13724) AUDIO_PIPELINE: Pipeline started
input and output channel must be 1 or 2 channelE (13734) RSP_FILTER: Allocate memory failed,line:57
W (13492,tid:3ffc5f9c) lightduer_events.c( 80): [lightduer_ca] <== event end = 0x40137ebc, timespent = 301
0x40137ebc: duer_engine_data_available at ??:?

I (13760) RSP_FILTER: rsp_filter_close
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
. Exception was unhandled.
Register dump:
PC : 0x4015c527 PS : 0x00060230 A0 : 0x8015b25d A1 : 0x3ffe6290
0x4015c527: resample_close at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./resample/resample.c:602

A2 : 0x00000000 A3 : 0x3ffb6e40 A4 : 0x3f4226e0 A5 : 0x0000001f
A6 : 0x00000001 A7 : 0x00000003 A8 : 0x80086ccc A9 : 0x3ffe6230
A10 : 0x00000032 A11 : 0x3ffe6450 A12 : 0x3ffe6270 A13 : 0x0000000c
A14 : 0x00000000 A15 : 0x00000003 SAR : 0x00000004 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000008 LBEG : 0x40093b31 LEND : 0x40093b41 LCOUNT : 0xfffffffd
0x40093b31: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/strlen.S:84

0x40093b41: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib/libc/machine/xtensa/strlen.S:96

Backtrace: 0x4015c527:0x3ffe6290 0x4015b25a:0x3ffe62b0 0x40133ba5:0x3ffe62d0 0x40134a8b:0x3ffe6300 0x401344cd:0x3ffe6340
0x4015c527: resample_close at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./resample/resample.c:602

0x4015b25a: rsp_filter_close at /home/hugo/esp32/esp-adf/components/esp-adf-libs/esp_codec/filter_resample.c:97

0x40133ba5: audio_element_on_cmd at /home/hugo/esp32/esp-adf/components/audio_pipeline/./audio_element.c:663

0x40134a8b: audio_event_iface_waiting_cmd_msg at /home/hugo/esp32/esp-adf/components/audio_pipeline/./audio_event_iface.c:243 (discriminator 1)

0x401344cd: audio_element_task at /home/hugo/esp32/esp-adf/components/audio_pipeline/./audio_element.c:663

Entering gdb stub now.
$T0b#e6GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=x86_64-build_pc-linux-gnu --target=xtensa-esp32-elf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
Find the GDB manual and other documentation resources online at:
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /home/hugo/esp32/esp-adf/examples/dueros/build/esp_dueros.elf...done.
Remote debugging using /dev/ttyUSB0
resample_close (user_data=0x0) at /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./resample/resample.c:602
602 /Users/maojianxin/duros/esp-adf-libs-source-dev/esp_codec/./resample/resample.c: No such file or directory.
(gdb) q
A debugging session is active.
zc1.png (238.75 KiB) Viewed 99 times
zc.png (215.22 KiB) Viewed 99 times
cuowu.png (154.47 KiB) Viewed 99 times

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest