| Summary: | Valgrind reports errors without full backtrace on arm64 | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Reuben Thomas <rrt> |
| Component: | memcheck | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED NOT A BUG | ||
| Severity: | minor | CC: | pjfloyd, tom |
| Priority: | NOR | ||
| Version First Reported In: | 3.13.0 | ||
| Target Milestone: | --- | ||
| Platform: | Android | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Reuben Thomas
2018-02-15 10:08:00 UTC
I'm sorry, I think I've misunderstood the logs: it's not reporting leaks etc. in vgpreload_memcheck-arm64-linux.so, it's that I would expect a further backtrace, but there isn't anything other than the lines I showed above. Still something odd going on… I mean, specifically, no callers are listed (no "by" lines). That probably means you have stripped all the unwind information from vgpreload_memcheck-arm64-linux.so so valgrind is unable to unwind the stack to the next function. As I said, it's a stock build. So looks like a problem with the Termux build, I'll investigate that. Thanks! (In reply to rrt from comment #5) > I've filed https://github.com/termux/termux-packages/issues/2148 Hi! I fixed some debuginfo reading stuff for arm64-linux recently (within the past month) so it might be worth you trying the git trunk, to see if this still happens. Sorry, I didn't say that a rebuild fixed it; a Termux script (termux-elf-cleaner) used to remove some supposedly unneeded stuff from ELF binaries was found to be the culprit. This seems to have been resolved and was a build environment issue. |