-
Notifications
You must be signed in to change notification settings - Fork 1k
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
NSH: startup script crash #12013
Comments
@maxikrie you need to debug the crash looking the function at PC 08009b66 More info: |
@maxikrie |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
I am trying to run a startup script from a SD Card. I have followed the instructions for enabling the startup and everything works in principle however sometimes it crashes.
I created the nsh_romfsimg.sh from an empty rc.sysinit.template and rcS.template contains
The startup script contains
echo hello
Sometimes this crashes with the following output
It seems that there is a stack overflow for the 'sh' command, but I cannot find where the stack is allocated for this.
When I execute the command from the shell after startup (for the case it went through), I haven't yet observed a crash.
Thanks!
Max
The text was updated successfully, but these errors were encountered: