Closed Bug 1427555 Opened 8 years ago Closed 7 years ago

Profiler UI getting stuck on "Waiting for symbol tables for library xul.pdb" on slow internet connections

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: florian, Unassigned)

References

Details

I've been trying (and consistently failing) to capture profiles on a slow laptop in a place where I have a slow Internet connection (about 2Mbps for download). The perf.html UI gets stuck on "Waiting for symbol tables for library xul.pdb…" which means I can't upload the profile because the "Share" button is disabled and replaced with the "Sharing will be enabled once symbolication is complete" message, which never goes away. Looking at the Windows task manager, it seems each time I open a profile, there's network traffic (at a slow rate, likely limited by the speed of the Internet connection here) for about 7 minutes before it drops to 0. From a quick look at the code, I don't see anything containing an obvious timeout for fetching symbols, and https://searchfox.org/mozilla-central/source/browser/components/extensions/ParseBreakpadSymbols-worker.js#11 looks like it's simply using the fetch API. I wonder if it's possible that the fetch() promise never resolves but also never gets rejected. Is it possible that our symbol server stops sending data after a few minutes?
> I wonder if it's possible that the fetch() promise never resolves but also never gets rejected. Is it possible that our symbol server stops sending data after a few minutes? Well, if the promise rejects, we catch it higher and do nothing, see https://searchfox.org/mozilla-central/rev/51cd1093c5c2113e7b041e8cc5c9bf2186abda13/browser/components/extensions/ext-geckoProfiler.js#328-336 IMO we should at least dump something at the console...
Ah my bad, we should throw an error in that case.
See "Symbolicate uploaded profiles with Mozilla's Symbol Server" which will also help with this issue: https://github.com/devtools-html/perf.html/issues/253
Blocks: 1437174
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.