Open Bug 1478415 Opened 7 years ago Updated 3 years ago

MozStackWalk stacks are truncated for rust code

Categories

(Core :: XPCOM, defect)

Other Branch
defect

Tracking

()

People

(Reporter: kats, Unassigned)

References

Details

Attachments

(1 file)

Attached file dmd.out.txt
In trying to investigate bug 1477716, I made a DMD build on linux and ran it in "live" mode: MOZ_WEBRENDER=1 MOZ_ACCELERATED=1 ./mach run --dmd --mode live I loaded the page in question and scrolled until it was really laggy, and then did the kill -34 <pid> to get DMD dumps. Then I ran dmd.py on the root process json.gz file to get the heap information. The result is attached - the first block seems to be what I'm looking for, but the stack is unfortunately not particularly useful because it seems like it didn't unwind the usual 8 frames.
DMD just uses the XPCOM stackwalking code so I'd imagine this is more of an issue with that code. I don't know what the expectation for it working with Rust code is.
Component: DMD → XPCOM
I guess on Windows and OSX it doesn't use the standard stackwalking, but we are still using MozStackWalk on Linux.
Summary: DMD stacks are truncated for rust code → MozStackWalk stacks are truncated for rust code
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: