Closed Bug 1586921 Opened 2 years ago Closed 2 months ago

The function name is missing in JS frames of BHR stacks

Categories

(Core :: XPCOM, task)

task
Not set
normal

Tracking

()

RESOLVED FIXED
90 Branch
Tracking Status
firefox90 --- fixed

People

(Reporter: florian, Assigned: florian)

References

Details

Attachments

(1 file)

When collecting a stack that contains JS frames, BHR currently doesn't record the function names. This makes figuring out which JS code was running really hard, as the line numbers are often obviously incorrect (although I can't say for sure in which case they are incorrect and in which case they are believable, as I can't say for sure which code was running in lots of cases).

The relevant code is https://searchfox.org/mozilla-central/rev/b6f088f2f68d2a8ae0b49d6c8fbd7cbd3a65fa5b/toolkit/components/backgroundhangmonitor/ThreadStackHelper.cpp#290-295

Assignee: nobody → florian
Status: NEW → ASSIGNED
Pushed by fqueze@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2d4979717658
Collect chrome function names in BHR stacks, r=dthayer.
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
You need to log in before you can comment on or make changes to this bug.