pcbreflux / espressif

all espressif stuff will committed here
GNU General Public License v3.0
594 stars 441 forks source link

Some ssl handshake error #14

Open jaggi opened 7 years ago

jaggi commented 7 years ago

Hii,I am facing some problem in the mqtt_secure_publish,can you help me to solve this issue..

Rebooting... ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT) configsip: 0, SPIWP:0xee clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00 mode:DIO, clock div:2 load:0x3fff0008,len:8 load:0x3fff0010,len:3420 ho 0 tail 12 room 4 load:0x40078000,len:10384 load:0x40080000,len:252 entry 0x40080034 I (2160) wifi: wifi firmware version: 72ddf26 I (2160) wifi: config NVS flash: enabled I (2160) wifi: config nano formating: disabled I (2180) wifi: Init dynamic tx buffer num: 32 I (2180) wifi: Init dynamic rx buffer num: 32 I (2180) wifi: wifi driver task: 3ffbd778, prio:23, stack:4096 I (2180) wifi: Init static rx buffer num: 10 I (2190) wifi: Init dynamic rx buffer num: 32 I (2190) wifi: Init rx ampdu len mblock:7 I (2200) wifi: Init lldesc rx ampdu entry mblock:4 I (2200) wifi: wifi power manager task: 0x3ffc2b40 prio: 21 stack: 2560 I (2210) MQTTS: Setting WiFi configuration SSID Redmi... I (2210) wifi: wifi timer task: 3ffc3bc0, prio:22, stack:3584 I (2250) wifi: mode : sta (24:0a:c4:05:a8:84) I (2370) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1 I (3020) wifi: state: init -> auth (b0) I (4020) wifi: state: auth -> init (2) I (4020) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1 I (4140) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1 I (4150) wifi: state: init -> auth (b0) I (4150) wifi: state: auth -> assoc (0) I (4170) wifi: state: assoc -> run (10) I (4180) wifi: connected with Redmi, channel 1 I (5160) MQTTS: Connected to AP I (5160) MQTTS: Start MQTT Task ... I (5160) MQTTS: NetworkConnect mqtt.thingspeak.com:443 ... I (5170) MQTTmbedtls: Connecting to mqtt.thingspeak.com:443... I (5620) MQTTmbedtls: Connected. Guru Meditation Error of type LoadProhibited occurred on core 0. Exception was unhandled. Register dump: PC : 0x40084a9a PS : 0x00060033 A0 : 0x400860c7 A1 : 0x3ffaf700
A2 : 0x00050023 A3 : 0x00000000 A4 : 0x3ffb2dac A5 : 0x3ffb2dac
A6 : 0x00000001 A7 : 0x00060520 A8 : 0x00000005 A9 : 0x00000000
A10 : 0x3ffb1314 A11 : 0x00060123 A12 : 0x3ffb2e18 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000001b EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000000c LBEG : 0x00000000 LEND : 0x00000000 LCOUNT : 0x00000000

Backtrace: 0x40084a9a:0x3ffaf700 0x400860c4:0x3ffaf720 0x4008607e:0x40081925

AmrutaCh commented 6 years ago

For future reference, if anyone needs, this issue is due to reading invalid memory location like already freed pointer.