Closed Bug 1704946 Opened 4 years ago Closed 3 years ago

Linux profiles don't have symbols anymore on recent nightly

Categories

(Core :: Gecko Profiler, defect, P2)

defect

Tracking

()

RESOLVED DUPLICATE of bug 1615066

People

(Reporter: lsalzman, Unassigned)

References

(Blocks 2 open bugs)

Details

After building a recent nightly, I noticed that profiles on Linux no longer have symbols, just raw addresses. This makes it unfortunately difficult to profile, identify, and debug WebRender performance issues right now.

I was previously using the workaround for an issue identified in bug 1615066 related to heap size, but this seems to have no effect anymore. I have tried doing clobber builds, both with the workaround, and without it, cleaning out my mozconfig, etc. and nothing has restored symbols.

I don't know enough about symbolication to help.
One semi-hidden trick to try: MOZ_PROFILER_SYMBOLICATE=1 ./mach run, but it is also hit&miss.

And a tortuous work-around would be to build on Try, with the build-linux-shippable/opt-upload-symbols task, download the binary and run it!
Or run an official Nightly.
(Not good for experimentation of course.)

cc: Florian, do you have some experience/suggestions?
Julien?
Markus would probably know best, but he's very busy elsewhere at the moment.

Severity: -- → S3
Priority: -- → P2

(In reply to Lee Salzman [:lsalzman] from comment #0)

I was previously using the workaround for an issue identified in bug 1615066 related to heap size, but this seems to have no effect anymore. I have tried doing clobber builds, both with the workaround, and without it, cleaning out my mozconfig, etc. and nothing has restored symbols.

From the conversation on Matrix, it still seems to be bug 1615066. The workaround that no longer works is export LDFLAGS=-Wl,--compress-debug-sections=zlib in the mozconfig, but using llvm-strip still worked.

Also the user tried enabling the extra memory for wasm (2GB -> 8GB) but that wasn't enough.

Blocks: wr-perf-tools
No longer blocks: wr-perf
Depends on: 1615066

This should now work by default, without stripping or compressing debug data. Lee, can you confirm if it works for you?

Flags: needinfo?(lsalzman)

Seems to work so far if I remove the compression hack.

Flags: needinfo?(lsalzman)

yay

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