Closed
Bug 1414383
Opened 8 years ago
Closed 7 years ago
Symbolication fails when xcode license isn't accepted
Categories
(Core :: Gecko Profiler, enhancement, P1)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla64
| Tracking | Status | |
|---|---|---|
| firefox64 | --- | fixed |
People
(Reporter: Harald, Assigned: canova)
Details
Attachments
(1 file)
Had a fresh installed machine restored from backup Time Machine. Symbolication failed until I saw the terminal output that showed the xcode license errors and agreed to the license.
Comment 1•8 years ago
|
||
I think this is more an Addon bug ?
Comment 2•8 years ago
|
||
Symbolication is handled by the WebExtension API. Here's where we invoke nm:
http://searchfox.org/mozilla-central/rev/af86a58b157fbed26b0e86fcd81f1b421e80e60a/browser/components/extensions/ext-geckoProfiler.js#128-129
That's probably the right place to handle failure.
We would need to test what nm's behavior is when you're in the state where the Xcode license needs to be accepted. It might exit with an error code.
Comment 3•8 years ago
|
||
Cross reference:
Waiting for symbol tables... · Issue #637 · devtools-html/perf.html
<https://github.com/devtools-html/perf.html/issues/637>
Updated•7 years ago
|
Priority: -- → P3
Updated•7 years ago
|
Priority: P3 → P1
Comment 4•7 years ago
|
||
I'm re-prioritizing this as a P1, since this is breaking perf.html for users, which according to that tool is a P1.
Comment 5•7 years ago
|
||
Also, it would be nice to throw a helpful user-facing error message that we could display in the perf.html interface, e.g. something like
throw new Error("Symbolication requires the Xcode command line tools to be installed " +
"and the license accepted. Please run the following from the command " +
"line to accept the xcode license:\n\n" +
"sudo xcodebuild -license");
| Assignee | ||
Updated•7 years ago
|
Assignee: nobody → canaltinova
Status: NEW → ASSIGNED
| Assignee | ||
Comment 6•7 years ago
|
||
Pushed by canaltinova@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/39ca0cb416f9
Return an error if nm requires xcode license to be accepted during symbolication r=mstange
Comment 8•7 years ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox64:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
You need to log in
before you can comment on or make changes to this bug.
Description
•