Skip to content

.NET 6 Preview 6 breaks net6.0-macos / osx-arm64 #55773

Closed

Description

After upgrading from Preview 5 to Preview 6 I get this startup crash:

filipnavara@Filips-MacBook-Air emclient % lldb ./MailClient/bin/Debug/net6.0-macos/osx-arm64/MailClient.app/Contents/MacOS/MailClient
(lldb) target create "./MailClient/bin/Debug/net6.0-macos/osx-arm64/MailClient.app/Contents/MacOS/MailClient"
Current executable set to '/Users/filipnavara/Projects/emclient/MailClient/bin/Debug/net6.0-macos/osx-arm64/MailClient.app/Contents/MacOS/MailClient' (arm64).
(lldb) run
Process 24398 launched: '/Users/filipnavara/Projects/emclient/MailClient/bin/Debug/net6.0-macos/osx-arm64/MailClient.app/Contents/MacOS/MailClient' (arm64)
objc[24398]: Class NSURLSessionDelegate is implemented in both /System/Library/PrivateFrameworks/NetworkServiceProxy.framework/Versions/A/NetworkServiceProxy (0x1f6edf640) and /Users/filipnavara/Projects/emclient/MailClient/bin/Debug/net6.0-macos/osx-arm64/MailClient.app/Contents/MacOS/MailClient (0x10018c6f0). One of the two will be used. Which one is undefined.
Process 24398 stopped
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x2800c4000)
    frame #0: 0x0000000100df4f88 libcoreclr.dylib`UMEntryThunkCache::GetUMEntryThunk(MethodDesc*) + 260
libcoreclr.dylib`UMEntryThunkCache::GetUMEntryThunk:
->  0x100df4f88 <+260>: stp    q0, q0, [x23]
    0x100df4f8c <+264>: stp    x25, xzr, [x23, #0x18]
    0x100df4f90 <+268>: mov    w8, #0x1
    0x100df4f94 <+272>: stp    x8, x22, [x23]
Target 0: (MailClient) stopped.
(lldb) bt
* thread #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=2, address=0x2800c4000)
  * frame #0: 0x0000000100df4f88 libcoreclr.dylib`UMEntryThunkCache::GetUMEntryThunk(MethodDesc*) + 260
    frame #1: 0x0000000100ce9630 libcoreclr.dylib`CorHost2::CreateDelegate(unsigned int, char16_t const*, char16_t const*, char16_t const*, long*) + 800
    frame #2: 0x0000000100ca27f0 libcoreclr.dylib`coreclr_create_delegate + 112
    frame #3: 0x000000010004136c MailClient`xamarin_bridge_call_runtime_initialize(options=0x00000001001a5440, exception_gchandle=0x000000016fdfed10) at coreclr-bridge.m:406:11
    frame #4: 0x00000001000368b4 MailClient`xamarin_initialize at runtime.m:1284:2
    frame #5: 0x00000001000460fc MailClient`xamarin_main(argc=1, argv=0x000000016fdff7a0, launch_mode=XamarinLaunchModeApp) at monotouch-main.m:423:2
    frame #6: 0x00000001000d3588 MailClient`main(argc=1, argv=0x000000016fdff7a0) at main.arm64.mm:47:11
    frame #7: 0x00000001004450fc dyld`start + 520
(lldb) 

cc @rolfbjarne @janvorli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions