[Android] Crash - condition `xref_count == xref_index' not met, function:processing_build_callback_data
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 20/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- android, csharp
- Domain
- mobile-dev
Research direction
Start with mono/metadata/sgen-tarjan-bridge.c at the reported processing_build_callback_data assertion, then compare the related MAUI issues and their crash conditions. Reproduce on Android by repeatedly opening and closing pages or scrolling a large CollectionView. Done means identifying the runtime cause and preventing this assertion abort under the reported scenarios.
Written by the indexing model from the issue text.
Description
Description
The same issue with https://github.com/dotnet/maui/issues/23827 and https://github.com/dotnet/maui/issues/27496
The crash occurs both in debug and release, and may occur after any operation, or even while idling in the foreground, but it usually happens after opening and closing several pages (usually 5 or more) or scrolling through the CollectionView (when loading a large amount of new contents)
I can provide two crash logs, they occur seemingly due to similar reasons:
05-30 22:42:24.124 30864 30864 E me.sheas.cealer: * Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 690 but we added 648 xrefs
05-30 22:42:24.124 30864 30864 F monodroid: * Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 690 but we added 648 xrefs
05-30 22:42:24.124 30864 30864 F monodroid: Abort at mono-log-adapter.cc:46:3 ('static void xamarin::android::internal::MonodroidRuntime::mono_log_handler(const char *, const char *, const char *, mono_bool, void *)')
05-30 22:42:24.492 6024 6024 F DEBUG : Abort message: '* Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 690 but we added 648 xrefs'
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#1 pc 000000000004fcb8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(_LogCategories, char const*, bool, std::__ndk1::source_location)+148) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#2 pc 00000000000207d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(char const*, bool, std::__ndk1::source_location)+28) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#3 pc 000000000002eb18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+216) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#4 pc 00000000001d1f24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#5 pc 00000000001d2038 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#6 pc 0000000000299954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#7 pc 0000000000294954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#8 pc 00000000002b0ee4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#9 pc 00000000002adf80 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#10 pc 00000000002adbe4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#11 pc 00000000002bbf30 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#12 pc 00000000002aa0d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#13 pc 000000000029cd18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#14 pc 0000000000261c24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#15 pc 00000000001a29c0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#16 pc 000000000019aafc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#17 pc 0000000000258674 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (mono_runtime_invoke_checked+140) (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#18 pc 000000000026087c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#19 pc 000000000021b888 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#20 pc 000000000022463c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#21 pc 00000000001a92d0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#22 pc 00000000001a7b20 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#23 pc 000000000019ce78 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#24 pc 00000000001a9684 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:24.492 6024 6024 F DEBUG : dotnet/maui#25 pc 00000000001a9bc8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: Abort message: '* Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 690 but we added 648 xrefs'
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#1 pc 000000000004fcb8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(_LogCategories, char const*, bool, std::__ndk1::source_location)+148) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#2 pc 00000000000207d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(char const*, bool, std::__ndk1::source_location)+28) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#3 pc 000000000002eb18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+216) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#4 pc 00000000001d1f24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#5 pc 00000000001d2038 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#6 pc 0000000000299954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#7 pc 0000000000294954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#8 pc 00000000002b0ee4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#9 pc 00000000002adf80 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#10 pc 00000000002adbe4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#11 pc 00000000002bbf30 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#12 pc 00000000002aa0d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#13 pc 000000000029cd18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#14 pc 0000000000261c24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#15 pc 00000000001a29c0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#16 pc 000000000019aafc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#17 pc 0000000000258674 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (mono_runtime_invoke_checked+140) (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#18 pc 000000000026087c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#19 pc 000000000021b888 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#20 pc 000000000022463c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#21 pc 00000000001a92d0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#22 pc 00000000001a7b20 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#23 pc 000000000019ce78 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#24 pc 00000000001a9684 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 22:42:26.730 7210 6145 D LogKit.AnrCrashDumpRunnable: dotnet/maui#25 pc 00000000001a9bc8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.297 24109 24109 E me.sheas.cealer: * Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 39 but we added 36 xrefs
05-30 23:00:54.297 24109 24109 F monodroid: * Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 39 but we added 36 xrefs
05-30 23:00:54.297 24109 24109 F monodroid: Abort at mono-log-adapter.cc:46:3 ('static void xamarin::android::internal::MonodroidRuntime::mono_log_handler(const char *, const char *, const char *, mono_bool, void *)')
05-30 23:00:54.963 25059 25059 F DEBUG : Abort message: '* Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 39 but we added 36 xrefs'
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#1 pc 000000000004fcb8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(_LogCategories, char const*, bool, std::__ndk1::source_location)+148) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#2 pc 00000000000207d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(char const*, bool, std::__ndk1::source_location)+28) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#3 pc 000000000002eb18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+216) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#4 pc 00000000001d1f24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#5 pc 00000000001d2038 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#6 pc 0000000000299954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#7 pc 0000000000294954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#8 pc 00000000002b0ee4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#9 pc 00000000002adf80 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#10 pc 00000000002adbe4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#11 pc 00000000002aa440 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#12 pc 000000000029cefc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#13 pc 000000000025aad8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#14 pc 00000000001a2a18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#15 pc 000000000019aafc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#16 pc 0000000000258674 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (mono_runtime_invoke_checked+140) (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#17 pc 000000000026087c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#18 pc 000000000021b888 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#19 pc 000000000022463c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#20 pc 00000000001a92d0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#21 pc 00000000001a7b20 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#22 pc 000000000019ce78 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#23 pc 00000000001a9684 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:54.963 25059 25059 F DEBUG : dotnet/maui#24 pc 00000000001a9bc8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: Abort message: '* Assertion at /__w/1/s/src/mono/mono/metadata/sgen-tarjan-bridge.c:1176, condition `xref_count == xref_index' not met, function:processing_build_callback_data, xref_count is 39 but we added 36 xrefs'
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#1 pc 000000000004fcb8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(_LogCategories, char const*, bool, std::__ndk1::source_location)+148) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#2 pc 00000000000207d8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::Helpers::abort_application(char const*, bool, std::__ndk1::source_location)+28) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#3 pc 000000000002eb18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonodroid.so (xamarin::android::internal::MonodroidRuntime::mono_log_handler(char const*, char const*, char const*, int, void*)+216) (BuildId: 4f1470640ed5e91aa47539b9f242bf641c48458e)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#4 pc 00000000001d1f24 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#5 pc 00000000001d2038 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#6 pc 0000000000299954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.446 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#7 pc 0000000000294954 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#8 pc 00000000002b0ee4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#9 pc 00000000002adf80 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#10 pc 00000000002adbe4 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#11 pc 00000000002aa440 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#12 pc 000000000029cefc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#13 pc 000000000025aad8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#14 pc 00000000001a2a18 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#15 pc 000000000019aafc /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#16 pc 0000000000258674 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (mono_runtime_invoke_checked+140) (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#17 pc 000000000026087c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#18 pc 000000000021b888 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#19 pc 000000000022463c /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#20 pc 00000000001a92d0 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#21 pc 00000000001a7b20 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#22 pc 000000000019ce78 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#23 pc 00000000001a9684 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
05-30 23:00:57.447 7210 25128 D LogKit.AnrCrashDumpRunnable: dotnet/maui#24 pc 00000000001a9bc8 /data/app/~~nyA6WXx1Yclqpfo_GJ45uQ==/spacetime.sheas.cealer-PnTK25U_zwkkXTI2xIp3jw==/lib/arm64/libmonosgen-2.0.so (BuildId: 1be7c7c5272957bf2e9a5560cbbed0b969688e5a)
The bug is affactting this project: https://github.com/SpaceTimee/Sheas-Cealer-Droid (It is not completely open source)
Steps to Reproduce
No response
Link to public reproduction project repository
No response
Version with bug
9.0.61 SR6.1
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI (according to https://github.com/dotnet/maui/issues/23827)
Last version that worked well
Unknown/Other
Affected platforms
Android, I was not able test on other platforms
Affected platform versions
net9.0-android35.0
Did you find any workaround?
No response
Relevant log output
- Dominant language
- C#
- Stars
- 18.3k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dotnet/runtime
-
agentic-workflows untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
area-System.Reflection blocking-clean-ci-optional Known Build Error os-mac-os-x untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
area-CodeGen-coreclr untriaged
Difficulty 1/5 Under an hour Newbie friendliness 92/100
-
agentic-workflows untriaged
Difficulty 1/5 Under an hour Newbie friendliness 78/100
-
area-VM-meta-mono untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
-
:watch: Not Triaged 11.0 fundamentals/subsvc
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
dotnet/AspNetCore.Docs#37699 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SubtitleEdit/subtitleedit#15108 · 1 comment ·
-
area/docs-content Bug pulumi/docs
Difficulty 1/5 1-3 hours Newbie friendliness 94/100
-
Create parent directories only after the containment check in InstallHelper.TryExtractToDirectory Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
PowerShell/PSResourceGet#2056 ·