Closed Bug 1630340 Opened 5 years ago Closed 5 years ago

Linux Mint builds symbols missing

Categories

(Socorro :: Symbols, defect)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mstange, Assigned: gsvelto)

Details

https://profiler.firefox.com/public/b9ef18c1453fc60ae8dd3281896a1eadd9ce1b10 is a profile of Firefox 75 release from a Linux Mint 19.3 user (originally reported in this reddit thread).

All the libxul symbols in the profile are wrong.

Clicking the Re-symbolicate profile button prints the following warning to the console, among others:
The symbolication API request was not successful for libxul.so/6B45A55CDE42CF87E247C93282AB53310: SymbolsNotFoundError: "The symbol server does not have symbols for libxul.so/6B45A55CDE42CF87E247C93282AB53310."

The info popup of the profile has the following information:
Name: Firefox
Version: 75.0
Update Channel: release
Build ID: 20200403170909
Build Type: Opt

The fact that there's a build ID with a revision should indicate that this is an official build.

This is the PGO build job for 64bit Linux on that push. Task cluster task

I downloaded the target.crashreporter-symbols.zip artifact from that job and looked at the filenames: For libxul.so, it has the two breakpad IDs 7DF72AC4CFC065E480BEE73A7FFA21320 and F4222BCCEF19653F0E742ECCF07AF7860.

Neither of those are 6B45A55CDE42CF87E247C93282AB53310, which is stored in the profile!

What caused this breakpad ID mismatch?

I installed Linux Mint 19.3 Cinnamon in a virtual machine and it comes with Firefox 71 preinstalled. Here's a crash report from that installation: bp-3bbdc8db-a80a-4408-902e-81aef0200415
It has no symbols.

The About Firefox box says "Mozilla Firefox for Linux Mint" "mint - 1.0".

The about:buildconfig page says "Built from https://hg.mozilla.org/releases/mozilla-release/rev/501aef7fe1d9622236600a7e53843d40d163a123"

So I guess distributions make their own builds, give them the official Mozilla look, but we don't put the symbols for those builds on our symbol server?

Component: Gecko Profiler → Symbols
Product: Core → Socorro
Summary: Bad breakpad IDs in linux Firefox release build in this particular profile → No symbols for Linux distribution builds on the mozilla symbol server

Gabriele: Do you know if Linux Mint folks upload symbols files? I don't remember talking to anyone from Linux Mint, but I only recently inherited Symbols.

Flags: needinfo?(gsvelto)

It seems like they generate Firefox symbols (and store them into packages called firefox-mozsymbols) but they don't upload them. I was looking at OpenSUSE this afternoon and they do the same. I'm going to add those packages to my scraping scripts then I'll reach out to both packagers to see if they can upload them on their own from now on.

Flags: needinfo?(gsvelto)
Summary: No symbols for Linux distribution builds on the mozilla symbol server → Linux Mint builgs symbols missing

Thanks!

Is there a list of guidelines for what distributions should do if they want to distribute self-compiled builds with official Firefox branding? Would it make sense to add symbol uploading to those guidelines?

Summary: Linux Mint builgs symbols missing → Linux Mint builds symbols missing
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.