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

Default MAUI Blazor project immediately crashing on Android Emulator #1616

Closed
efonsecab opened this issue Jul 8, 2021 · 8 comments
Closed

Comments

@efonsecab
Copy link

Describe the bug

I recently setup another development environment to work with MAUI Blazor, however, when I try to run the default app in the Android Emulator, it opens but immediately crashes, and the debugger window shows the following lines:

[.MAUIBlazorDem] * Assertion at /__w/1/s/src/mono/mono/mini/debugger-agent.c:4389, condition tls' not met
Thread started: dotnet/aspnetcore#5
[libc] Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 13003 (ThreadPoolForeg), pid 12934 (.MAUIBlazorDemo)`

To Reproduce

  1. Setup MAUI Environment
  2. Create a new MAUI Blazor projet using the default template
  3. Create an Android Device for API 30.
  4. Run the project using the created device.

Exceptions (if any)

No visible exceptions in the emulator, app just closes.

Further technical details

  • ASP.NET Core version: 6
  • Include the output of dotnet --info
  • The IDE (VS / VS Code/ VS4Mac) you're running on, and its version: Version 16.11.0 Preview 2.0
  • Host OS: Windows 11
@Eilon Eilon transferred this issue from dotnet/aspnetcore Jul 9, 2021
@Eilon Eilon removed their assignment Jul 9, 2021
@Eilon
Copy link
Member

Eilon commented Jul 9, 2021

Hi @efonsecab can you confirm whether a non-Blazor MAUI project works for you?

@diegotormes
Copy link

Hi @efonsecab can you confirm whether a non-Blazor MAUI project works for you?

Hi @Eilon, I have the same problem reported with one setup very similar, in my case i got the same error with non-Blazor MAUI.

image

@CopperBeardy
Copy link

Having the same issue the debugger stay attached when running Maui app but when trying to debug a MAUI,Blazor app the debugger will not stay attached to the emulator or device

[Gralloc4] mapper 4.x is not supported
[HostConnection] createUnique: call
[HostConnection] HostConnection::get() New Host Connection established 0xf182eed0, tid 12867
[goldfish-address-space] allocate: Ask for block of size 0x100
[goldfish-address-space] allocate: ioctl allocate returned offset 0x3fef99000 size 0x2000
[HostConnection] HostComposition ext ANDROID_EMU_CHECKSUM_HELPER_v1 ANDROID_EMU_native_sync_v2 ANDROID_EMU_native_sync_v3 ANDROID_EMU_native_sync_v4 ANDROID_EMU_dma_v1 ANDROID_EMU_direct_mem ANDROID_EMU_host_composition_v1 ANDROID_EMU_host_composition_v2 ANDROID_EMU_vulkan ANDROID_EMU_deferred_vulkan_commands ANDROID_EMU_vulkan_null_optional_strings ANDROID_EMU_vulkan_create_resources_with_requirements ANDROID_EMU_YUV_Cache ANDROID_EMU_async_unmap_buffer ANDROID_EMU_vulkan_ignored_handles ANDROID_EMU_vulkan_free_memory_sync ANDROID_EMU_vulkan_shader_float16_int8 ANDROID_EMU_vulkan_async_queue_submit GL_OES_vertex_array_object GL_KHR_texture_compression_astc_ldr ANDROID_EMU_gles_max_version_2
[companyname.Es] * Assertion at /__w/1/s/src/mono/mono/mini/debugger-agent.c:4389, condition `tls' not met
Thread started: #4
[libc] Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 12900 (ThreadPoolForeg), pid 12842 (companyname.Ess)
Thread started: #5

@Eilon
Copy link
Member

Eilon commented Jul 12, 2021

Got it. It doesn't sound to me that this is Blazor specific, but perhaps a more general issue with debugging and Android.

@PaulSorauer-IPG
Copy link

Got it. It doesn't sound to me that this is Blazor specific, but perhaps a more general issue with debugging and Android.

Yes... There's already an issue for this: #1361

@Eilon
Copy link
Member

Eilon commented Jul 16, 2021

Thank you @PaulSorauer-IPG this does look the same. I'll let the Android experts have a look and they can close if they confirm it's a dup.

@PaulSorauer-IPG
Copy link

PaulSorauer-IPG commented Jul 17, 2021 via email

@jfversluis
Copy link
Member

Seems that this is resolved. If I am mistaken here, please let me know!

@ghost ghost locked as resolved and limited conversation to collaborators Feb 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

6 participants