Skip to content
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

Stack frame address issue in AOT mode #3212

Closed
eloparco opened this issue Mar 8, 2024 · 2 comments
Closed

Stack frame address issue in AOT mode #3212

eloparco opened this issue Mar 8, 2024 · 2 comments

Comments

@eloparco
Copy link
Contributor

eloparco commented Mar 8, 2024

When printing the stack trace in AOT, the first stack frame has address 0x000, e.g.

#00: 0x0000 - $f5
#01: 0x01ac - $f6
#02: 0x01fa - $f7
#03: 0x0265 - $f8
#04: 0x2365 - $f15
#05: 0x0119 - _start

How to reproduce: https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/samples/debug-tools/symbolicate.sh#L18-L23.

It doesn't always happen (with other wasm/aot files), I tried compiling some Rust code and I wasn't getting the problem.

@wenyongh
Copy link
Contributor

wenyongh commented Mar 9, 2024

@eloparco please try #3213.

@eloparco
Copy link
Contributor Author

Thanks for the quick fix, it works now!

#00: 0x0158 - $f5
#01: 0x01ac - $f6
#02: 0x01fa - $f7
#03: 0x0265 - $f8
#04: 0x2365 - $f15
#05: 0x0119 - _start

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

2 participants