Collect annotations for Android Isolated Processes
Categories
(Toolkit :: Crash Reporting, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox162 | --- | fixed |
People
(Reporter: schopin, Assigned: schopin)
References
Details
Attachments
(6 external files)
Isolated Processes prevent us from using ptrace to read the crashed process memory, we'll need to update the process_reader crate to use the forked executor instead.
| Assignee | ||
Comment 1•24 days ago
|
||
Interestingly this also hits the desktop case, as YAMA only allows for one process to ptrace() and the remote executor is it.
| Assignee | ||
Comment 2•11 days ago
|
||
Sometimes on Linux we can't use the standard mechanism, and instead must
use the remote executor to read stuff off the crashed process, so we
allow for that in our in-tree process_reader crate.
| Assignee | ||
Comment 3•11 days ago
|
||
Expose a new API to retrieve annotations through a remote executor
(represented by a socket), rather than the standard process handle.
| Assignee | ||
Comment 4•11 days ago
|
||
The minidump writer ends its session once the dump is written, but we need
the executor to stay around so that the crash annotations can be read too.
| Assignee | ||
Comment 5•11 days ago
|
||
This lets callers choose how the annotations are read, which will be needed
for processes dumped through the remote executor.
| Assignee | ||
Comment 6•11 days ago
|
||
The server keeps its end of the remote executor socket open until the dump
callback returns, so the crash helper can reuse it to read the annotations
once the minidump has been written.
Updated•11 days ago
|
Updated•11 days ago
|
Updated•11 days ago
|
Updated•11 days ago
|
Updated•11 days ago
|
| Assignee | ||
Comment 7•9 days ago
|
||
Cherry pick of PR https://github.com/rust-minidump/minidump-writer/pull/248
Comment 9•2 days ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/0555b2d04fd4
https://hg.mozilla.org/mozilla-central/rev/f58c00d967ef
https://hg.mozilla.org/mozilla-central/rev/411bde13d267
https://hg.mozilla.org/mozilla-central/rev/ffab1bd25313
https://hg.mozilla.org/mozilla-central/rev/bffab9581640
https://hg.mozilla.org/mozilla-central/rev/2d6eb0fb10d2
Description
•