Closed
Bug 689178
Opened 13 years ago
Closed 5 years ago
Remove crash-reporter hooks to externally provide library mappings
Categories
(Toolkit :: Crash Reporting, defect)
Tracking
()
RESOLVED
FIXED
mozilla80
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(4 files)
Currently, our custom Android linker feeds the crash reporter with the information it needs to find our ashmem-backed libraries. As we're going to move to dynamically loading libraries when they are needed, the full list won't be available when the crashreporter is initialized like it currently is.
However, the linker keeps all the necessary info in the DT_DEBUG info that is mainly used for debuggers. This info is currently kept in a MD_LINUX_DSO_DEBUG section of the minidump (which is currently not enabled on android builds), but this info could be used to fill the modules list.
Assignee | ||
Comment 1•12 years ago
|
||
This is the complete patch queue for breakpad:
https://breakpad.appspot.com/550002/
https://breakpad.appspot.com/560002/
https://breakpad.appspot.com/562002/
https://breakpad.appspot.com/575002/
https://breakpad.appspot.com/571003/
https://breakpad.appspot.com/578002/
https://breakpad.appspot.com/580002/
https://breakpad.appspot.com/581002/
https://breakpad.appspot.com/582002/
https://breakpad.appspot.com/573002/
https://breakpad.appspot.com/586002/
https://breakpad.appspot.com/587002/
Assignee | ||
Comment 2•12 years ago
|
||
This needs to land at the same time as bug 725231.
Attachment #745865 -
Flags: review?(ted)
Assignee | ||
Comment 3•12 years ago
|
||
With breakpad taking mappings from data provided by the linker, that workaround is not needed anymore.
Attachment #745919 -
Flags: review?(ted)
Comment 4•12 years ago
|
||
Comment on attachment 745865 [details] [diff] [review]
Remove crash-reporter hooks to externally provide library mappings
Review of attachment 745865 [details] [diff] [review]:
-----------------------------------------------------------------
Guess I should review your upstream patches!
Attachment #745865 -
Flags: review?(ted) → review+
Comment 5•12 years ago
|
||
Comment on attachment 745919 [details] [diff] [review]
Disable elfhack workaround from bug 822584
Review of attachment 745919 [details] [diff] [review]:
-----------------------------------------------------------------
Are you sure you're never going to need this again? I guess it's not a lot of code to put back if you do.
Attachment #745919 -
Flags: review?(ted) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Review ping on upstream bugs:
https://breakpad.appspot.com/560002/
https://breakpad.appspot.com/562002/
https://breakpad.appspot.com/575002/
https://breakpad.appspot.com/571003/
https://breakpad.appspot.com/578002/
https://breakpad.appspot.com/580002/
https://breakpad.appspot.com/573002/
https://breakpad.appspot.com/586002/
https://breakpad.appspot.com/587002/
Flags: needinfo?(ted)
Comment 8•12 years ago
|
||
Can you give me the ordering of how they apply? I've reviewed a few of them but I can't ever remember what order they apply in, so I'm never sure if I can land them without reviewing others first. Sorry for the ridiculous delay.
Flags: needinfo?(ted)
Assignee | ||
Comment 9•12 years ago
|
||
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #8)
> Can you give me the ordering of how they apply?
The exact order in which they appear in comment 7.
Assignee | ||
Comment 10•5 years ago
|
||
This is a rebase of a 7-year-old patch that was r=ted. The hooks are not
used as of bug 725231.
Assignee | ||
Comment 11•5 years ago
|
||
This is a rebase of a 7-year-old patch that was r=ted. The main part of
the patch was actually already removed in bug 1389598.
Assignee | ||
Updated•5 years ago
|
Summary: Use DT_DEBUG information to enumerate library mappings → Remove crash-reporter hooks to externally provide library mappings
Comment 12•5 years ago
|
||
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/50c02f803046
Remove crash-reporter hooks to externally provide library mappings. r=gsvelto
https://hg.mozilla.org/integration/autoland/rev/39a6155cb418
Remove remainder of elfhack workaround from bug 822584. r=froydnj
Comment 13•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/50c02f803046
https://hg.mozilla.org/mozilla-central/rev/39a6155cb418
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox80:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
You need to log in
before you can comment on or make changes to this bug.
Description
•