Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Unable to download .dSYM debug symbols for release build of Firefox

40 views
Skip to first unread message

and...@skybound.ca

unread,
Dec 8, 2017, 9:44:53 PM12/8/17
to
I have been trying to download debug symbols for a release build of Firefox (57.0.1), without success.

I am on a Mac, following the instructions at https://developer.mozilla.org/en-US/docs/Mozilla/Using_the_Mozilla_symbol_server

According to the instructions, the link to the symbol file list should follow this pattern:

https://symbols.mozilla.org/{lowercased:Name}/{lowercased:Name}-{Version}-{Platform}-{BuildID}-symbols.txt

Based on the application.ini file in the Firefox application directory, I constructed the following URL:

https://symbols.mozilla.org/firefox/firefox-57.0.1-Darwin-20171128222554-symbols.txt

But when I open the URL it returns this:

{"error": "Not Found", "path": "/firefox/firefox-57.0.1-Darwin-20171128222554-symbols.txt"}

Thank you for your help. (If this is not the correct forum for this question, please direct me where I should go.)

and...@skybound.ca

unread,
Dec 13, 2017, 12:33:11 PM12/13/17
to
As a follow-up anyone else having the same question, I finally figured out how to download .dSYM symbols (for each module individually) by constructing URLs like this:

https://symbols.mozilla.org/{library}/{uuid}/{library}.dSYM.tar.bz2

Where {library} is the name of a module (such as a .dylib, or XUL) and {uuid} is its unique identifier, which can be obtained by loading the library into lldb like this:

(lldb) target create --no-dependents --arch x86_64 ./XUL
Current executable set to './XUL' (x86_64).
(lldb) image list | grep XUL
[ 0] 554DE31F-AEEF-327E-9D2B-2D6B1E6D0692 0x0000000000000000

Remove the hyphens from the UUID and convert it to lower case, and you end up with a link like this:

https://symbols.mozilla.org/XUL/554de31faeef327e9d2b2d6b1e6d06920/XUL.dSYM.tar.bz2

Ted Mielczarek

unread,
Dec 13, 2017, 3:10:46 PM12/13/17
to tools-...@lists.mozilla.org
Hi Andrew,

Sorry for the delay! We've got a Mozilla company All Hands this week so
most of us were travelling on Monday and then tied up with meetings
when we got here. Those instructions are a little confusing, and we
changed some things about our symbol server such that we're no longer
uploading those index.txt files. The instructions do link to this Python
script, which should still work:
https://hg.mozilla.org/users/jwatt_jwatt.org/fetch-symbols/file/tip/fetch-symbols.py

You can click the "raw" link on the top of that page to get the script
in plain text, or clone that hg repo.

-Ted
> _______________________________________________
> tools-socorro mailing list
> tools-...@lists.mozilla.org
> https://lists.mozilla.org/listinfo/tools-socorro
0 new messages