Skip to content
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

Expand BSSL stack #6819

Merged
merged 2 commits into from
Nov 21, 2019
Merged

Expand BSSL stack #6819

merged 2 commits into from
Nov 21, 2019

Conversation

earlephilhower
Copy link
Collaborator

Fixes #6811 which found an issue where connecting to scripts.google.com
would occasionally cause a crash. On inspection, it was found that up
to 5828 bytes of stack were used once in a while, so expand the stack to
5900 bytes to cover this case plus a little extra.

Fixes esp8266#6811 which found an issue where connecting to scripts.google.com
would *occasionally* cause a crash.  On inspection, it was found that up
to 5828 bytes of stack were used once in a while, so expand the stack to
5900 bytes to cover this case plus a little extra.
@earlephilhower earlephilhower added this to the 2.6.2 milestone Nov 21, 2019
@DanielGarc
Copy link

DanielGarc commented Apr 21, 2020

When connecting to mqtt.2030.ltsapis.goog also crashes occasionally, I'm getting a max usage of 6132.
GoogleCloudPlatform/google-cloud-iot-arduino#138 (comment)

Expanding the stack to 6200 works for me.

Edit: Not sure we should expand the stack, I'd be happy to open a PR.

@earlephilhower
Copy link
Collaborator Author

@DanielGarc , please check GIT master. We moved to 6200 bytes a while back:

#define _stackSize (6200/4)

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

Successfully merging this pull request may close these issues.

User exception (panic/abort/assert) after random number of successful requests
2 participants