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

Crash - Android condition `xref_count == xref_index' not met, function:processing_build_callback_data #23827

Closed
cgomezm opened this issue Jul 25, 2024 · 2 comments
Labels
partner/android Issues for the Android SDK platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working

Comments

@cgomezm
Copy link

cgomezm commented Jul 25, 2024

Description

Application is crashing when navigation on different pages. No exception is thrown at all and the only log we can find is from logcat.

MAUI version 8.0.61 same error with version 8.0.70. Using maui 8.0.20 error does not happen.
image

Steps to Reproduce

No response

Link to public reproduction project repository

No response

Version with bug

8.0.6 SR1

Is this a regression from previous behavior?

Yes, this used to work in .NET MAUI

Last version that worked well

8.0.20

Affected platforms

Android

Affected platform versions

No response

Did you find any workaround?

No

Relevant log output

2024-07-25 19:20:45.550  1074-1074  TaplEvents              com...le.android.apps.nexuslauncher  D  TIS / TouchInteractionService.onInputEvent: MotionEvent { action=ACTION_UP, actionButton=0, id[0]=0, x[0]=510.9629, y[0]=1658.8809, toolType[0]=TOOL_TYPE_FINGER, buttonState=0, classification=NONE, metaState=0, flags=0x0, edgeFlags=0x0, pointerCount=1, historySize=0, eventTime=2891139, downTime=2891052, deviceId=4, source=0xd002, displayId=0, eventId=83308071 }
2024-07-25 19:20:45.737 15917-15917 sXXXXXmaui         org...company.xxxxmaui  I  Explicit concurrent copying GC freed 77696(1673KB) AllocSpace objects, 0(0B) LOS objects, 49% free, 23MB/47MB, paused 832us,95us total 76.699ms
2024-07-25 19:20:45.766   568-772   CoreBackPreview         system_server                        D  Window{46ced7e u0 org.company.xxxxmaui/crc64ac59da0f843d4106.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@9843ccc, mPriority=0, mIsAnimationCallback=false}
2024-07-25 19:20:45.831 15917-15917 MaterialButton          org...company.xxxxmaui  W  MaterialButton manages its own background to control elevation, shape, color and states. Consider using backgroundTint, shapeAppearance and other attributes where available. A custom background will ignore these attributes and you should consider handling interaction states such as pressed, focused and disabled
2024-07-25 19:20:45.844 15917-15917 WindowOnBackDispatcher  org...company.xxxxmaui  W  sendCancelIfRunning: isInProgress=falsecallback=androidx.activity.OnBackPressedDispatcher$Api33Impl$$ExternalSyntheticLambda0@29bbc86
2024-07-25 19:20:45.845   568-772   CoreBackPreview         system_server                        D  Window{46ced7e u0 org.company.xxxxmaui/crc64ac59da0f843d4106.MainActivity}: Setting back callback OnBackInvokedCallbackInfo{mCallback=android.window.IOnBackInvokedCallback$Stub$Proxy@99c3b15, mPriority=-1, mIsAnimationCallback=false}
2024-07-25 19:20:46.298 15917-15963 EGL_emulation           org...company.xxxxmaui  D  app_time_stats: avg=11.98ms min=2.33ms max=146.72ms count=27
2024-07-25 19:20:46.573 15917-15917 sXXXXXmaui         org...company.xxxxmaui  I  Explicit concurrent copying GC freed 3682(213KB) AllocSpace objects, 0(0B) LOS objects, 50% free, 23MB/47MB, paused 411us,66us total 72.540ms
2024-07-25 19:20:46.806 15917-15917 MaterialButton          org...company.xxxxmaui  W  MaterialButton manages its own background to control elevation, shape, color and states. Consider using backgroundTint, shapeAppearance and other attributes where available. A custom background will ignore these attributes and you should consider handling interaction states such as pressed, focused and disabled
2024-07-25 19:20:46.812 15917-15917 MaterialButton          org...company.xxxxmaui  W  MaterialButton manages its own background to control elevation, shape, color and states. Consider using backgroundTint, shapeAppearance and other attributes where available. A custom background will ignore these attributes and you should consider handling interaction states such as pressed, focused and disabled
2024-07-25 19:20:46.935 15917-15917 sXXXXXmaui         org...company.xxxxmaui  E  * Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1174, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 3393 but we added 3390 xrefs
2024-07-25 19:20:46.938 15917-15917 libc                    org...company.xxxxmaui  A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 15917 (sXXXXXmaui), pid 15917 (sXXXXXmaui)
2024-07-25 19:20:47.072 16838-16838 crash_dump64            pid-16838                            I  obtaining output fd from tombstoned, type: kDebuggerdTombstoneProto
2024-07-25 19:20:47.077   216-216   tombstoned              tombstoned                           I  received crash request for pid 15917
2024-07-25 19:20:47.082 16838-16838 crash_dump64            pid-16838                            I  performing dump of process 15917 (target tid = 15917)
2024-07-25 19:20:47.330 15917-15963 EGL_emulation           org...company.xxxxmaui  D  app_time_stats: avg=4.99ms min=2.41ms max=20.33ms count=31
2024-07-25 19:20:48.067     0-0     logd                    kernel                               I  logdr: UID=10189 GID=10189 PID=16838 n tail=500 logMask=8 pid=15917 start=0ns deadline=0ns
2024-07-25 19:20:48.070     0-0     logd                    kernel                               I  logdr: UID=10189 GID=10189 PID=16838 n tail=500 logMask=1 pid=15917 start=0ns deadline=0ns
2024-07-25 19:20:48.100 16838-16838 DEBUG                   pid-16838                            A  *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
2024-07-25 19:20:48.100 16838-16838 DEBUG                   pid-16838                            A  Build fingerprint: 'google/sdk_gphone64_x86_64/emu64xa:14/UPB5.230623.003/10615560:userdebug/dev-keys'
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  Revision: '0'
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  ABI: 'x86_64'
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  Timestamp: 2024-07-25 19:20:47.089487100+1000
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  Process uptime: 366s
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  Cmdline: org.company.xxxxmaui
2024-07-25 19:20:48.101 16838-16838 DEBUG                   pid-16838                            A  pid: 15917, tid: 15917, name: sXXXXXmaui  >>> org.company.xxxxmaui <<<
2024-07-25 19:20:48.102 16838-16838 DEBUG                   pid-16838                            A  uid: 10189
2024-07-25 19:20:48.102 16838-16838 DEBUG                   pid-16838                            A  signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
2024-07-25 19:20:48.102 16838-16838 DEBUG                   pid-16838                            A      rax 0000000000000000  rbx 00007ffd7fe23428  rcx 00007709ffe76610  rdx 0000000000000006
2024-07-25 19:20:48.103 16838-16838 DEBUG                   pid-16838                            A      r8  00007707f99e2ec1  r9  00007707f99e2ec1  r10 00007ffd7fe23430  r11 0000000000000207
2024-07-25 19:20:48.103 16838-16838 DEBUG                   pid-16838                            A      r12 00007706f21db000  r13 000000000000489b  r14 0000000000003e2d  r15 0000000000003e2d
2024-07-25 19:20:48.103 16838-16838 DEBUG                   pid-16838                            A      rdi 0000000000003e2d  rsi 0000000000003e2d
2024-07-25 19:20:48.103 16838-16838 DEBUG                   pid-16838                            A      rbp 0000000000000004  rsp 00007ffd7fe23420  rip 00007709ffe76610
2024-07-25 19:20:48.104 16838-16838 DEBUG                   pid-16838                            A  18 total frames
2024-07-25 19:20:48.104 16838-16838 DEBUG                   pid-16838                            A  backtrace:
2024-07-25 19:20:48.104 16838-16838 DEBUG                   pid-16838                            A        #00 pc 0000000000061610  /apex/com.android.runtime/lib64/bionic/libc.so (abort+192) (BuildId: fa337969c798946280caa45e2d71a2e7)
2024-07-25 19:20:48.105 16838-16838 DEBUG                   pid-16838                            A        #01 pc 00000000000277b5  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonodroid.so (xamarin::android::Helpers::abort_application()+5) (BuildId: 3dfa17ae8f392796ecc61066703a8cafa750bb97)
2024-07-25 19:20:48.105 16838-16838 DEBUG                   pid-16838                            A        #02 pc 00000000000472d9  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+105) (BuildId: 3dfa17ae8f392796ecc61066703a8cafa750bb97)
2024-07-25 19:20:48.105 16838-16838 DEBUG                   pid-16838                            A        #03 pc 000000000021f85a  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.107 16838-16838 DEBUG                   pid-16838                            A        #04 pc 000000000021f9e4  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.107 16838-16838 DEBUG                   pid-16838                            A        #05 pc 00000000002ef491  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.108 16838-16838 DEBUG                   pid-16838                            A        #06 pc 00000000002e8c46  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.109 16838-16838 DEBUG                   pid-16838                            A        #07 pc 00000000003124ee  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.111 16838-16838 DEBUG                   pid-16838                            A        #08 pc 000000000030f4b1  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.112 16838-16838 DEBUG                   pid-16838                            A        #09 pc 000000000030f0b2  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.112 16838-16838 DEBUG                   pid-16838                            A        #10 pc 000000000031f16b  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.113 16838-16838 DEBUG                   pid-16838                            A        #11 pc 000000000030ae27  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.113 16838-16838 DEBUG                   pid-16838                            A        #12 pc 00000000002f2b39  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.114 16838-16838 DEBUG                   pid-16838                            A        #13 pc 00000000002b2e94  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.115 16838-16838 DEBUG                   pid-16838                            A        #14 pc 00000000001e18a2  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.116 16838-16838 DEBUG                   pid-16838                            A        #15 pc 00000000001e9749  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.117 16838-16838 DEBUG                   pid-16838                            A        #16 pc 00000000001e9f9d  /data/app/~~_sWoCwWK6jFrWqZDOnLiKg==/org.company.xxxxmaui-sAyE3AnPp_hS0RaUeL-lUQ==/lib/x86_64/libmonosgen-2.0.so (BuildId: 45b2f5894c73dc8c86fd48bd537477dc876de160)
2024-07-25 19:20:48.117 16838-16838 DEBUG                   pid-16838                            A        #17 pc 00000000000017d0  <anonymous:40e13000>
2024-07-25 19:20:48.143   216-216   tombstoned              tombstoned                           E  Tombstone written to: tombstone_18
@cgomezm cgomezm added the t/bug Something isn't working label Jul 25, 2024
Copy link
Contributor

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it. Thank you!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@samhouts samhouts added platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending partner/android Issues for the Android SDK labels Jul 30, 2024
@PureWeen PureWeen added the s/needs-repro Attach a solution or code which reproduces the issue label Aug 2, 2024
@dotnet-policy-service dotnet-policy-service bot added the s/no-recent-activity Issue has had no recent activity label Aug 7, 2024
@kklose23
Copy link

Also having this issue

@dotnet-policy-service dotnet-policy-service bot removed the s/no-recent-activity Issue has had no recent activity label Aug 14, 2024
@github-actions github-actions bot locked and limited conversation to collaborators Sep 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
partner/android Issues for the Android SDK platform/android 🤖 potential-regression This issue described a possible regression on a currently supported version., verification pending s/needs-repro Attach a solution or code which reproduces the issue t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants