You can try this change, which was backported to Android 9 (P): https://android-review.googlesource.com/c/platform/art/+/2226578/
- Dan On Wed, Aug 24, 2022 at 5:50 PM Michael Goffioul <[email protected]> wrote: > On Sun, Aug 14, 2022 at 8:30 AM Michael Goffioul < > [email protected]> wrote: > >> >> >> On Thu, Jul 28, 2022 at 8:58 PM 'Dan Willemsen' via Android Building < >> [email protected]> wrote: >> >>> Have you tried to reproduce with a newer version of Android? Android 7 >>> is about 6 years old, so I wouldn't be expecting any changes to it. >>> >>> You may want to talk to your distribution, this could be a configuration >>> change during the kernel upgrade. Breaking existing binaries is something >>> the kernel generally attempts to avoid. >>> >> >> I agree. So the most probable conclusion is that the problem comes from >> the Android side, not the kernel/distribution side. >> >> > After adding debug lines in dex2oatd source code, it appears the error > comes from this line: > https://cs.android.com/android/platform/superproject/+/android-7.1.2_r1:art/runtime/mem_map.cc;l=891 > where addr=0x70514000 and flags=00000002. Correct me if I'm wrong, but > given that the mmap flags do not include MAP_FIXED, the provided address is > only interpreted as a hint, there's no guarantee that the mapped address > will be the one provided as argument. > > -- > -- > You received this message because you are subscribed to the "Android > Building" mailing list. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/android-building?hl=en > > --- > You received this message because you are subscribed to the Google Groups > "Android Building" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/android-building/CAB-99LvRNThpX3m%2BRwAMfZiUwOnFtUSMbsOY%2B80eDc5pO%3DtowQ%40mail.gmail.com > <https://groups.google.com/d/msgid/android-building/CAB-99LvRNThpX3m%2BRwAMfZiUwOnFtUSMbsOY%2B80eDc5pO%3DtowQ%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/android-building/CALQgHdmYwBPkgkSDvVqFVp6E8ZhH1zZXPt%2BnXj783VG9_CodHQ%40mail.gmail.com.
