-
Notifications
You must be signed in to change notification settings - Fork 7.6k
InstrFetchProhibited/IllegalInstruction on X509 cert verification #861
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
Comments
try with your certificate, not the public key, also enable verbose debug level (in Arduino menu) to see what is happening |
I actually swapped the cert, just didn't rename the variable, in the above. Here's the first few lines showing that:
For verbose debugging, you're talking about tools->core debug level, yes? I put notes for that above. If there's some other way, let me know. |
ok, right
yep, I think just "ESP32 Dev Module" have this option |
FWIW, I read the diffs of #865 and reran. Still failing.
|
@tedder Is this issue still unsolved for you? Do you feel this is a bug in the Arduino core? Can we close this? |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 14 days if no further activity occurs. Thank you for your contributions. |
This stale issue has been automatically closed. Thank you for your contributions. |
Hardware:
Board: Sparkfun dev board, DOIT kit
Core Installation/update date: 10 Nov 2017
IDE name: Arduino IDE
Flash Frequency: 80Mhz
Upload Speed: 115200, 921600
libraries
Description:
X509 certificate connections crash the board with
InstrFetchProhibited
(sparkfun) orIllegalInstruction
(DOIT). It seems maybe this is a cross-core communication issue, given that wifi is on core0 and the code runs on core1?I'm not confident with opening this here nor in Pubsubclient, but I think it fits here much better.
I don't think it's a WDT issue, based on the trace.
Noting #657, as shown in the commit above it isn't the small mem/stack issue in there, also noting pubsubclient #84. Both are similar but I don't think they have the same root cause.
Sketch:
Snippet. I can give a full example if it helps.
Debug Messages:
Sparkfun doesn't have the debug menu, but the DOIT does. However I didn't see any more debugging in the logs even with "core debug level=debug".
errors
first, the decoded exception:
and the guru exception:
The text was updated successfully, but these errors were encountered: