Closed Bug 1403226 Opened 7 years ago Closed 7 years ago

Unable to download debugging symbols for Firefox on ArchLinux

Categories

(Socorro :: Symbols, task)

Unspecified
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED INCOMPLETE

People

(Reporter: robwu, Unassigned)

Details

According to bug 1383023 (and confirmed in e-mail), the symbol server receives symbols of Firefox builds for ArchLinux (https://www.archlinux.org/packages/extra/x86_64/firefox/). I wanted to debug unusual crashes of Firefox 55.0.3 (build ID 20170826053331), and followed the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Using_the_Mozilla_symbol_server#Downloading_symbols_on_Linux_Mac_OS_X to get the symbols, as follows: 1. I downloaded symbols.py from https://gist.github.com/luser/193572147c401c8a965c 2. I modified symbols.py as follows: - print error instead of ignoring it at https://gist.github.com/luser/193572147c401c8a965c#file-symbols-py-L59 - Call fetch_symbols() at the end of the script, to start fetching all symbols as soon as the script is loaded. 3. Run gdb -ex 'source symbols.py' /usr/lib/firefox/firefox firefox.core (this core dump was generated from a dmp file with minidump-2-core from Breakpad) I am however not seeing any symbols in the output directory ( ~/.cache/gdb/ ). The print statements show that the requested resource cannot be found (HTTP 404). For example: https://s3-us-west-2.amazonaws.com/org.mozilla.crash-stats.symbols-public/v1/libxul.so/CEFAA78BB3A63DBF5D63192E9E36B3520/libxul.so.dbg.gz I also tried https://hg.mozilla.org/users/jwatt_jwatt.org/fetch-symbols/file/tip/fetch-symbols.py (rev 27a61dd0bcab) as suggested as an alternative at the MDN page, but that did not yield any symbols either. How can I get the debug symbols for Firefox on ArchLinux?
If the Arch Linux maintainers aren't uploading full symbol packages then we won't have those symbols on the symbol server. It looks like Jan Steffens is the person who's doing that. Jan: when uploading symbols, are you uploading the crashreporter-symbols.zip or the crashreporter-symbols.full.zip? The former just contains the .sym files used for processing minidumps on crash-stats, the latter also includes the stripped-off DWARF for use with a debugger.
Flags: needinfo?(jan.steffens)
Yes, we were indeed submitting the reduced archive. I've changed our code so that the next releases will upload the full archive.
Flags: needinfo?(jan.steffens)
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.