Core Dump Load Prohibited ( irsend )

adyhewitt
Posts: 1
Joined: Sat Jun 27, 2020 2:55 pm

Core Dump Load Prohibited ( irsend )

Postby adyhewitt » Sat Jun 27, 2020 3:01 pm

Hello

im just starting out in this direction and am trying to code an alexa based ir transmitter.

I have got the alexa part coded using fauxmoESP , and i have got a simple irsend loop delay working as well ( the light switches on and off with a five second delay ).

however when i bring the two together is end up with the following

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x400d37ef PS : 0x00060a30 A0 : 0x800d20e5 A1 : 0x3ffcf650
A2 : 0x00000000 A3 : 0x00000000 A4 : 0x3ffba860 A5 : 0x00000001
A6 : 0x00000000 A7 : 0x3ffb1e80 A8 : 0x800885bc A9 : 0x3ffcf610
A10 : 0x00000000 A11 : 0xfffffffc A12 : 0x00000001 A13 : 0x00000001
A14 : 0x00060c20 A15 : 0x00000000 SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x4000c2e0 LEND : 0x4000c2f6 LCOUNT : 0xffffffff

Backtrace: 0x400d37ef:0x3ffcf650 0x400d20e2:0x3ffcf670 0x400d3a42:0x3ffcf690 0x400d3b76:0x3ffcf6c0 0x400d3b8c:0x3ffcf6e0 0x400d3e12:0x3ffcf700 0x40088b7d:0x3ffcf730

PC: 0x400d37ef: AsyncClient::free() at C:\Users\user\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp line 1002
EXCVADDR: 0x00000000

Decoding stack results
0x400d37ef: AsyncClient::free() at C:\Users\user\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp line 1002
0x400d20e2: std::_Function_handler >::_M_invoke(const std::_Any_data &, , ) at C:\Users\user\Documents\Arduino\libraries\xoseperez-fauxmoesp-20956d966a1c\src\fauxmoESP.cpp line 343
0x400d3a42: std::function ::operator()(void*, AsyncClient*) const at c:\users\user\documents\arduinodata\packages\esp32\tools\xtensa-esp32-elf-gcc\1.22.0-80-g6c4433a-5.2.0\xtensa-esp32-elf\include\c++\5.2.0/functional line 2271
0x400d3b76: AsyncClient::_fin(tcp_pcb*, signed char) at C:\Users\user\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp line 907
0x400d3b8c: AsyncClient::_s_fin(void*, tcp_pcb*, signed char) at C:\Users\user\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp line 1214
0x400d3e12: _async_service_task(void*) at C:\Users\user\Documents\Arduino\libraries\AsyncTCP-master\src\AsyncTCP.cpp line 165
0x40088b7d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

this happens when the program tries to run :

irsend.sendNEC(0xFFA25D,32);

it appear that using this command upsets the library for the alexa part .

does anyone happen to know what is wrong ?

ESP_Sprite
Posts: 9020
Joined: Thu Nov 26, 2015 4:08 am

Re: Core Dump Load Prohibited ( irsend )

Postby ESP_Sprite » Sun Jun 28, 2020 8:33 am

Smells like there is a buffer overflow somewhere in your program or one of the libraries... hard to say where, though.

Who is online

Users browsing this forum: No registered users and 95 guests