Skip to content

Random crash when making SSL connection. #1927

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
HW-Siew opened this issue Apr 17, 2016 · 1 comment
Closed

Random crash when making SSL connection. #1927

HW-Siew opened this issue Apr 17, 2016 · 1 comment

Comments

@HW-Siew
Copy link

HW-Siew commented Apr 17, 2016

Hi, I experienced some random crashes when trying to establish a SSL connection using NodeMCU.
The following are the decoded error message. I dont really understand what went wrong. Any advice are very much appreciated. Thank you.

0x4022fddf: basic_read at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 1224
0x401006d8: malloc at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266\umm_malloc/umm_malloc.c line 1658
0x4022fc7a: DISPLAY_ALERT at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 2178 (discriminator 3)
:  (inlined by) send_alert at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 1593 (discriminator 3)
0x402301c5: ssl_read at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 266
0x4020a770: optimistic_yield at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/core_esp8266_main.cpp line 43
0x4022fcd6: ssl_free at /Users/igrokhotkov/e/axtls/e1/ssl/tls1.c line 236
0x40206732: ~SSLContext at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 471
:  (inlined by) SSLContext::unref() at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 92
0x40206dd0: WiFiClientSecure::stop() at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\libraries\ESP8266WiFi\src/WiFiClientSecure.cpp line 337
0x40209d15: PubSubClient::connect(char const*, char const*, char const*, char const*, unsigned char, unsigned char, char const*, bool) at C:\Users\HW\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.cpp line 629
0x4020bc21: Print::printNumber(unsigned long, unsigned char) at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/Print.cpp line 226
0x40209d4c: PubSubClient::connect(char const*, char const*, char const*, bool) at C:\Users\HW\Documents\Arduino\libraries\PubSubClient\src/PubSubClient.cpp line 629
0x402046ff: MqttClient::reconnect() at C:\Users\HW\AppData\Local\Temp\builda1c577501961b4e0365618c3762dbe2f.tmp\sketch/MqttClient.cpp line 581
0x4020bcb1: Print::println(int, int) at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/Print.cpp line 174
0x402047a1: MqttClient::loop() at C:\Users\HW\AppData\Local\Temp\builda1c577501961b4e0365618c3762dbe2f.tmp\sketch/MqttClient.cpp line 550
0x40201d52: delay at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/core_esp8266_wiring.c line 53
0x40205461: loop at C:\Users\HW\Documents\Arduino\thingsConnect_v5/Wifi.ino line 39
0x4020a700: loop_wrapper at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/core_esp8266_main.cpp line 43
0x40100958: cont_norm at C:\Users\HW\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.1.0\cores\esp8266/cont.S line 109

@HW-Siew
Copy link
Author

HW-Siew commented Apr 18, 2016

Newest version library seems to fix this already. Thank you so mcuh.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant