Closed Bug 1907983 Opened 9 months ago Closed 8 months ago

extract_sym_header_data breaks out too early

Categories

(Tecken :: Upload, defect, P3)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: willkg, Assigned: willkg)

Details

Attachments

(1 file)

Over time, we've added additional INFO lines in the symbol file header to capture additional contextual data about the symbol file. Example:

MODULE Mac arm64 C6932EE0F2393548B557F31516EB8BCC0 TestPrintf
INFO CODE_ID C6932EE0F2393548B557F31516EB8BCC
INFO RELEASECHANNEL beta
INFO VERSION 130.0
INFO VENDOR Mozilla
INFO PRODUCTNAME Firefox
INFO BUILDID 20240715153258
INFO GENERATOR mozilla/dump_syms 2.3.3

The problem is that extract_sym_header_data breaks out as soon as it finds a line it doesn't recognize and the only ones it recognizes are MODULE, INFO GENERATOR, and INFO CODE_ID. Thus with the above header, it stops parsing at INFO RELEASECHANNEL and never captures the generator information.

This covers fixing extract_sym_header_data to parse the whole header and capture the generator.

Priority: -- → P3
Assignee: nobody → willkg
Status: NEW → ASSIGNED

This was deployed in bug 1916984 with tag v2024.09.05.

Flags: needinfo?(willkg)

Symbols Server correctly captured the generator on this newly uploaded linux lib symbols file:

https://symbols.mozilla.org/uploads/files/file/64988602

Symbols Server correctly captured all the information on this newly uploaded windows dll symbols file:

https://symbols.mozilla.org/uploads/files/file/64988260

Looks like this is fixed now.

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Flags: needinfo?(willkg)
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: