Skip to content

webSocketClient.sendTXT throws Exception 3: LoadStoreError #212

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
ofthesea-io opened this issue Jul 17, 2017 · 2 comments
Closed

webSocketClient.sendTXT throws Exception 3: LoadStoreError #212

ofthesea-io opened this issue Jul 17, 2017 · 2 comments

Comments

@ofthesea-io
Copy link

Hi Links2004

I have the strangest exception being thrown and I'm at a loss.

When I don't have the serial cable plugged in to the NodeMCU 12e, everything works as it should.

The problem only occurs when I have the cable plugged in and trying to monitor the debug information through the serial monitor. I get an exception thrown as soon as I it hits webSocketClient.sendTXT(buffer); method and then exists with - ets Jan 8 2013,rst cause:2, boot mode:(3,6)

image

Im running the firmware on 1.5.4.1-final that I built off of https://nodemcu-build.com/

Arduino 1.8.3 running the stable board manager package from http://arduino.esp8266.com/versions/2.3.0/package_esp8266com_index.json

I wondering if you have come into a scenario like this before?

Thank you in advance

@Links2004
Copy link
Owner

from the function names and the call stack its looks like out of free memory to me.
how big is you buffer and how many RAM is free before your sendFrame call?

@ofthesea-io
Copy link
Author

I think you might be right. I found this article esp8266/Arduino#2557 which explains whats happening. Im probably running out of stack space.

Im running some tests now. Just weird how it only happens when the cable is plugged in.

Just as a disclaimer, I new to c++ so just trying to get my head around this behemoth of a language :-)

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

2 participants