-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Crash on soft reset on CLUE #5018
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
@DavePutz noticed:
|
This is the bug I got frustrated chasing. The err_code 7 is invalid parameter from the softdevice but when I break on the add_characteristic call the parameters look ok. I thought this might have been an initialization issue of what we're passing in but I'm not certain it is. I've seen it happen sporadically on start up as well. |
Does this still happen with the latest main? |
I Just re-tested with the current main (commit e9369d5) built with
DEBUG=1. I had to reset
a couple of times, but my Feather nRF52840 Express did mount as CIRCUITPY
and get into the REPL.
However; it was in safe mode with the following message:
CircuitPython core code crashed hard. Whoops!
Attempted heap allocation when VM not running.
A subsequent reset then brought the board into normal operation. I will do
some more testing to see
if more info can be gathered.
…On Wed, Jul 28, 2021 at 7:19 PM Scott Shawcroft ***@***.***> wrote:
Does this still happen with the latest main?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#5018 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AFNJKEQOVWRTE6RSFSVEMF3T2CNB3ANCNFSM5AT6LA5A>
.
|
I can't reproduce this. Jeff, do you want to try it again? |
I checked this again on my ItysBitsy nRF52840 after installing: But note: I am calling now |
CircuitPython version
Code/REPL
Behavior
Description
Load the above code.py. Open the REPL. Hit ctrl-d repeatedly. After a few iterations (almost always fewer than 10) the board will hard-fault.
Additional information
I determined that the problem seems to have been introduced when #4957 was merged.
The text was updated successfully, but these errors were encountered: