Intermittent CODESIGNING Exception

Chin, Allan 1 Reputation point
2021-09-17T20:53:36.317+00:00

Ever since upgrading Visual Studio for Mac to 8.10.9 (3) debugging the app will throw a CODESIGNING exception. The only way to get around this is to do a Clean build after it happens. Please help. Here's my dev environment, and since I'm unable to upload a a simple .txt document, it's followed by a snippit of the crash dump....

=== Visual Studio Community 2019 for Mac ===

Version 8.10.9 (build 3)
Installation UUID: d4328a7b-6106-4a27-be1f-6f458bd716a0
GTK+ 2.24.23 (Raleigh theme)
Xamarin.Mac 6.18.0.23 (d16-6 / 088c73638)

Package version: 612000140

=== Mono Framework MDK ===

Runtime:
Mono 6.12.0.140 (2020-02/51d876a041e) (64-bit)
Package version: 612000140

=== Roslyn (Language Service) ===

3.10.0-4.21269.26+029847714208ebe49668667c60ea5b0a294e0fcb

=== NuGet ===

Version: 5.9.0.7134

=== .NET Core SDK ===

SDK: /usr/local/share/dotnet/sdk/5.0.401/Sdks
SDK Versions:
5.0.401
5.0.103
5.0.102
5.0.101
5.0.100
3.1.413
3.1.406
3.1.405
3.1.404
3.1.403
3.1.402
3.1.401
3.1.302
3.1.301
3.1.300
3.1.202
3.1.200
3.1.102
3.1.100
3.0.101
2.1.700
2.1.4
MSBuild SDKs: /Applications/Visual Studio.app/Contents/Resources/lib/monodevelop/bin/MSBuild/Current/bin/Sdks

=== .NET Core Runtime ===

Runtime: /usr/local/share/dotnet/dotnet
Runtime Versions:
5.0.10
5.0.3
5.0.2
5.0.1
5.0.0
3.1.19
3.1.12
3.1.11
3.1.10
3.1.9
3.1.8
3.1.7
3.1.6
3.1.5
3.1.4
3.1.2
3.1.0
3.0.1
2.1.23
2.1.22
2.1.21
2.1.20
2.1.19
2.1.18
2.1.17
2.1.16
2.1.15
2.1.14
2.1.11
2.0.5

=== .NET Core 3.1 SDK ===

SDK: 3.1.413

=== Xamarin.Profiler ===

Version: 1.6.15.68
Location: /Applications/Xamarin Profiler.app/Contents/MacOS/Xamarin Profiler

=== Updater ===

Version: 11

=== Apple Developer Tools ===

Xcode 12.5.1 (18212)
Build 12E507

=== Xamarin.Mac ===

Version: 7.14.0.24 (Visual Studio Community)
Hash: c4b89cddb
Branch: d16-10
Build date: 2021-06-15 22:03:00-0400

=== Xamarin.iOS ===

Version: 14.20.0.24 (Visual Studio Community)
Hash: c4b89cddb
Branch: d16-10
Build date: 2021-06-15 22:03:01-0400

=== Xamarin.Android ===

Version: 11.3.0.4 (Visual Studio Community)
Commit: xamarin-android/d16-10/ae14caf
Android SDK: /Users/hpadmin/Library/Developer/Xamarin/android-sdk-macosx
Supported Android versions:
6.0 (API level 23)
7.1 (API level 25)
8.1 (API level 27)

SDK Tools Version: 26.1.1
SDK Platform Tools Version: 30.0.4
SDK Build Tools Version: 30.0.2

Build Information:
Mono: b4a3858
Java.Interop: xamarin/java.interop/d16-10@f39db25
ProGuard: Guardsquare/proguard/v7.0.1@912d149
SQLite: xamarin/sqlite/3.35.4@85460d3
Xamarin.Android Tools: xamarin/xamarin-android-tools/d16-10@c5732a0

=== Microsoft OpenJDK for Mobile ===

Java SDK: /Users/hpadmin/Library/Developer/Xamarin/jdk/microsoft_dist_openjdk_1.8.0.25
1.8.0-25
Android Designer EPL code available here:
https://github.com/xamarin/AndroidDesigner.EPL

=== Android SDK Manager ===

Version: 16.10.0.13
Hash: 1b81df5
Branch: remotes/origin/d16-10
Build date: 2021-08-12 20:43:52 UTC

=== Android Device Manager ===

Version: 16.10.0.15
Hash: 89dcc0b
Branch: remotes/origin/d16-10
Build date: 2021-08-12 20:44:10 UTC

=== Xamarin Designer ===

Version: 16.10.0.119
Hash: 36a2d986f
Branch: remotes/origin/d16-10
Build date: 2021-06-02 19:41:34 UTC

=== Build Information ===

Release ID: 810090003
Git revision: 156eb53c9c668cb7ff4311ae3d1dab894549848b
Build date: 2021-09-08 07:26:54-04
Build branch: release-8.10

=== Operating System ===

Mac OS X 10.16.0
Darwin 20.6.0 Darwin Kernel Version 20.6.0
Wed Jun 23 00:26:31 PDT 2021
root:xnu-7195.141.2~5/RELEASE_X86_64 x86_64

******** Crash Dump snippit **********

Process: HP Smart [9539]
Path: /Users/USER/*/HP Smart.app/Contents/MacOS/HP Smart
Identifier: com.hp.SmartMac
Version: 13.2.0 (1)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: HP Smart [9539]
User ID: 501

Date/Time: 2021-09-17 13:32:04.569 -0700
OS Version: macOS 11.5.2 (20G95)
Report Version: 12
Bridge OS Version: 5.5 (18P4759a)
Anonymous UUID: 4A7F7C39-3B77-1198-5ED9-BA3FBD770936

Sleep/Wake UUID: 4903B6CC-7E4E-4C7E-8D08-BFA5854AE123

Time Awake Since Boot: 17000 seconds
Time Since Wake: 200 seconds

System Integrity Protection: enabled

Crashed Thread: 14 Thread Pool Worker

Exception Type: EXC_BAD_ACCESS (Code Signature Invalid)
Exception Codes: 0x0000000000000032, 0x0000000132b04000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace CODESIGNING, Code 0x2

kernel messages:

VM Regions Near 0x132b04000:
VM_ALLOCATE 132af4000-132b04000 [ 64K] rwx/rwx SM=PRV
--> mapped file 132b04000-132b05000 [ 4K] r--/r-x SM=PRV Object_id=9b115205
JS JIT generated code 5bf8c4600000-5bf8c4601000 [ 4K] ---/rwx SM=NUL

Application Specific Information:
dyld: in dlopen()
/Users/hpadmin/Projects/Gotham-Ultron/gotham-ultron/Mac/SmartApp/bin/Debug/HP Smart.app/Contents/MonoBundle/libMonoPosixHelper.dylib

Thread 0:: tid_103 Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff203f92ba mach_msg_trap + 10
1 libsystem_kernel.dylib 0x00007fff203f962c mach_msg + 60
2 com.apple.CoreFoundation 0x00007fff20527b2f __CFRunLoopServiceMachPort + 316
3 com.apple.CoreFoundation 0x00007fff2052620f __CFRunLoopRun + 1328
4 com.apple.CoreFoundation 0x00007fff2052561c CFRunLoopRunSpecific + 563
5 com.apple.HIToolbox 0x00007fff2876ba83 RunCurrentEventLoopInMode + 292
6 com.apple.HIToolbox 0x00007fff2876b7e5 ReceiveNextEventCommon + 587
7 com.apple.HIToolbox 0x00007fff2876b583 _BlockUntilNextEventMatchingListInModeWithFilter + 70
8 com.apple.AppKit 0x00007fff22d2d172 _DPSNextEvent + 864
9 com.apple.AppKit 0x00007fff22d2b945 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1364
10 com.apple.AppKit 0x00007fff22d1dc69 -[NSApplication run] + 586
11 com.apple.AppKit 0x00007fff22cf1e6c NSApplicationMain + 816
12 ??? 0x00000001128a3307 0 + 4606014215
13 ??? 0x00000001128a2fb3 0 + 4606013363
14 ??? 0x000000010ab4a9e3 0 + 4474579427
15 ??? 0x000000010ab4b1a1 0 + 4474581409
16 com.hp.SmartMac 0x00000001082f6893 mono_jit_runtime_invoke + 1603 (mini-runtime.c:3197)
17 com.hp.SmartMac 0x000000010842ad08 do_runtime_invoke + 54 (object.c:3052) [inlined]
18 com.hp.SmartMac 0x000000010842ad08 mono_runtime_invoke_checked + 136 (object.c:3220)
19 com.hp.SmartMac 0x00000001084320d5 do_exec_main_checked + 60 [inlined]
20 com.hp.SmartMac 0x00000001084320d5 mono_runtime_exec_main_checked + 117 (object.c:5284)
21 com.hp.SmartMac 0x0000000108251bdc mono_jit_exec_internal + 14 (driver.c:1383) [inlined]
22 com.hp.SmartMac 0x0000000108251bdc mono_jit_exec + 364 (driver.c:1328)
23 com.hp.SmartMac 0x0000000108254c78 main_thread_handler + 131 (driver.c:1465) [inlined]
24 com.hp.SmartMac 0x0000000108254c78 mono_main + 8728 (driver.c:2714)
25 com.hp.SmartMac 0x00000001081e3d7b xamarin_main + 1179 (launcher.m:658)
26 com.hp.SmartMac 0x00000001081e4c84 main + 36 (launcher.m:677)
27 libdyld.dylib 0x00007fff20449f3d start + 1

Thread 1:: tid_270b
0 libsystem_pthread.dylib 0x00007fff2042a420 start_wqthread + 0

Thread 2:: SGen worker
0 libsystem_kernel.dylib 0x00007fff203fbcde __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x00007fff2042ee49 _pthread_cond_wait + 1298
2 com.hp.SmartMac 0x00000001084e18c3 mono_os_cond_wait + 22 (mono-os-mutex.h:219) [inlined]
3 com.hp.SmartMac 0x00000001084e18c3 get_work + 22 (sgen-thread-pool.c:165) [inlined]
4 com.hp.SmartMac 0x00000001084e18c3 thread_func + 227 (sgen-thread-pool.c:196)
5 libsystem_pthread.dylib 0x00007fff2042e8fc _pthread_start + 224
6 libsystem_pthread.dylib 0x00007fff2042a443 thread_start + 15

Thread 3:: Finalizer
0 libsystem_kernel.dylib 0x00007fff203f92f6 semaphore_wait_trap + 10
1 com.hp.SmartMac 0x00000001083b25ab mono_os_sem_wait + 11 (mono-os-semaphore.h:84) [inlined]
2 com.hp.SmartMac 0x00000001083b25ab mono_coop_sem_wait + 37 (mono-coop-semaphore.h:41)

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
37,538 questions
{count} votes