Skip to content

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