Closed Bug 1518254 Opened 7 years ago Closed 7 years ago

Symbolication no longer works on Windows

Categories

(Tecken :: General, task)

task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jrmuizel, Assigned: peterbe)

Details

Attachments

(1 file)

I noticed this on two different machines today. The profiles just get xul.dll and addresses: https://perfht.ml/2VBiUzi

I'm getting a bunch of "The symbolication API request was not successful for xul.pdb/3F74EC5B36CBB0170D6584A234CD13A31: SymbolsNotFoundError: "There was a problem with the JSON returned by the symbolication API." type errors.

Minimal STR:

Using curl from with a Mac library:

curl 'https://symbols.mozilla.org/symbolicate/v5' \
--data '{"memoryMap":[["libGLImage.dylib","B5464F1AB9363BEE97CF3806AD1A9E680"]],"stacks":[[[0,27278]]]}'

Response:

{"results":[{"stacks":[[{"module_offset":"0x6a8e","module":"libGLImage.dylib","frame":0}]],"found_modules":{"libGLImage.dylib\/B5464F1AB9363BEE97CF3806AD1A9E680":false}}]}

Using curl with a Windows library:

curl 'https://symbols.mozilla.org/symbolicate/v5' \
--data '{"memoryMap":[["xul.pdb","7F0A9D9E05F2045B2ACDE186459DCDFC1"]],"stacks":[[[0,20825192]]]}'

Response:

{"error": "Internal Server Error"}

Hey Peter, this looks like something that's going on with symbols.mozilla.org. Do you have any ideas?

Component: Gecko Profiler → Symbols
Flags: needinfo?(peterbe)
Product: Core → Socorro

(In reply to Greg Tatum [:gregtatum] from comment #3)

Hey Peter, this looks like something that's going on with symbols.mozilla.org. Do you have any ideas?

I made a release today. It contained various rather uninteresting python (and some frontend) upgrades.

The error is: ValueError: 204599 exceeds max_array_len(131072)
https://sentry.prod.mozaws.net/operations/symbols-prod/issues/5100624/

I'll try to figure it out. Tomorrow.

Flags: needinfo?(peterbe)
Assignee: nobody → peterbe
Component: Symbols → Tecken Integration

I can reproduce it locally. The problem is that msgpack.unpackb() can't turn this stream of bytes into a list of integers.

I and override this by using msgpack.loads(stream, max_array_len=2**32 - 1).

If I do that I discover that there are 204,599 valid keys in the xul.pdb/7F0A9D9E05F2045B2ACDE186459DCDFC1/xul.sym file which I suspect isn't the first time but the first time we've tried to use extract it from the cache.

Opting for simplest and most brutal solution for now.

Fixed with https://github.com/mozilla-services/tecken/pull/1463 but I'll close this issue once that goes out to Prod.

This was not working before. Now it does.

Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED

Thanks so much Peter for the help!

Moving from Socorro product to Tecken product.

Component: Tecken → General
Product: Socorro → Tecken
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: