После обновления моего проекта до Xcode 11.3.1 и запуска на iOS симуляторе 13.3, моя ма c получает pani c ядра и перезапускается. Так бывает всегда. Я нашел код, связанный с cra sh:
CLLocationCoordinate2D.geoCoder.reverseGeocodeLocation (CLLocation (широта: широта, долгота: долгота), завершениеHandler: {(метки, _) в завершенииHandler (метки ?. сначала)})
Моя Ма c перестает падать после комментирования этого кода. Потратил несколько дней на его отладку, но не нашел причины, очень признателен, если кто-нибудь может помочь! После перезапуска Ma c я получаю отчет журнала, как показано ниже:
{"caused_by":"macos","macos_version":"Mac OS X 10.14.6 (18G3020)","os_version":"Bridge OS 4.2 (17P3050)","macos_system_state":"running","incident_id":"A085F5C3-822E-4657-9F52-82634177FE0B","timestamp":"2020-03-20 08:17:06.09 +0000","bug_type":"210"}
{
"binaryImages" : [
[
"77bac7c0-ad6b-3c83-b5dd-4bf6a6d9198e",
18446744005107531776,
"K"
],
[
"00000000-0000-0000-0000-000000000000",
0,
"A"
],
[
"d1509c23-a578-300c-a17b-d31f3ee7a835",
6442450944,
"S"
],
[
"d0588ff6-9340-3d88-bdd8-6eb35b64b1b9",
4300161024,
"P"
],
[
"045dec76-c987-3918-a7a1-36164feaf347",
4300898304,
"P"
],
[
"3d76dd58-af9b-36a4-ae80-ee6680ce20fd",
4363370496,
"P"
],
[
"781d0e19-21a7-3c8e-908f-0af6b479e73a",
4296523776,
"P"
],
[
"0b3dfc32-cabb-3ce0-bd7c-ccfc14e6f06a",
4295704576,
"P"
],
[
"89165df9-1626-37b1-aaef-030630c4a990",
4363796480,
"P"
],
[
"849d1c6f-33a5-36df-a103-9c7cb5ce677d",
4307189760,
"P"
],
[
"a1c953e7-97fd-3840-98b6-9b72863756e6",
4377198592,
"P"
],
[
"f1c0c85b-401d-3742-a263-fa0a21328d2a",
4370186240,
"P"
],
[
"397c252a-6d83-3c56-83c1-f66385fe968d",
4302340096,
"P"
],
[
"6bf94782-0da6-30c3-ba0e-a6670bdae3d2",
4333731840,
"P"
],
[
"d6553911-038c-3ce7-a7f5-b35c3c3b5354",
4333649920,
"P"
],
[
"15462000-c787-3584-8499-64f96477dca2",
4310892544,
"P"
],
[
"5519ac98-06ba-36b4-ae28-3624c418f2b5",
4340449280,
"P"
],
[
"ff698d45-03dc-31a9-b6b0-b4ec09163926",
4298194944,
"P"
],
[
"797dd25d-c589-3159-9fbc-36707bb7d1d5",
4334108672,
"P"
],
[
"b07cd762-0fc5-3f04-99a5-4db26755dba4",
4363321344,
"P"
],
[
"00f9b44e-6f71-332b-b319-8667a98ef26a",
4307255296,
"P"
],
[
"0f237fc6-7e7a-3ad2-a792-4b79b42997c3",
4376313856,
"P"
],
[
"85d5645f-6527-3d1f-a903-00409fdb62c9",
4343201792,
"P"
],
[
"076f15c2-d831-3efd-ba76-1d15133312a9",
4310614016,
"P"
],
[
"2cd6509f-a0d3-360a-a539-7f52a3ae4a27",
4368957440,
"P"
]
],
"build" : "Bridge OS 4.2 (17P3050)",
"crashReporterKey" : "c0dec0dec0dec0dec0dec0dec0dec0dec0de0001",
"date" : "2020-03-20 08:17:05.58 +0000",
"incident" : "A085F5C3-822E-4657-9F52-82634177FE0B",
"kernel" : "Darwin Kernel Version 19.3.0: Tue Jan 7 22:39:04 PST 2020; root:xnu-6153.81.3~2\/RELEASE_ARM64_T8010",
"macOSOtherString" : "\n** In Memory Panic Stackshot Succeeded ** Bytes Traced 975584 **\n",
"macOSPanicFlags" : "0x4",
"macOSPanicString" : "panic(cpu 4 caller 0xffffff80172dda4d): Kernel trap at 0xffffff80176a9f10, type 14=page fault, registers:\nCR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x0000000151aad0dc, CR4: 0x00000000003626e0\nRAX: 0x0000000000000000, RBX: 0xffffff805f44caa0, RCX: 0x0000000009000000, RDX: 0x0000000003000000\nRSP: 0xffffff9218ae3ce0, RBP: 0xffffff9218ae3d00, RSI: 0x0000000000000000, RDI: 0x0000000000000000\nR8: 0x0000000000000000, R9: 0x0000000000000000, R10: 0x0000000000000000, R11: 0xffffff9218ae34b4\nR12: 0xffffff805ea6e868, R13: 0xffffff806da7d0d0, R14: 0xffffff805ea6e700, R15: 0xffffff805f44caa0\nRFL: 0x0000000000010246, RIP: 0xffffff80176a9f10, CS: 0x0000000000000008, SS: 0x0000000000000010\nFault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x4, PL: 1, VF: 0\n\nBacktrace (CPU 4), Frame : Return Address\n0xffffff9218ae37b0 : 0xffffff80171b058d \n0xffffff9218ae3800 : 0xffffff80172ec0f5 \n0xffffff9218ae3840 : 0xffffff80172dd82a \n0xffffff9218ae38b0 : 0xffffff801715d9d0 \n0xffffff9218ae38d0 : 0xffffff80171affa7 \n0xffffff9218ae39f0 : 0xffffff80171afdf3 \n0xffffff9218ae3a60 : 0xffffff80172dda4d \n0xffffff9218ae3bd0 : 0xffffff801715d9d0 \n0xffffff9218ae3bf0 : 0xffffff80176a9f10 \n0xffffff9218ae3d00 : 0xffffff801769ddc8 \n0xffffff9218ae3d60 : 0xffffff80176bcbfd \n0xffffff9218ae3e20 : 0xffffff80171e8436 \n0xffffff9218ae3ec0 : 0xffffff80171ed10a \n0xffffff9218ae3ef0 : 0xffffff80171a861b \n0xffffff9218ae3f30 : 0xffffff801715d99c \n\nBSD process name corresponding to current thread: echo\n\nMac OS version:\n18G3020\n\nKernel version:\nDarwin Kernel Version 18.7.0: Thu Jan 23 06:52:12 PST 2020; root:xnu-4903.278.25~1\/RELEASE_X86_64\nKernel UUID: 71EBCAB7-7239-36ED-A2B8-3DCEB0D5EFD1\nKernel slide: 0x0000000016e00000\nKernel text base: 0xffffff8017000000\n__HIB text base: 0xffffff8016f00000\nSystem model name: MacBookPro15,1 (Mac-937A206F2EE63C01)\n\nSystem uptime in nanoseconds: 2971729078352\nlast loaded kext at 76245983935: @filesystems.msdosfs\t1.10 (addr 0xffffff7f9c835000, size 69632)\nlast unloaded kext at 733028314796: >!AXsanScheme\t3 (addr 0xffffff7f9a5da000, size 40960)\nloaded kexts:\ncom.cisco.kext.acsock\t4.8.0\ncom.cisco.amp.nke\t1.12.1\ncom.cisco.amp.fileop\t1.12.1\n>AudioAUUC\t1.70\n@kext.AMDFramebuffer\t2.1.1\n@kext.AMDRadeonX4000\t2.1.1\n>!AGraphicsDevicePolicy\t3.50.14\n@fileutil\t20.036.15\n@AGDCPluginDisplayMetrics\t3.50.14\n>!AHV\t1\n|IOUserEthernet\t1.0.1\n|IO!BSerialManager\t6.0.14d4\n>pmtelemetry\t1\n>!AUpstreamUserClient\t3.6.5\n>AGPM\t110.25.11\n>!APlatformEnabler\t2.7.0d0\n>X86PlatformShim\t1.0.0\n@Dont_Steal_Mac_OS_X\t7.0.0\n>!A!IKBLGraphics\t12.1.0\n>!AVirtIO\t2.1.3\n>AGDCBacklightControl\t3.50.14\n>BridgeAudioCommunication\t5.52\n@kext.AMD9500!C\t2.1.1\n>!AThunderboltIP\t3.1.2\n>!AGFXHDA\t100.1.414\n>!AAVEBridge\t6.18\n>!AMuxControl2\t3.50.14\n>!AHIDALSService\t1\n>!ABridgeAudio!C\t5.52\n>!A!ICFLGraphicsFramebuffer\t12.1.0\n>!A!IPCHPMC\t2.0.1\n>!AOSXWatchdog\t1\n>!A!ISlowAdaptiveClocking\t4.0.0\n>!AMCCSControl\t1.5.9\n@filesystems.autofs\t3.0\n>usb.!UHostBillboardDevice\t1.0\n>usb.realtek8153patcher\t5.0.0\n>!ATopCaseHIDEventDriver\t138.4\n>BCMWLANFirmware4355.Hashstore\t1\n>BCMWLANFirmware4364.Hashstore\t1\n>BCMWLANFirmware4377.Hashstore\t1\n@filesystems.hfs.kext\t407.200.4\n@BootCache\t40\n@!AFSCompression.!AFSCompressionTypeDataless\t1.0.0d1\n@!AFSCompression.!AFSCompressionTypeZlib\t1.0.0\n@!ASystemPolicy\t1.0\n>!ABCMWLANBusInterfacePCIe\t1\n@filesystems.apfs\t945.275.8\n@private.KextAudit\t1.0\n>!ASmartBatteryManager\t161.0.0\n>!AACPIButtons\t6.1\n>!ASMBIOS\t2.1\n>!AACPIEC\t6.1\n>!AAPIC\t1.7\n@nke.applicationfirewall\t202\n$TMSafetyNet\t8\n@kext.AMDRadeonX4100HWLibs\t1.0\n@kext.AMDRadeonX4000HWServices\t2.1.1\n|IOAVB!F\t760.6\n@plugin.IOgPTPPlugin\t740.2\n|IOEthernetAVB!C\t1.1.0\n>!ASSE\t1.0\n@!AGPUWrangler\t3.50.14\n>!ABacklightExpert\t1.1.0\n|IONDRVSupport\t530.51\n>X86PlatformPlugin\t1.0.0\n>!AGraphicsControl\t3.50.14\n>!AActuatorDriver\t2450.1\n|IOAudio!F\t206.5\n@vecLib.kext\t1.2.0\n|IO!BHost!CUARTTransport\t6.0.14d4\n|IO!BHost!CTransport\t6.0.14d4\n>!A!ILpssUARTv1\t3.0.60\n>!A!ILpssUARTCommon\t3.0.60\n>!AOnboardSerial\t1.0\n|IOSkywalk!F\t1\n@kext.AMDSupport\t2.1.1\n@!AGraphicsDeviceControl\t3.50.14\n|IOAccelerator!F2\t404.14\n|IOSurface\t255.6.1\n>IOPlatformPlugin!F\t6.0.0d8\n|IOSlowAdaptiveClocking!F\t1.0.0\n>!ASMBus!C\t1.0.18d1\n|IOGraphics!F\t530.68\n@kext.triggers\t1.0\n>usb.!UHub\t1.2\n>!AHIDKeyboard\t208\n>!AHS!BDriver\t138.4\n>IO!BHIDDriver\t6.0.14d4\n>!AMultitouchDriver\t2450.1\n>!AInputDeviceSupport\t2440.4\n>usb.cdc.ecm\t5.0.0\n>usb.cdc.ncm\t5.0.0\n>usb.IOUSBHostHIDDevice\t1.2\n>usb.cdc\t5.0.0\n>usb.networking\t5.0.0\n>usb.!UHostCompositeDevice\t1.2\n>!UHostMergeProperties\t1.2\n@filesystems.hfs.encodings.kext\t1\n>!ABCMWLANCore\t1.0.0\n>mDNSOffloadUserClient\t1.0.1b8\n>IOImageLoader\t1.0.0\n|IOSerial!F\t11\n|IO80211!FV2\t1200.12.2\n>corecapture\t1.0.4\n>!AThunderboltPCIDownAdapter\t2.1.5\n>!AThunderboltDPInAdapter\t5.6.9\n>!AThunderboltDPAdapter!F\t5.6.9\n>!AHPM\t3.4.1\n>!A!ILpssI2C!C\t3.0.60\n>!A!ILpssDmac\t3.0.60\n>!A!ILpssI2C\t3.0.60\n>!AThunderboltNHI\t4.7.9\n|IOThunderbolt!F\t6.8.6\n>usb.!UVHCIBCE\t1.2\n>usb.!UVHCI\t1.2\n>usb.!UVHCICommonBCE\t1.0\n>usb.!UVHCICommon\t1.0\n>!AEffaceableNOR\t1.0\n|IOBufferCopy!C\t1.1.0\n|IOBufferCopyEngine!F\t1\n|IONVMe!F\t2.1.0\n>usb.!UXHCIPCI\t1.2\n>usb.!UXHCI\t1.2\n>usb.!UHostPacketFilter\t1.0\n|IOUSB!F\t900.4.2\n>!AEFINVRAM\t2.1\n>!AEFIRuntime\t2.1\n>!ASMCRTC\t1.0\n|IOSMBus!F\t1.1\n|IOHID!F\t2.0.0\n$quarantine\t3\n$sandbox\t300.0\n@kext.!AMatch\t1.0.0d1\n>!AKeyStore\t2\n>!UTDM\t456.260.3\n>!AMobileFileIntegrity\t1.0.5\n|IOUSBMass!SDriver\t145.200.2\n|IOSCSIBlockCommandsDevice\t408.250.3\n|IOSCSIArchitectureModel!F\t408.250.3\n@kext.CoreTrust\t1\n>!ACredentialManager\t1.0\n>KernelRelayHost\t1\n>!ASEPManager\t1.0.1\n>IOSlaveProcessor\t1\n>!AFDEKeyStore\t28.30\n>!AEffaceable!S\t1.0\n|IOTimeSync!F\t740.2\n|IONetworking!F\t3.4\n>DiskImages\t493.0.0\n|IO!S!F\t2.1\n|IO!B!F\t6.0.14d4\n|IOUSBHost!F\t1.2\n>usb.!UCommon\t1.0\n>!ABusPower!C\t1.0\n|IOReport!F\t47\n>!AACPIPlatform\t6.1\n>!ASMC\t3.1.9\n|IOPCI!F\t2.9\n|IOACPI!F\t1.4\n@kec.Libm\t1\n@kec.pthread\t1\n@kec.corecrypto\t1.0\n",
// Truncated because too long