Closed yunhai20092009 closed 6 months ago
Your device is running out of memory that causes the memory allocation failure and system task will fail to feed the watchdog.
You should check your code for memory leaks.
This library is memory leaks free.
After inspected your code, there are incorrectly use of objects that pass to the function by pointer.
You have to follow the examples to avoid dangling pointer issue.
Some objects need to define global as it contains the information or session that used throughout the operation.
The SMTPSession should be defined globally as it contains TCP and SSL sessions and user data that some of this will be used in the callback.
Build tool used:
Board used (ESP32/ESP8266/Arudino):
Other Libraries That are used:
abort() was called at PC 0x4018dcb3 on core 1
Backtrace: 0x400837ed:0x3ffb1970 0x4008e9c5:0x3ffb1990 0x40093d3d:0x3ffb19b0 0x4018dcb3:0x3ffb1a30 0x4018dcfa:0x3ffb1a50 0x4018dc5b:0x3ffb1a70 0x4018dfb2:0x3ffb1a90 0x401002f8:0x3ffb1ab0 0x40100623:0x3ffb1b10 0x401006e8:0x3ffb1b40 0x40100705:0x3ffb1b60 0x400e1fa1:0x3ffb1b80 0x400e7b43:0x3ffb1bc0 0x400ee2e6:0x3ffb1c20 0x400d49fd:0x3ffb1c40 0x400d7061:0x3ffb20e0 0x401071fd:0x3ffb2290
ELF file SHA256: 9fa2c669003baabb
Rebooting... ets Jun 8 2016 00:22:57
Share code snippet to reproduce the issue:
loop interval 10min; one loop: 10 Recipients;every 20s trigger sendEmail0,once trigger sendEmail0 has 4 Recipients;