after upgrading to esp-idf v3.3 and using the built-in mqtt client, I run into errors
Code: Select all
I (7843) main.c: Start mqtt
I (7863) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400014dc PS : 0x00060030 A0 : 0x801090bb A1 : 0x3ffbb670
A2 : 0x00000005 A3 : 0x00000001 A4 : 0x000000ff A5 : 0x0000ff00
A6 : 0x00ff0000 A7 : 0xff000000 A8 : 0x00000001 A9 : 0x00000000
A10 : 0x3ffdb3e4 A11 : 0x4011e4e0 A12 : 0x4011e6b8 A13 : 0x4011e630
0x4011e4e0: ssl_connect_async at /home/esp32/esp-idf/components/tcp_transport/transport_ssl.c:162
0x4011e6b8: ssl_read at /home/esp32/esp-idf/components/tcp_transport/transport_ssl.c:162
0x4011e630: ssl_write at /home/esp32/esp-idf/components/tcp_transport/transport_ssl.c:162
A14 : 0x4011e610 A15 : 0x4011e5b4 SAR : 0x00000000 EXCCAUSE: 0x0000001c
0x4011e610: ssl_close at /home/esp32/esp-idf/components/tcp_transport/transport_ssl.c:162
0x4011e5b4: ssl_poll_read at /home/esp32/esp-idf/components/tcp_transport/transport_ssl.c:162
EXCVADDR: 0x00000005 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffe5f
ELF file SHA256: b3ef058d7361ad3e0dfa06adbc744f01491c527b40b0235bd1d1132f7116e347
Backtrace: 0x400014dc:0x3ffbb670 0x401090b8:0x3ffbb680 0x401077bd:0x3ffbb6b0 0x40106f1e:0x3ffbb730 0x400d0b3a:0x3ffbb750 0x40093da9:0x3ffbb770
0x401090b8: esp_mqtt_client_init at /home/esp32/esp-idf/components/mqtt/esp-mqtt/mqtt_client.c:951
0x401077bd: mqtt_start at /home/esp32/JellingStone/main/mqtt.c:94
0x40106f1e: app_main at /home/esp32/JellingStone/main/main.c:116
0x400d0b3a: main_task at /home/esp32/esp-idf/components/esp32/cpu_start.c:530
0x40093da9: vPortTaskWrapper at /home/esp32/esp-idf/components/freertos/port.c:403
Code: Select all
CONFIG_BTU_TASK_STACK_SIZE=4096
CONFIG_MAIN_TASK_STACK_SIZE=4096
CONFIG_MB_CONTROLLER_STACK_SIZE=4096
Thanks in advance,
Greetz, yanosz