Closed Bug 2080923 Opened 1 month ago Closed 1 month ago

[Perma] toolkit/crashreporter/test/unit/test_crashreporter_appmem.js | single tracking bug

Categories

(Toolkit :: Crash Reporting, defect, P5)

defect

Tracking

()

RESOLVED FIXED
160 Branch
Tracking Status
firefox-esr153 --- unaffected
firefox158 --- unaffected
firefox159 --- unaffected
firefox160 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: florian)

References

(Regression)

Details

(Keywords: intermittent-testcase, regression, Whiteboard: [collect_confirm_failure])

Attachments

(1 external file, 1 obsolete file)

Keywords: regression
Regressed by: 2079736

This failure seemed to reappear due to Bug 2079736, specifically removing the condition in (https://phabricator.services.mozilla.com/D332019#change-JRoOAtLqlpmp). Are we able to add the condition back in?

Flags: needinfo?(florian)
Summary: Intermittent toolkit/crashreporter/test/unit/test_crashreporter_appmem.js | single tracking bug → [Perma] toolkit/crashreporter/test/unit/test_crashreporter_appmem.js | single tracking bug

Set release status flags based on info from the regressing bug 2079736

Assignee: nobody → florian
Status: NEW → ASSIGNED

Its only consumer, the GC stack capture, was removed in bug 1125929.

(In reply to Vineet Deo from comment #1)

Are we able to add the condition back in?

We can add an annotation back (but let's not make it OS version specific!), but this code seems to be dead code, so we could also remove the entire thing. I submitted 2 patches, one adding the annotation that I think could be reviewed quickly, and another one removing all the related code. If that second patch gets reviewed quickly we no longer need the first one.

Flags: needinfo?(florian)
Pushed by fqueze@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/1edcc4b0503b https://hg.mozilla.org/integration/autoland/rev/af2d50b973d1 Only run test_crashreporter_appmem.js where RegisterAppMemory is implemented. r=crashreporting-reviewers,afranchuk
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
Resolution: --- → FIXED
Target Milestone: --- → 160 Branch

(In reply to Florian Quèze [:florian] from comment #5)

(In reply to Vineet Deo from comment #1)

Are we able to add the condition back in?

We can add an annotation back (but let's not make it OS version specific!), but this code seems to be dead code, so we could also remove the entire thing. I submitted 2 patches, one adding the annotation that I think could be reviewed quickly, and another one removing all the related code. If that second patch gets reviewed quickly we no longer need the first one.

I'm OK with getting rid of the whole API for several reasons: we don't use it, using it would pose a problem with regards to data collection (how do we classify registering an unlabelled chunk of memory?) and we can do the same using the crash annotations API but in that case the memory would be at least partially typed and - crucially - it would be labelled and forced to go through our data collection approval process. Florian could you please open a separate bug and move the patch removing the API there so we can review it and land it separately?

Flags: needinfo?(florian)
See Also: → 2081126

Thanks, I moved the code removal patch to bug 2081126.

Flags: needinfo?(florian)

Comment on attachment 9657876 [details]
Bug 2080923 - Remove the unused RegisterAppMemory API. r?#crashreporting-reviewers

Revision D333015 was moved to bug 2081126. Setting attachment 9657876 [details] to obsolete.

Attachment #9657876 - Attachment is obsolete: true
QA Whiteboard: [qa-triage-done-c161/b160]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: