New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RuntimeDetour selftest failing on armv7, Android 4.X / 5.X #50
Comments
Sorry for the late reply, I've been busy at work for the last few days. Can you please check the latest changes on the master branch, specifically 3eab0eb? I hope that commit fixes your issue. |
Thanks for your work.But the bug still exists.Here is the error log reported by Galaxy On5 in Android 5.1.1 |
Do you know if the issue exists on newer versions of Android as well? Or is it limited to Android 5.X? |
It's limited in Android 5.1.1/5.1/4.4.4, I try it on virtual machine of 4.4/5.1 x86 arch, not affected, maybe armabi only |
Most affected devices Most affected OS Others not means Android 6 or newer version, these devices does not report the OS version |
From what I can gather, all the affected devices use armv7 chipsets. Sadly, right now I've only got a phone with an armv8 chipset and Android 8.1 (LG G6, unofficial LineageOS 15.1), and all tests pass with dotnet 64-bit and 32-bit. I'm thus unable to replicate and debug this in the foreseeable future, but I'll still try to find a possible to fix this. |
Does this issue still occur with a freshly built copy of MonoMod? There have been a few updates to the selftest since the last comment on this issue. |
Someone on the MonoMod Discord server just confirmed that RuntimeDetour is working for them on armv7. |
I made a loader project and this error show up again even in Android 10:
The possible cause to produce this issue:
2.The loader project works fine to using Xamarin 10, but I needs to tweak it to Xamarin 9, so I choose the Rider IDE with MSBuild 15.0 to finish the work. 3.The Aapt2 raised an error, I turn off the Aapt2 |
This bug is really weird, some of the device of Android 4 or Android 5 reports incompatible.I flashed my device to Android 5.1.1, the error doesn't appealed. And the emulator also works fine, I guess this error may be associate with CPU or kernal version. Here is the latest report.And you can also get the Installer from my git repo
|
I flashed my device to Android 4.4.4, this bug can be reproduced steadily, this bug is probably related to the system kernel version. |
@nike4613 Sorry for ping but was this fixed in |
Reorg doesn't use selftesting, so in that sense, yes. However, it also does not currently have any ARM support. My understanding is that the ARM support in legacy was a best-effort anyway, and subject to issues like this one. #90 is broadly the tracking issue for ARM in reorg, though its name reflects that the main target is Mac M1. Always open for contributions on that point though. |
Thanks for your great job.I integrated the project to my Stardew Valley Mod Loader, and received some crash report on Android 5.1.1 and earlier version.
Here is the error log:
DetourRuntimeILPlatform._SelftestGetStruct (System.IntPtr x, System.IntPtr y)
System.Exception: This method should've been detoured!
The text was updated successfully, but these errors were encountered: