Closed Bug 837273 Opened 13 years ago Closed 4 years ago

Add a control symbol to validate symbolication

Categories

(Core :: Gecko Profiler, task, P3)

x86
macOS
task

Tracking

()

RESOLVED WONTFIX

People

(Reporter: BenWa, Unassigned)

Details

I often see profiles where the symbolication failed. This can happen for many reasons: 1) We get the wrong shared library offsets 2) We mismatch the library we run and the source of our symbols 3) Perhaps we're running with the wrong addr2line like utility If we included an address for a fixed symbol we can validate that this address resolve to say XRE_main and warn the user that the symbolication is invalid. The proper way to do that is to use the library signature but this difficult to do in a portable way.

This still sounds like a good idea.
Markus, what do you think? (I'm re-triaging bugs.)

Severity: normal → N/A
Type: defect → task
Priority: -- → P3

Fun idea, but it doesn't seem necessary these days. 1 is not an issue, 2 is almost never an issue (see bug 773890 comment 7), 3 is not an issue. The only real issue is that we sometimes fall back to getting symbols from a stripped binary. For that issue, https://github.com/mstange/profiler-get-symbols/issues/23 is the better way forward.

Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.