@amanhimself
I have the same issue. Upgrading from SDK 45 to 47 and only iOS crashes on simulator. I also did create a new fresh app and it also crashes, but does not crash using react-native-cli.
I have an old MacBook Pro 2011 using Monterey 12.6.1 and just Expo Go won’t start. Its version is 2.26.4.101
Running fresh expo app crashes on any iOS simulator
It seems that RNSkDrawViewImpl.mm
is related to react-native-skia
expo-env-info 1.0.5 environment info:
System:
OS: macOS 12.6.1
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.15.0 - ~/.nvm/versions/node/v16.15.0/bin/node
Yarn: 1.22.18 - ~/.nvm/versions/node/v16.15.0/bin/yarn
npm: 9.1.3 - ~/.nvm/versions/node/v16.15.0/bin/npm
Managers:
CocoaPods: 1.11.3 - /Users/philippe/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
IDEs:
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
npmPackages:
expo: ~47.0.8 => 47.0.8
react: 18.1.0 => 18.1.0
react-native: 0.70.5 => 0.70.5
npmGlobalPackages:
eas-cli: 3.0.0
expo-cli: 5.4.8
Expo Workflow: managed
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Incident Identifier: 3399EEBC-9D96-4412-98BA-A0474EA0B9A1
CrashReporter Key: FD943CC5-D53F-BC18-DD17-2990EDA435AF
Hardware Model: MacBookPro8,3
Process: Expo Go [22658]
Path: /Users/USER/Library/Developer/CoreSimulator/Devices/BA9D1C76-F618-4837-AD61-9AC8DC21CB3E/data/Containers/Bundle/Application/C29F09CA-21FD-4205-AB14-1E355ED27004/Exponent-2.26.4.tar.app/Expo Go
Identifier: host.exp.Exponent
Version: 2.26.4 (2.26.4.101)
Code Type: X86-64 (Native)
Role: Foreground
Parent Process: launchd_sim [15229]
Coalition: com.apple.CoreSimulator.SimDevice.BA9D1C76-F618-4837-AD61-9AC8DC21CB3E [18185]
Responsible Process: SimulatorTrampoline [1803]
Date/Time: 2022-12-08 11:33:26.6227 -0500
Launch Time: 2022-12-08 11:33:25.5728 -0500
OS Version: macOS 12.6.1 (21G215)
Release Type: User
Report Version: 104
Exception Type: EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes: 0x0000000000000001, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Termination Reason: SIGNAL 4 Illegal instruction: 4
Terminating Process: exc handler [22658]
Triggered by Thread: 0
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 CoreFoundation 0x7fff204a3752 CFRetain.cold.1 + 14
1 CoreFoundation 0x7fff20391eec CFRetain + 86
2 Expo Go 0x10ef5faa0 _GLOBAL__sub_I_ABI46_0_0RNSkDrawViewImpl.mm + 54
3 dyld_sim 0x117ab5c95 ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 513
4 dyld_sim 0x117ab608a ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 40
5 dyld_sim 0x117ab0bb7 ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 455
6 dyld_sim 0x117aaeec7 ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 191
7 dyld_sim 0x117aaef68 ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 82
8 dyld_sim 0x117aa226b dyld::initializeMainExecutable() + 199
9 dyld_sim 0x117aa6f56 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 4789
10 dyld_sim 0x117aa11c2 start_sim + 122
11 dyld 0x11ba3cb78 dyld4::prepareSim(dyld4::RuntimeState&, char const*) + 1265
12 dyld 0x11ba3b70e dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*) + 244
13 dyld 0x11ba3b4e4 start + 388
Thread 1:
0 libsystem_pthread.dylib 0x7fff60346f48 start_wqthread + 0
Thread 2:
0 libsystem_pthread.dylib 0x7fff60346f48 start_wqthread + 0
Thread 3:
0 libsystem_pthread.dylib 0x7fff60346f48 start_wqthread + 0
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x00007fff206738d3 rbx: 0x0000000000000000 rcx: 0xff80008800000001 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x00007fff6067b5f1 rbp: 0x00007ff7b17c6c10 rsp: 0x00007ff7b17c6c08
r8: 0x00000000000001b0 r9: 0x0000000000000030 r10: 0x0000000000000039 r11: 0x00007fff20391e96
r12: 0x00007ff7b17c6c40 r13: 0x000000000000001c r14: 0x00007fe6fe8120a8 r15: 0x0000000000000000
rip: 0x00007fff204a3752 rfl: 0x0000000000010246 cr2: 0x00007fff204a3744
Logical CPU: 4
Error Code: 0x00000000
Trap Number: 6
Binary Images:
0x7fff20311000 - 0x7fff206aefff com.apple.CoreFoundation (6.9) <9bfc8556-af16-311f-874e-374fa485fe2e> /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
0x10e72f000 - 0x112422fff host.exp.Exponent (2.26.4) <3478c841-8ff3-3610-a99c-5a76f36cb64b> /Users/USER/Library/Developer/CoreSimulator/Devices/BA9D1C76-F618-4837-AD61-9AC8DC21CB3E/data/Containers/Bundle/Application/C29F09CA-21FD-4205-AB14-1E355ED27004/Exponent-2.26.4.tar.app/Expo Go
0x117aa0000 - 0x117af9fff dyld_sim (*) <2a92fc99-72a9-38ed-8ddd-af4c25080124> /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/dyld_sim
0x11ba36000 - 0x11baa1fff dyld (*) <7b87a986-a153-33c4-8470-d56410b7f9d5> /usr/lib/dyld
0x7fff60345000 - 0x7fff60350fff libsystem_pthread.dylib (*) <b5454e27-e8c7-3fdb-b77f-714f1e82e70b> /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 14.5.simruntime/Contents/Resources/RuntimeRoot/usr/lib/system/libsystem_pthread.dylib
EOF
-----------
Full Report
-----------
{"app_name":"Expo Go","timestamp":"2022-12-08 11:33:29.00 -0500","app_version":"2.26.4","slice_uuid":"3478c841-8ff3-3610-a99c-5a76f36cb64b","build_version":"2.26.4.101","platform":7,"bundleID":"host.exp.Exponent","share_with_app_devs":0,"is_first_party":0,"bug_type":"309","os_version":"macOS 12.6.1 (21G215)","incident_id":"3399EEBC-9D96-4412-98BA-A0474EA0B9A1","name":"Expo Go"}
{
"uptime" : 26000,
"procLaunch" : "2022-12-08 11:33:25.5728 -0500",
"procRole" : "Foreground",
"version" : 2,
"userID" : 501,
"deployVersion" : 210,
"modelCode" : "MacBookPro8,3",
"procStartAbsTime" : 26183641476016,
"coalitionID" : 18185,
"osVersion" : {
"train" : "macOS 12.6.1",
"build" : "21G215",
"releaseType" : "User"
},
"captureTime" : "2022-12-08 11:33:26.6227 -0500",
"incident" : "3399EEBC-9D96-4412-98BA-A0474EA0B9A1",
"bug_type" : "309",
"pid" : 22658,
"procExitAbsTime" : 26184690533050,
"cpuType" : "X86-64",
"procName" : "Expo Go",
"procPath" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/BA9D1C76-F618-4837-AD61-9AC8DC21CB3E\/data\/Containers\/Bundle\/Application\/C29F09CA-21FD-4205-AB14-1E355ED27004\/Exponent-2.26.4.tar.app\/Expo Go",
"bundleInfo" : {"CFBundleShortVersionString":"2.26.4","CFBundleVersion":"2.26.4.101","CFBundleIdentifier":"host.exp.Exponent"},
"storeInfo" : {"deviceIdentifierForVendor":"C72BB32D-A8DD-51D9-8D1D-51C067F3890C","thirdParty":true},
"parentProc" : "launchd_sim",
"parentPid" : 15229,
"coalitionName" : "com.apple.CoreSimulator.SimDevice.BA9D1C76-F618-4837-AD61-9AC8DC21CB3E",
"crashReporterKey" : "FD943CC5-D53F-BC18-DD17-2990EDA435AF",
"responsiblePid" : 1803,
"responsibleProc" : "SimulatorTrampoline",
"wakeTime" : 6902,
"sleepWakeUUID" : "3C99F643-72C0-4DB2-AE76-FC6D53801811",
"sip" : "enabled",
"isCorpse" : 1,
"exception" : {"codes":"0x0000000000000001, 0x0000000000000000","rawCodes":[1,0],"type":"EXC_BAD_INSTRUCTION","signal":"SIGILL"},
"termination" : {"flags":0,"code":4,"namespace":"SIGNAL","indicator":"Illegal instruction: 4","byProc":"exc handler","byPid":22658},
"extMods" : {"caller":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"system":{"thread_create":0,"thread_set_state":113,"task_for_pid":6},"targeted":{"thread_create":0,"thread_set_state":0,"task_for_pid":0},"warnings":0},
"faultingThread" : 0,
"threads" : [{"triggered":true,"id":547169,"instructionState":{"instructionStream":{"bytes":[137,195,72,133,192,76,141,37,26,236,28,0,73,15,68,220,76,137,247,232,162,235,238,255,72,133,192,73,15,68,196,72,137,4,36,72,141,21,120,1,29,0,76,141,165,224,254,255,255,190,255,0,0,0,76,137,231,76,137,249,73,137,216,77,137,241,49,192,232,37,173,0,0,76,137,37,70,193,212,95,15,11,72,141,5,136,1,29,0,72,137,5,54,193,212,95,15,11,72,141,5,163,3,29,0,72,137,5,38,193,212,95,15,11,72,141,5,147,3,29,0,72,137,5,22,193,212,95,15,11,72,141,5,131,3,29,0,72,137,5,6,193,212,95,15,11,72,141,5,211,2,29,0,72,137,5,246,192,212,95,15,11,72,141,5,195,2,29,0,72,137,5,230,192,212,95,15,11,72,141,5,76,1,29,0,72,137,5,214,192,212,95],"offset":96}},"threadState":{"r13":{"value":28},"rax":{"value":140733737023699,"symbolLocation":6931,"symbol":"_XMLPlistAppendDataUsingBase64.__CFPLDataEncodeTable"},"rflags":{"value":66118},"cpu":{"value":4},"r14":{"value":140630089081000},"rsi":{"value":140734810797553,"objc-selector":"newCommandQueue"},"r8":{"value":432},"cr2":{"value":140733735122756},"rdx":{"value":0},"r10":{"value":57},"r9":{"value":48},"r15":{"value":0},"rbx":{"value":0},"trap":{"value":6},"err":{"value":0},"r11":{"value":140733734002326,"symbolLocation":0,"symbol":"CFRetain"},"rip":{"value":140733735122770,"matchesCrashFrame":1},"rbp":{"value":140701811371024},"rsp":{"value":140701811371016},"r12":{"value":140701811371072},"rcx":{"value":18410715860806139905},"flavor":"x86_THREAD_STATE","rdi":{"value":0}},"queue":"com.apple.main-thread","frames":[{"imageOffset":1648466,"symbol":"CFRetain.cold.1","symbolLocation":14,"imageIndex":0},{"imageOffset":528108,"symbol":"CFRetain","symbolLocation":86,"imageIndex":0},{"imageOffset":8587936,"symbol":"_GLOBAL__sub_I_ABI46_0_0RNSkDrawViewImpl.mm","symbolLocation":54,"imageIndex":1},{"imageOffset":89237,"symbol":"ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&)","symbolLocation":513,"imageIndex":2},{"imageOffset":90250,"symbol":"ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&)","symbolLocation":40,"imageIndex":2},{"imageOffset":68535,"symbol":"ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, char const*, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&)","symbolLocation":455,"imageIndex":2},{"imageOffset":61127,"symbol":"ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&)","symbolLocation":191,"imageIndex":2},{"imageOffset":61288,"symbol":"ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&)","symbolLocation":82,"imageIndex":2},{"imageOffset":8811,"symbol":"dyld::initializeMainExecutable()","symbolLocation":199,"imageIndex":2},{"imageOffset":28502,"symbol":"dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*)","symbolLocation":4789,"imageIndex":2},{"imageOffset":4546,"symbol":"start_sim","symbolLocation":122,"imageIndex":2},{"imageOffset":27512,"symbol":"dyld4::prepareSim(dyld4::RuntimeState&, char const*)","symbolLocation":1265,"imageIndex":3},{"imageOffset":22286,"symbol":"dyld4::prepare(dyld4::APIs&, dyld3::MachOAnalyzer const*)","symbolLocation":244,"imageIndex":3},{"imageOffset":21732,"symbol":"start","symbolLocation":388,"imageIndex":3}]},{"id":547198,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":547199,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]},{"id":547200,"frames":[{"imageOffset":8008,"symbol":"start_wqthread","symbolLocation":0,"imageIndex":4}]}],
"usedImages" : [
{
"source" : "P",
"arch" : "x86_64",
"base" : 140733733474304,
"CFBundleShortVersionString" : "6.9",
"CFBundleIdentifier" : "com.apple.CoreFoundation",
"size" : 3792896,
"uuid" : "9bfc8556-af16-311f-874e-374fa485fe2e",
"path" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 14.5.simruntime\/Contents\/Resources\/RuntimeRoot\/System\/Library\/Frameworks\/CoreFoundation.framework\/CoreFoundation",
"name" : "CoreFoundation",
"CFBundleVersion" : "1775.118.101"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4537380864,
"CFBundleShortVersionString" : "2.26.4",
"CFBundleIdentifier" : "host.exp.Exponent",
"size" : 63913984,
"uuid" : "3478c841-8ff3-3610-a99c-5a76f36cb64b",
"path" : "\/Users\/USER\/Library\/Developer\/CoreSimulator\/Devices\/BA9D1C76-F618-4837-AD61-9AC8DC21CB3E\/data\/Containers\/Bundle\/Application\/C29F09CA-21FD-4205-AB14-1E355ED27004\/Exponent-2.26.4.tar.app\/Expo Go",
"name" : "Expo Go",
"CFBundleVersion" : "2.26.4.101"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4691984384,
"size" : 368640,
"uuid" : "2a92fc99-72a9-38ed-8ddd-af4c25080124",
"path" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 14.5.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/dyld_sim",
"name" : "dyld_sim"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 4758659072,
"size" : 442368,
"uuid" : "7b87a986-a153-33c4-8470-d56410b7f9d5",
"path" : "\/usr\/lib\/dyld",
"name" : "dyld"
},
{
"source" : "P",
"arch" : "x86_64",
"base" : 140734807429120,
"size" : 49152,
"uuid" : "b5454e27-e8c7-3fdb-b77f-714f1e82e70b",
"path" : "\/Library\/Developer\/CoreSimulator\/Profiles\/Runtimes\/iOS 14.5.simruntime\/Contents\/Resources\/RuntimeRoot\/usr\/lib\/system\/libsystem_pthread.dylib",
"name" : "libsystem_pthread.dylib"
}
],
"sharedCache" : {
"base" : 140733730258944,
"size" : 3151577088,
"uuid" : "d4b8562d-ce82-3fbe-8ae0-30fdcc64863b"
},
"vmSummary" : "ReadOnly portion of Libraries: Total=1.1G resident=0K(0%) swapped_out_or_unallocated=1.1G(100%)\nWritable regions: Total=579.9M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=579.9M(100%)\n\n VIRTUAL REGION \nREGION TYPE SIZE COUNT (non-coalesced) \n=========== ======= ======= \nActivity Tracing 256K 1 \nFoundation 16K 1 \nKernel Alloc Once 8K 1 \nMALLOC 183.0M 25 \nMALLOC guard page 16K 4 \nMALLOC_NANO (reserved) 384.0M 1 reserved VM address space (unallocated)\nSTACK GUARD 56.0M 4 \nStack 9752K 4 \nVM_ALLOCATE 408K 4 \n__DATA 33.2M 607 \n__DATA_CONST 57.0M 601 \n__DATA_DIRTY 22K 10 \n__FONT_DATA 4K 1 \n__LINKEDIT 494.9M 12 \n__OBJC_RO 62.5M 1 \n__OBJC_RW 2656K 1 \n__TEXT 606.9M 613 \n__UNICODE 588K 1 \ndyld private memory 1024K 1 \nmapped file 29.3M 3 \nshared memory 16K 1 \n=========== ======= ======= \nTOTAL 1.9G 1897 \nTOTAL, minus reserved VM space 1.5G 1897 \n",
"legacyInfo" : {
"threadTriggered" : {
"queue" : "com.apple.main-thread"
}
},
"trialInfo" : {
"rollouts" : [
{
"rolloutId" : "6112e14f37f5d11121dcd519",
"factorPackIds" : {
"SIRI_TEXT_TO_SPEECH" : "634710168e8be655c1316aaa"
},
"deploymentId" : 240000229
},
{
"rolloutId" : "60f8ddccefea4203d95cbeef",
"factorPackIds" : {
},
"deploymentId" : 240000021
}
],
"experiments" : [
]
}
}
Model: MacBookPro8,3, BootROM 87.0.0.0.0, 4 processors, Quad-Core Intel Core i7, 2.3 GHz, 8 GB, SMC 1.70f6
Graphics: Intel HD Graphics 3000, Intel HD Graphics 3000, Built-In
Display: Color LCD, 1920 x 1200 (WUXGA - Widescreen Ultra eXtended Graphics Array), Main, MirrorOff, Online
Graphics: AMD Radeon HD 6750M, AMD Radeon HD 6750M, PCIe, 1 GB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1333 MHz, 0x08AE, 0x000000000000000000000000000000000000
Memory Module: BANK 1/DIMM0, 4 GB, DDR3, 1333 MHz, 0x08AE, 0x000000000000000000000000000000000000
AirPort: spairport_wireless_card_type_wifi (0x14E4, 0xD6), Broadcom BCM43xx 1.0 (7.77.111.1 AirPortDriverBrcmNIC-1710.4)
AirPort:
Bluetooth: Version (null), 0 services, 0 devices, 0 incoming serial ports
Network Service: Wi-Fi, AirPort, en1
Serial ATA Device: Crucial_CT275MX300SSD1, 275.06 GB
Serial ATA Device: MATSHITADVD-R UJ-898
USB Device: USB20Bus
USB Device: hub_device
USB Device: IR Receiver
USB Device: USB20Bus
USB Device: FaceTime HD Camera (Built-in)
USB Device: hub_device
USB Device: Apple Internal Keyboard / Trackpad
USB Device: BRCM2070 Hub
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 22.1