Closed
Bug 1126987
Opened 9 years ago
Closed 9 years ago
TypeError: frame is null: MarkerDetails.prototype.renderStackTrace
Categories
(DevTools :: Performance Tools (Profiler/Timeline), defect)
Tracking
(firefox39 fixed)
RESOLVED
FIXED
Firefox 39
Tracking | Status | |
---|---|---|
firefox39 | --- | fixed |
People
(Reporter: vporof, Assigned: tromey)
Details
Attachments
(1 file)
3.55 KB,
patch
|
vporof
:
review+
|
Details | Diff | Splinter Review |
Seeing a lot of these. STR: Record while cnn.com is loading. Then click on random markers until you get this error. TypeError: frame is null: MarkerDetails.prototype.renderStackTrace@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/timeline/marker-details.js:182:11 MarkerDetails.prototype.render@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/timeline/marker-details.js:151:1 WaterfallView._onMarkerSelected@chrome://browser/content/devtools/performance/views/details-waterfall.js:121:1 EventEmitter_emit@resource://gre/modules/commonjs/toolkit/loader.js -> resource://gre/modules/devtools/event-emitter.js:137:11 Waterfall.prototype.selectRow@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/timeline/waterfall.js:367:7 Waterfall.prototype._buildMarker/container.onclick@resource://gre/modules/commonjs/toolkit/loader.js -> resource:///modules/devtools/timeline/waterfall.js:330:33
Assignee | ||
Comment 1•9 years ago
|
||
stack.js initializes _lastEventSize to -1, then later in makeEvent does let packet = Array(size - this._lastEventSize).fill(null); This results in a null entry in the frame array that is sent to the client. The simplest fix is to initialize to zero. I have a patch that does this, but I haven't written a test yet.
Assignee: nobody → ttromey
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7d66285e5ca4
Assignee | ||
Updated•9 years ago
|
Attachment #8574816 -
Flags: review?(vporof)
Reporter | ||
Comment 4•9 years ago
|
||
Comment on attachment 8574816 [details] [diff] [review] fix _lastEventSize initialization in stack.js Review of attachment 8574816 [details] [diff] [review]: ----------------------------------------------------------------- Only two big problems in computer science, right?
Attachment #8574816 -
Flags: review?(vporof) → review+
Assignee | ||
Updated•9 years ago
|
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/94b360f64761
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox39:
--- → fixed
Resolution: --- → FIXED
Whiteboard: [fixed-in-fx-team]
Target Milestone: --- → Firefox 39
Comment 7•9 years ago
|
||
Sorry for the spam. Moving bugs to Firefox :: Developer Tools: Performance Tools (Profiler/Timeline). dkl
Component: Developer Tools: Timeline → Developer Tools: Performance Tools (Profiler/Timeline)
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•