Closed Bug 933061 Opened 11 years ago Closed 10 years ago

Install debug packages on Linux build machines for symbolic stack traces for test crashes

Categories

(Infrastructure & Operations Graveyard :: CIDuty, task)

All
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: MatsPalmgren_bugz, Unassigned)

References

Details

Would it be possible to install libc/x11/glib/gtk debug packages to
get symbols in the generated stack traces?

For example: the attached stack trace in bug 932600 would be much more
helpful if it had symbols instead of "libc-2.15.so + 0xdc37f"
and "libxcb.so.1.1.0 + 0x1fff3" etc.
Found in triage.
Component: Other → Platform Support
QA Contact: joduinn → coop
This won't help, because we use Breakpad to get the stack traces, and right now it only uses Breakpad-text-format .sym files. I had a plan to write a custom minidump_stackwalk that could load native debug symbols directly (code is here: http://hg.mozilla.org/users/tmielczarek_mozilla.com/minidump-stackwalk/file/31175cf72d19 ) but I didn't finish it.
Can we use addr2line instead?  (it works fine for me when symbolizing ASAN dumps)
Speaking of ASAN dumps... is there reason we get symbols in some logs:
https://tbpl.mozilla.org/php/getParsedLog.php?id=29972503&tree=Mozilla-Central
but not others?
https://tbpl.mozilla.org/php/getParsedLog.php?id=29117031&tree=Mozilla-Central
(both are 64-bit Ubuntu on m-c running mochitest-1)
This may be useful for stack traces from assertions.
Depends on: 939610
Ted: given comment #2, comment #3, and comment #5, is there sufficient value in releng doing this?
Flags: needinfo?(ted)
No, this wouldn't actually help us with anything in our current testing setup AFAIK. We've never quite figured out a sane way to get useful symbols for system libraries into our test harness crashes.
Flags: needinfo?(ted)
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #7)
> No, this wouldn't actually help us with anything in our current testing
> setup AFAIK. We've never quite figured out a sane way to get useful symbols
> for system libraries into our test harness crashes.

OK, marking as INCOMPLETE until/if we figure out the symbols piece.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → INCOMPLETE
Blocks: 1089995
Blocks: 1114691
Component: Platform Support → Buildduty
Product: Release Engineering → Infrastructure & Operations
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.