Skip to content

Parse stack from WDT resets #2

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

Closed
fcouceiro opened this issue Jan 25, 2018 · 3 comments
Closed

Parse stack from WDT resets #2

fcouceiro opened this issue Jan 25, 2018 · 3 comments

Comments

@fcouceiro
Copy link

I'm trying to parse a stack trace dumped from a soft WDT reset and it is throwing this error:
ERROR: Parser not complete!

The content of the file I'm feeding in is:

Soft WDT reset

ctx: sys
sp: 3ffff950 end: 3fffffb0 offset: 01b0

>>>stack>>>
3ffffb00:  3ffffb88 00000000 00000010 401009d7

< collapsed a bunch of lines >

3fffffa0:  40000f49 3fffdab0 3fffdab0 40000f49
<<<stack<<<

I had success decoding other type of exceptions.

Thanks!

@janLo
Copy link
Owner

janLo commented Jan 25, 2018

That is because it is not an Exception, its a Soft WDT reset.

If you have only a stacktrace (without an exception) you can decode it using the --stack_only (or short -s) option.

@fcouceiro
Copy link
Author

Working nicely. Thank you!

@g01d10x
Copy link

g01d10x commented Jun 6, 2020

Hi there, thanks for this python version of the stack trace .. could you please post an example of using the -s option?

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

No branches or pull requests

3 participants