Skip to content
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

.NET 9 Release Crashing on specific Android Device #27709

Closed
Th3L0x opened this issue Feb 11, 2025 · 2 comments
Closed

.NET 9 Release Crashing on specific Android Device #27709

Th3L0x opened this issue Feb 11, 2025 · 2 comments
Labels
t/bug Something isn't working

Comments

@Th3L0x
Copy link

Th3L0x commented Feb 11, 2025

Description

I am currently trying to release the next revision of our application, but am running into an issue with the Redmi 9T. I am able to debug and run the debug and release versions on the Redmi 9T. Whenever I download the app from the Google Play Store (closed testing), I get a native crash.
Any other devices (android/ios) loads correctly without any SIGSEGV error.

Workload vesrions:
Installed Workload Id Manifest Version Installation Source

android 35.0.39/9.0.100 SDK 9.0.100, VS 17.12.35707.178
aspire 8.2.2/8.0.100 SDK 9.0.100, VS 17.12.35707.178
ios 18.2.9173/9.0.100 SDK 9.0.100, VS 17.12.35707.178
maccatalyst 18.2.9173/9.0.100 SDK 9.0.100, VS 17.12.35707.178
maui-windows 9.0.14/9.0.100 SDK 9.0.100, VS 17.12.35707.178

VisualStudio vesrion: 17.12.4

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

9.0.30 SR3

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11 OnePlus8Pro, Android 12 Redmi 9T

Did you find any workaround?

No response

Relevant log output

Log from Sentry (starting from the bottom):


Exception - This event error 01:05:22.000 AM
SIGSEGV: Segfault
Navigation info 01:05:21.511 AM
AppShell.Navigated
{
data: {"from":"//LoadingPage","to":"//LoginPage","Source":"ShellItemChanged"}
}
Navigation info 01:05:21.511 AM
App.PageAppearing
{
data: {"Page.Name":"currentPage","Page":"LoginPage"}
}


Logcat log:


02-10 19:55:50.381   528   528 D lowmemorykiller: thrashing: 1% thrashing_limit: 10%
02-10 19:55:50.381   528   528 D lowmemorykiller: Not killing for medium pressure event polling check
02-10 19:55:50.388  1756  2964 D BufferPoolAccessor2.0: evictor expired: 1, evicted: 0
02-10 19:55:50.391   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.391   528   528 D lowmemorykiller: thrashing: 1% thrashing_limit: 10%
02-10 19:55:50.392   528   528 D lowmemorykiller: Not killing for medium pressure event polling check
02-10 19:55:50.402   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.403   528   528 D lowmemorykiller: thrashing: 1% thrashing_limit: 10%
02-10 19:55:50.403   528   528 D lowmemorykiller: Not killing for medium pressure event polling check
02-10 19:55:50.406 28195 28195 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
02-10 19:55:50.406 28195 28195 F DEBUG   : Build fingerprint: 'Redmi/lemon_eea/lemon:12/SKQ1.211202.001/V13.0.1.0.SJQEUXM:user/release-keys'
02-10 19:55:50.406 28195 28195 F DEBUG   : Revision: '0'
02-10 19:55:50.407 28195 28195 F DEBUG   : ABI: 'arm64'
02-10 19:55:50.407 28195 28195 F DEBUG   : Timestamp: 2025-02-10 19:55:49.435704823+0100
02-10 19:55:50.407 28195 28195 F DEBUG   : Process uptime: 0s
02-10 19:55:50.407 28195 28195 F DEBUG   : Cmdline: com.Agitur.DeepDate
02-10 19:55:50.407 28195 28195 F DEBUG   : pid: 27761, tid: 27761, name: Agitur.DeepDate  >>> com.Agitur.DeepDate <<<
02-10 19:55:50.407 28195 28195 F DEBUG   : uid: 10542
02-10 19:55:50.407 28195 28195 F DEBUG   : signal 11 (SIGSEGV), code 2 (SEGV_ACCERR), fault addr 0x7c7340848e
02-10 19:55:50.407 28195 28195 F DEBUG   :     x0  0000000000000000  x1  b400007b11cb8580  x2  fffffffffffffffa  x3  0000007fc0b31570
02-10 19:55:50.407 28195 28195 F DEBUG   :     x4  0000000000000492  x5  706c655f6c6f676f  x6  6f6c5f656c707061  x7  6f676f6c5f656c70
02-10 19:55:50.407 28195 28195 F DEBUG   :     x8  b400007baa5891d8  x9  b400007baa5892e0  x10 000000000000001d  x11 0000000000000046
02-10 19:55:50.407 28195 28195 F DEBUG   :     x12 0000000000000074  x13 0000007c7340848a  x14 0000000000000023  x15 0000007c72cc82a4
02-10 19:55:50.407 28195 28195 F DEBUG   :     x16 000000000000016c  x17 0000007c75186944  x18 0000007c7b9b4000  x19 b400007c7ab7a700
02-10 19:55:50.407 28195 28195 F DEBUG   :     x20 0000007fc0b31558  x21 0000007c7ad89000  x22 b400007c7ab7a700  x23 0000007c7ad89000
02-10 19:55:50.407 28195 28195 F DEBUG   :     x24 b400007b11a0dcb0  x25 b400007b11a0e288  x26 0000007fc0b31668  x27 b400007b12288360
02-10 19:55:50.407 28195 28195 F DEBUG   :     x28 0000007fc0b3161a  x29 0000007fc0b315d0
02-10 19:55:50.407 28195 28195 F DEBUG   :     lr  0000007c5a1bd610  sp  0000007fc0b31510  pc  0000007c5a1bd7b8  pst 0000000000000000
02-10 19:55:50.407 28195 28195 F DEBUG   : backtrace:
02-10 19:55:50.407 28195 28195 F DEBUG   :       #00 pc 00000000000567b8  /system/lib64/libandroidfw.so (android::LoadedPackage::FindEntryByName(std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > const&, std::__1::basic_string<char16_t, std::__1::char_traits<char16_t>, std::__1::allocator<char16_t> > const&) const+584) (BuildId: 52e581bfccc2aff59066906e70834f22)
02-10 19:55:50.407 28195 28195 F DEBUG   :       #01 pc 0000000000045680  /system/lib64/libandroidfw.so (android::AssetManager2::GetResourceId(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&) const+412) (BuildId: 52e581bfccc2aff59066906e70834f22)
02-10 19:55:50.407 28195 28195 F DEBUG   :       #02 pc 0000000000164ad8  /system/lib64/libandroid_runtime.so (android::NativeGetResourceIdentifier(_JNIEnv*, _jclass*, long, _jstring*, _jstring*, _jstring*)+524) (BuildId: 634a7a8fda787a362348bcac75f203d6)
02-10 19:55:50.407 28195 28195 F DEBUG   :       #03 pc 0000000000386c30  /data/misc/apexdata/com.android.art/dalvik-cache/arm64/boot.oat (art_jni_trampoline+160)
02-10 19:55:50.413   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.413 17487 17537 W HidlServiceManagement: Waited one second for [email protected]::IUceService/com.qualcomm.qti.uceservice
02-10 19:55:50.413   528   528 D lowmemorykiller: Ignoring medium pressure event; system is not in reclaim
02-10 19:55:50.414   530   530 I hwservicemanager: Since [email protected]::IUceService/com.qualcomm.qti.uceservice is not registered, trying to start it as a lazy HAL.
02-10 19:55:50.414 17487 17537 I HidlServiceManagement: getService: Trying again for [email protected]::IUceService/com.qualcomm.qti.uceservice...
02-10 19:55:50.416   530 28199 W libc    : Unable to set property "ctl.interface_start" to "[email protected]::IUceService/com.qualcomm.qti.uceservice": error code: 0x20
02-10 19:55:50.417   530 28199 I hwservicemanager: Tried to start [email protected]::IUceService/com.qualcomm.qti.uceservice as a lazy service, but was unable to. Usually this happens when a service is not installed, but if the service is intended to be used as a lazy service, then it may be configured incorrectly.
02-10 19:55:50.423   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.424   528   528 D lowmemorykiller: Ignoring medium pressure event; system is not in reclaim
02-10 19:55:50.434   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.434   528   528 D lowmemorykiller: Ignoring medium pressure event; system is not in reclaim
02-10 19:55:50.444   528   528 D lowmemorykiller: medium pressure event polling check
02-10 19:55:50.445   528   528 D lowmemorykiller: thrashing: 1% thrashing_limit: 10%
02-10 19:55:50.445   528   528 D lowmemorykiller: Not killing for medium pressure event polling check
02-10 19:55:50.453 23132 23189 I AudioManager: In isSpeakerphoneOn(), calling application: com.huaqin.sarcontroller
02-10 19:55:50.455   528   528 D lowmemorykiller: medium pressure event polling check
@Th3L0x Th3L0x added the t/bug Something isn't working label Feb 11, 2025
Copy link

We've found some similar issues:

If any of the above are duplicates, please consider closing this issue out and adding additional context in the original issue.

Note: You can give me feedback by 👍 or 👎 this comment.

@Th3L0x
Copy link
Author

Th3L0x commented Feb 11, 2025

@Th3L0x Th3L0x closed this as completed Feb 11, 2025
@github-actions github-actions bot locked and limited conversation to collaborators Mar 14, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant