You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now if we can't read the auxiliary vector by parsing the corresponding file under /proc minidump generation fails. This is a known cause of failures to write minidumps on Android (see bug 1644486 on our tracker for example) and Linux because sometimes the generator process doesn't have permission to access that file. This accounts for at least one out of three failures when writing Linux/Android minidumps.
We currently use the auxiliary vector in three different places:
Neither of those uses is strictly needed. In fact the first two instance already handle the case where the relevant entry in the auxiliary vector isn't available, and the third one is just not critical. We could just skip writing the DSO stream and everybody would be still perfectly happy.
So I propose to do a couple of things to improve this situation:
Make not being able to read the auxiliary vector a non-fatal failure (this is easy)
Change how it's read to have a fallback in case we can't access /proc. Notably the auxiliary vector is at a known location in memory so we could pull it out from there using ptrace().
The text was updated successfully, but these errors were encountered:
Right now if we can't read the auxiliary vector by parsing the corresponding file under /proc minidump generation fails. This is a known cause of failures to write minidumps on Android (see bug 1644486 on our tracker for example) and Linux because sometimes the generator process doesn't have permission to access that file. This accounts for at least one out of three failures when writing Linux/Android minidumps.
We currently use the auxiliary vector in three different places:
Neither of those uses is strictly needed. In fact the first two instance already handle the case where the relevant entry in the auxiliary vector isn't available, and the third one is just not critical. We could just skip writing the DSO stream and everybody would be still perfectly happy.
So I propose to do a couple of things to improve this situation:
/proc
. Notably the auxiliary vector is at a known location in memory so we could pull it out from there usingptrace()
.The text was updated successfully, but these errors were encountered: