Closed Bug 1090598 Opened 5 years ago Closed 5 years ago

Allow attaching gdb to firefox in the ah_crap_handler on Ubuntu

Categories

(Core :: XPCOM, defect)

32 Branch
x86_64
Linux
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla36

People

(Reporter: khuey, Assigned: khuey)

References

Details

Attachments

(1 file)

Attached patch PatchSplinter Review
Ubuntu has enabled Yama[0], which prevents processes from ptrace()ing arbitrary processes.  That prevents gdb from attaching though, so when we're sleep()ing to allow time for a developer to attach gdb we should disable the ptrace restrictions.

[0] https://www.kernel.org/doc/Documentation/security/Yama.txt
Attachment #8513080 - Flags: review?(nfroyd)
Attachment #8513080 - Flags: review?(nfroyd) → review+
https://hg.mozilla.org/mozilla-central/rev/544cb3ae4996
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
You need to log in before you can comment on or make changes to this bug.