Closed Bug 1736766 Opened 3 years ago Closed 3 years ago

DMD doesn't strip some DMD stack frames from its reports

Categories

(Core :: DMD, defect, P1)

x86_64
Linux
defect

Tracking

()

RESOLVED FIXED
95 Branch
Tracking Status
firefox95 --- fixed

People

(Reporter: pbone, Assigned: pbone)

Details

Attachments

(1 file)

Some DMD reports include stack frames that are DMD internals when given the -a flag..

    #01: mozilla::dmd::StackTrace::Get(mozilla::dmd::Thread*) (/mnt/dev/moz/8byt
e/memory/replace/dmd/DMD.cpp:663)
    #02: mozilla::dmd::AllocCallback(void*, unsigned long, mozilla::dmd::Thread*
) (/mnt/dev/moz/8byte/memory/replace/dmd/DMD.cpp:0)
    #03: replace_malloc(unsigned long) (/mnt/dev/moz/8byte/memory/replace/dmd/DM
D.cpp:1092)
    #04: moz_xmalloc (/mnt/dev/moz/8byte/memory/mozalloc/mozalloc.cpp:53)
    #05: TelemetryEvent::InitializeGlobalState(bool, bool) (/mnt/dev/moz/8byte/t
oolkit/components/telemetry/core/TelemetryEvent.cpp:707)

The first interesting stack frame here is #5, the report should start there.

Attachment #9246792 - Attachment description: Bug 1736766 - Don't include `mozilla::dmd` stack frames in DMD reports r=mccr8 → Bug 1736766 - Don't include internal DMD stack frames in reports r=mccr8
Pushed by pbone@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f08c8c7d8813
Don't include internal DMD stack frames in reports r=mccr8
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 95 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: