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

aarch64 crash - asking for help #26

Closed
krzysiek6d opened this issue May 23, 2022 · 2 comments
Closed

aarch64 crash - asking for help #26

krzysiek6d opened this issue May 23, 2022 · 2 comments

Comments

@krzysiek6d
Copy link

Hi

During memory profiling with bytehound I encountered crash with bracktrace containing 2 entries:

#0 0x7faf1993fc in gsignal+0xcc from /usr/lib64/libc.so.6+0x323fc
#1 0x7fb33ada8c from /opt/memprof/aarch64/libbytehound.so+0xf5a8c

this leads to

addr2line -e libbytehound.so 0xf5a8c
/root/.cargo/git/checkouts/not-perf-af1a46759dd83df9/51003a4/nwind/src/arch/aarch64_trampoline.s:22

aarch64_trampoline.s from this revision
revision 51003a4 is quite old IMO - but maybe you're aware of some bugs related to that part of code or give a hint how should I debug such issues?

@koute
Copy link
Owner

koute commented May 24, 2022

I would start by trying to profile a toy example - compile some small program and try to profile it and see if it crashes (it might be something your program does in a weird way, or it might be toolchain/system/libc/whetever incompatibility). I'd also try different versions of Bytehound and see if it crashes with all of them. Also try to set MEMORY_PROFILER_USE_SHADOW_STACK to 0 and see if it crashes then.

@krzysiek6d
Copy link
Author

Hi, I suggested this way of checking to my colleagues but did not get a feedback if it's working or not. Anyway thank you very much for this hints. I'm closing this issue since there is no reason to have it opened infinitely ;)
Thanks!

@krzysiek6d krzysiek6d closed this as not planned Won't fix, can't repro, duplicate, stale Jun 13, 2022
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