Under Review

Client crashes on macOS Monterey Beta 4

  • 3 August 2021
  • 1 reply
  • 35 views

I’m aware I’m using a Beta OS and I have no expectation of the client working right under these circumstances, but I still want to report this for you people to be prepared for autumn.

 

Launcher v4.27.5

Client v3.13.4

macOS Monterey Beta 4 (Beta 3 was still fine)

 

Launcher starts, but client crashes immediately with “-[__NSCFData _fastCharacterContents]: unrecognized selector sent to instance” 

 


Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
*** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '-[__NSCFData _fastCharacterContents]: unrecognized selector sent to instance 0x600002034410'
abort() called
terminating with uncaught exception of type NSException


Application Specific Backtrace 0:
0   CoreFoundation                      0x00007ff81e6eda6b __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007ff81e452b9d objc_exception_throw + 48
2   CoreFoundation                      0x00007ff81e77248b -[NSObject(NSObject) __retain_OA] + 0
3   CoreFoundation                      0x00007ff81e654c59 ___forwarding___ + 1406
4   CoreFoundation                      0x00007ff81e654648 _CF_forwarding_prep_0 + 120
5   CoreFoundation                      0x00007ff81e61cb37 __CFStringEncodeByteStream + 2820
6   libSDL2-2.0.dylib                   0x0000000110422750 PLATFORM_hid_enumerate + 1008
7   libSDL2-2.0.dylib                   0x0000000110423acd hid_enumerate + 61
8   libSDL2-2.0.dylib                   0x00000001104212c9 HIDAPI_UpdateDeviceList + 89
9   libSDL2-2.0.dylib                   0x0000000110421857 HIDAPI_JoystickDetect + 247
10  libSDL2-2.0.dylib                   0x00000001104211dd HIDAPI_JoystickInit + 605
11  libSDL2-2.0.dylib                   0x0000000110412851 SDL_JoystickInit + 81
12  libSDL2-2.0.dylib                   0x0000000110351c35 SDL_InitSubSystem_REAL + 245
13  Shadow                              0x000000010b9380b8 Shadow + 1564856
14  Shadow                              0x000000010b7d6eb2 Shadow + 118450
15  Shadow                              0x000000010b8a56d7 Shadow + 964311
16  Shadow                              0x000000010b7d8e6b Shadow + 126571
17  dyld                                0x0000000117ecd4d5 start + 421
18  ???                                 0x0000000000000000 0x0 + 0
19  Shadow                              0x000000010b7ba000 __dso_handle + 0


Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib                0x7ff81e5792a2 0x7ff81e572000 + 29346
1   libsystem_pthread.dylib               0x7ff81e5a92c7 0x7ff81e5a3000 + 25287
2   libsystem_c.dylib                     0x7ff81e4fbd10 0x7ff81e47a000 + 531728
3   libc++abi.dylib                       0x7ff81e56c0b2 0x7ff81e55c000 + 65714
4   libc++abi.dylib                       0x7ff81e55d1fd 0x7ff81e55c000 + 4605
5   libobjc.A.dylib                       0x7ff81e45a509 0x7ff81e43d000 + 120073
6   libc++abi.dylib                       0x7ff81e56b4d7 0x7ff81e55c000 + 62679
7   libc++abi.dylib                       0x7ff81e56dd55 0x7ff81e55c000 + 73045
8   libc++abi.dylib                       0x7ff81e56dd1c 0x7ff81e55c000 + 72988
9   libobjc.A.dylib                       0x7ff81e452c9b 0x7ff81e43d000 + 89243
10  CoreFoundation                        0x7ff81e77248b 0x7ff81e5f1000 + 1578123
11  CoreFoundation                        0x7ff81e654c59 0x7ff81e5f1000 + 408665
12  CoreFoundation                        0x7ff81e654648 0x7ff81e5f1000 + 407112
13  CoreFoundation                        0x7ff81e61cb37 0x7ff81e5f1000 + 178999
14  libSDL2-2.0.dylib                        0x110422750 0x110348000 + 894800
15  libSDL2-2.0.dylib                        0x110423acd 0x110348000 + 899789
16  libSDL2-2.0.dylib                        0x1104212c9 0x110348000 + 889545
17  libSDL2-2.0.dylib                        0x110421857 0x110348000 + 890967
18  libSDL2-2.0.dylib                        0x1104211dd 0x110348000 + 889309
19  libSDL2-2.0.dylib                        0x110412851 0x110348000 + 829521
20  libSDL2-2.0.dylib                        0x110351c35 0x110348000 + 39989
21  Shadow                                   0x10b9380b8 0x10b7ba000 + 1564856
22  Shadow                                   0x10b7d6eb2 0x10b7ba000 + 118450
23  Shadow                                   0x10b8a56d7 0x10b7ba000 + 964311
24  Shadow                                   0x10b7d8e6b 0x10b7ba000 + 126571
25  dyld                                     0x117ecd4d5 0x117ec8000 + 21717

Thread 1:
0   libsystem_kernel.dylib                0x7ff81e575696 0x7ff81e572000 + 13974
1   libsystem_pthread.dylib               0x7ff81e5a9b1d 0x7ff81e5a3000 + 27421
2   libc++.1.dylib                        0x7ff81e50ef53 0x7ff81e503000 + 48979
3   Shadow                                   0x10ba6b2eb 0x10b7ba000 + 2822891
4   Shadow                                   0x10bafb6be 0x10b7ba000 + 3413694
5   Shadow                                   0x10bafb54c 0x10b7ba000 + 3413324
6   Shadow                                   0x10bafbee8 0x10b7ba000 + 3415784
7   libsystem_pthread.dylib               0x7ff81e5a95a8 0x7ff81e5a3000 + 26024
8   libsystem_pthread.dylib               0x7ff81e5a50c3 0x7ff81e5a3000 + 8387

Thread 2:
0   libsystem_pthread.dylib               0x7ff81e5a50a0 0x7ff81e5a3000 + 8352

Thread 3:
0   libsystem_pthread.dylib               0x7ff81e5a50a0 0x7ff81e5a3000 + 8352

Thread 4:
0   libsystem_pthread.dylib               0x7ff81e5a50a0 0x7ff81e5a3000 + 8352

Thread 5:
0   libsystem_pthread.dylib               0x7ff81e5a50a0 0x7ff81e5a3000 + 8352

Thread 6:: Com Chan
0   libsystem_kernel.dylib                0x7ff81e5775ee 0x7ff81e572000 + 21998
1   Shadow                                   0x10bb7fdd4 0x10b7ba000 + 3956180
2   Shadow                                   0x10bb6e281 0x10b7ba000 + 3883649
3   Shadow                                   0x10b9c23c9 0x10b7ba000 + 2130889
4   Shadow                                   0x10b9c2bbe 0x10b7ba000 + 2132926
5   libsystem_pthread.dylib               0x7ff81e5a95a8 0x7ff81e5a3000 + 26024
6   libsystem_pthread.dylib               0x7ff81e5a50c3 0x7ff81e5a3000 + 8387

Thread 7:: StatsCollector
0   libsystem_kernel.dylib                0x7ff81e5775ee 0x7ff81e572000 + 21998
1   Shadow                                   0x10bb7fdd4 0x10b7ba000 + 3956180
2   Shadow                                   0x10bb6e281 0x10b7ba000 + 3883649
3   Shadow                                   0x10b93cdcd 0x10b7ba000 + 1584589
4   Shadow                                   0x10b93d96e 0x10b7ba000 + 1587566
5   libsystem_pthread.dylib               0x7ff81e5a95a8 0x7ff81e5a3000 + 26024
6   libsystem_pthread.dylib               0x7ff81e5a50c3 0x7ff81e5a3000 + 8387


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000117f3c600  rcx: 0x00000001100d5f18  rdx: 0x0000000000000000
  rdi: 0x0000000000000103  rsi: 0x0000000000000006  rbp: 0x00000001100d5f40  rsp: 0x00000001100d5f18
   r8: 0x00000001100d5de0   r9: 0x00007ff81e56efa1  r10: 0x0000000000000000  r11: 0x0000000000000246
  r12: 0x0000000000000103  r13: 0x0000003000000008  r14: 0x0000000000000006  r15: 0x0000000000000016
  rip: 0x00007ff81e5792a2  rfl: 0x0000000000000246  cr2: 0x00007ff85e2bd2d8
  
Logical CPU:     0
Error Code:      0x02000148 
Trap Number:     133


Binary Images:
    0x7ff81e572000 -     0x7ff81e5a2fff libsystem_kernel.dylib (*) <95d0c67c-6f79-3fb1-b86c-0807435bc150> /usr/lib/system/libsystem_kernel.dylib
    0x7ff81e5a3000 -     0x7ff81e5aefff libsystem_pthread.dylib (*) <64e69af9-3964-396d-aa39-95b86bf68f55> /usr/lib/system/libsystem_pthread.dylib
    0x7ff81e47a000 -     0x7ff81e502fff libsystem_c.dylib (*) <88124e02-2312-32f0-ae1c-39861fd7cbfd> /usr/lib/system/libsystem_c.dylib
    0x7ff81e55c000 -     0x7ff81e571fff libc++abi.dylib (*) <43412d99-049c-3d6d-8959-439cf05e7d5f> /usr/lib/libc++abi.dylib
    0x7ff81e43d000 -     0x7ff81e476fff libobjc.A.dylib (*) <6d4fbf94-2281-3b8a-af91-d7d9189465da> /usr/lib/libobjc.A.dylib
    0x7ff81e5f1000 -     0x7ff81eaf2fff com.apple.CoreFoundation (6.9) <45249d64-25d3-3e6e-b2f3-425f7cfc11dc> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
       0x110348000 -        0x110463fff libSDL2-2.0.dylib (*) <de3a8b2c-4ae3-32e4-9bc9-65626fb8b4eb> /Applications/Shadow.app/Contents/Resources/app.asar.unpacked/release/native/Shadow.app/Contents/Frameworks/libSDL2-2.0.dylib
       0x10b7ba000 -        0x10bee9fff com.blade.shadow-macos (3.13.4) <1aaa8d82-d39f-3db7-af92-8998ef2c7c3c> /Applications/Shadow.app/Contents/Resources/app.asar.unpacked/release/native/Shadow.app/Contents/MacOS/Shadow
       0x117ec8000 -        0x117f2ffff dyld (*) <dc3377fa-9121-3b39-bc31-50248a0e6bb9> /usr/lib/dyld
    0x7ff81e503000 -     0x7ff81e55bfff libc++.1.dylib (*) <f599b13f-6275-3735-b14f-a5ef216cdeae> /usr/lib/libc++.1.dylib
               0x0 - 0xffffffffffffffff ??? (*) <00000000-0000-0000-0000-000000000000> ???

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=916.3M resident=0K(0%) swapped_out_or_unallocated=916.3M(100%)
Writable regions: Total=1.5G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=1.5G(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               256K        2 
Activity Tracing                   256K        1 
CG image                            36K        2 
ColorSync                          220K       24 
CoreAnimation                       40K        5 
CoreGraphics                         8K        2 
CoreUI image data                  632K        5 
Foundation                          16K        1 
Kernel Alloc Once                    8K        1 
MALLOC                           279.4M       56 
MALLOC guard page                   48K       10 
MALLOC_MEDIUM (reserved)         840.0M        7         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           384.0M        1         reserved VM address space (unallocated)
STACK GUARD                       56.0M        8 
Stack                             11.6M        8 
VM_ALLOCATE                         20K        5 
__DATA                            20.1M      325 
__DATA_CONST                      13.6M      189 
__DATA_DIRTY                       624K      107 
__FONT_DATA                          4K        1 
__LINKEDIT                       650.1M       15 
__OBJC_RO                         80.9M        1 
__OBJC_RW                         3040K        2 
__TEXT                           266.2M      341 
__UNICODE                          588K        1 
dyld private memory               1024K        1 
mapped file                       61.5M       12 
shared memory                     1296K       16 
===========                     =======  ======= 
TOTAL                              2.6G     1149 
TOTAL, minus reserved VM space     1.4G     1149 
 


1 reply

Hello @pilif 

Thanks for reporting this bug and for providing detailed crash reporting logs. 

We’ve seen similar cases like these occur that can be resolved by disconnecting AirPods from their Mac devices. Are you currently running AirPods? If not, could you please let us know how we can best reproduce this issue. 

Once again, thanks for being the best part of Shadow and reporting this bug.

Reply