KhronosGroup / MoltenVK

MoltenVK is a Vulkan Portability implementation. It layers a subset of the high-performance, industry-standard Vulkan graphics and compute API over Apple's Metal graphics framework, enabling Vulkan applications to run on macOS, iOS and tvOS.
Apache License 2.0
4.79k stars 422 forks source link

Version 1.1.121.{0,1} crashes in vkCreateGraphicsPipelines #747

Closed buzmeg closed 5 years ago

buzmeg commented 5 years ago

Maybe I'm doing something erroneous and dumb, but I sure can't see it. Previous versions work without issue. Version 1.1.121.1 works on Linux.

Edit: Confirmed that Version 1.1.114.0 works on OS X. Also confirmed that compiling on 1.1.121.1 and running on 1.1.114.0 works.

Edit: I'm an idiot for not including the debug message on crash: VUID-VkGraphicsPipelineCreateInfo-sType-sType(ERROR / SPEC): msgNum: 0 - vkCreateGraphicsPipelines: parameter pCreateInfos[0].sType must be VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO The Vulkan spec states: sType must be VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkGraphicsPipelineCreateInfo-sType-sType) Objects: 1 [0] 0, type: 0, name: NULL Segmentation fault: 11

Code attached uses vulkan and glfw.

Compile with: clang -o vkmin -Wall -Wpedantic -Wno-gnu-folding-constant main.c -I\<vulkanincludedir> -I\<glfwincludedir> -L\<glfwlinkdir> -L\<vulkanlinkdir> -lglfw -lvulkan

main.zip

buzmeg commented 5 years ago

Much longer Apple traceback:

Process:               vkmin [58771]
Path:                  /Users/USER/*/vkmin
Identifier:            vkmin
Version:               0
Code Type:             X86-64 (Native)
Parent Process:        bash [58740]
Responsible:           vkmin [58771]
User ID:               501

Date/Time:             2019-09-30 01:23:42.193 -0700
OS Version:            Mac OS X 10.12.6 (16G2016)
Report Version:        12
Anonymous UUID:        B7002818-AB85-9F83-52BF-1BF13D814B8D

Sleep/Wake UUID:       40910181-77F9-4B50-95D5-BF381A07D5A3

Time Awake Since Boot: 2100000 seconds
Time Since Wake:       250000 seconds

System Integrity Protection: disabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       EXC_I386_GPFLT
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Segmentation fault: 11
Termination Reason:    Namespace SIGNAL, Code 0xb
Terminating Process:   exc handler [0]

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libVkLayer_khronos_validation.dylib 0x000000010aa6bfd3 StatelessValidation::validate_struct_pnext(char const*, ParameterName const&, char const*, void const*, unsigned long, VkStructureType const*, unsigned int, char const*) + 3075
1   libVkLayer_khronos_validation.dylib 0x000000010aa86ddb StatelessValidation::PreCallValidateCreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**) + 859
2   libVkLayer_khronos_validation.dylib 0x000000010a6e195a vulkan_layer_chassis::CreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**) + 490
3   libVkLayer_stateless_validation.dylib   0x000000010b3b20ae vulkan_layer_chassis::CreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**) + 462
4   libVkLayer_core_validation.dylib    0x000000010b881b5e vulkan_layer_chassis::CreateGraphicsPipelines(VkDevice_T*, VkPipelineCache_T*, unsigned int, VkGraphicsPipelineCreateInfo const*, VkAllocationCallbacks const*, VkPipeline_T**) + 750
5   vkmin                           0x00000001058041f2 main + 8482
6   libdyld.dylib                   0x00007fffdd268235 start + 1

Thread 1:
0   libsystem_kernel.dylib          0x00007fffdd39744e __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fffdd481621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib         0x00007fffdd48107d start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib          0x00007fffdd39744e __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fffdd481621 _pthread_wqthread + 1426
2   libsystem_pthread.dylib         0x00007fffdd48107d start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fffdd39744e __workq_kernreturn + 10
1   libsystem_pthread.dylib         0x00007fffdd48148e _pthread_wqthread + 1023
2   libsystem_pthread.dylib         0x00007fffdd48107d start_wqthread + 13

Thread 4:: com.apple.NSEventThread
0   libsystem_kernel.dylib          0x00007fffdd38f386 semaphore_wait_trap + 10
1   libdispatch.dylib               0x00007fffdd24aa77 _os_semaphore_wait + 16
2   libdispatch.dylib               0x00007fffdd23b891 _dispatch_semaphore_wait_slow + 103
3   com.apple.HIToolbox             0x00007fffc6fd9192 _BeginEventReceiptOnThread + 165
4   com.apple.AppKit                0x00007fffc56a6e5a _NSEventThread + 37
5   libsystem_pthread.dylib         0x00007fffdd48193b _pthread_body + 180
6   libsystem_pthread.dylib         0x00007fffdd481887 _pthread_start + 286
7   libsystem_pthread.dylib         0x00007fffdd48108d thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000003  rbx: 0x41da75f3394cc6ff  rcx: 0x0000000000000008  rdx: 0x0000000000000019
  rdi: 0x000000010adce131  rsi: 0x000000010adcdbab  rbp: 0x00007fff5a3fd190  rsp: 0x00007fff5a3fcff0
   r8: 0x0000000000000044   r9: 0x00007f88e7c273a0  r10: 0x0000000000000000  r11: 0x0000000000000001
  r12: 0x0000000000000000  r13: 0x0000000000000019  r14: 0x000000010adce131  r15: 0x000000010adcdb87
  rip: 0x000000010aa6bfd3  rfl: 0x0000000000010206  cr2: 0x000000010af76906

Logical CPU:     1
Error Code:      0x00000000
Trap Number:     13

Binary Images:
       0x105801000 -        0x105805fff +vkmin (0) <CB1B910C-894B-35B9-A396-DC95B3099627> /Users/USER/*/vkmin
       0x10580f000 -        0x10584ffff +libglfw.3.dylib (0) <1F83ED10-7975-3FA4-85D6-2D09C01BEF55> /Users/USER/*/libglfw.3.dylib
       0x105860000 -        0x10589dffb +libvulkan.1.dylib (0) <47A91067-675D-3106-A49F-632D161B02AC> /Users/USER/*/libvulkan.1.dylib
       0x109aad000 -        0x109f80ff7 +libMoltenVK.dylib (0) <EC4E4F80-D1EF-3793-82B3-49F732835168> /Users/USER/*/libMoltenVK.dylib
       0x10a6d6000 -        0x10afbaffb +libVkLayer_khronos_validation.dylib (0) <E0E03546-898F-3B15-83F2-8963C41D66FC> /Users/USER/*/libVkLayer_khronos_validation.dylib
       0x10b3a9000 -        0x10b76bfff +libVkLayer_stateless_validation.dylib (0) <BA3BCAD6-6A09-3FC6-90A4-8003C01E1889> /Users/USER/*/libVkLayer_stateless_validation.dylib
       0x10b877000 -        0x10bf14ff7 +libVkLayer_core_validation.dylib (0) <E65CC757-0C7C-3BBC-A860-C77CAB61F5A9> /Users/USER/*/libVkLayer_core_validation.dylib
       0x10c295000 -        0x10c314ff7  com.apple.driver.AppleIntelBDWGraphicsMTLDriver (10.25.24 - 10.2.5) <2D98A668-559D-3A96-BCBA-16F2A8D753B6> /System/Library/Extensions/AppleIntelBDWGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelBDWGraphicsMTLDriver
       0x1114bb000 -        0x1114f8dc7  dyld (434) <33DB4E37-BC29-37A4-92AB-30328E66A8FA> /usr/lib/dyld
    0x7fffc4535000 -     0x7fffc4535fff  com.apple.Accelerate (1.11 - Accelerate 1.11) <916E360F-323C-3AE1-AB3D-D1F3B284AEE9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fffc4536000 -     0x7fffc454dffb  libCGInterfaces.dylib (331.5) <17109679-A284-3C72-AA60-DBA815D3062B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
    0x7fffc454e000 -     0x7fffc4a67feb  com.apple.vImage (8.1 - ???) <B58A7937-BEE2-38FE-87F4-5D5F40D31DC9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fffc4a68000 -     0x7fffc4bd9ff3  libBLAS.dylib (1185.50.4) <4087FFE0-627E-3623-96B4-F0A9A1991E09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fffc4bda000 -     0x7fffc4beeffb  libBNNS.dylib (15) <254698C7-7D36-3FFF-864E-ADEEEE543076> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fffc4bef000 -     0x7fffc4fe5fef  libLAPACK.dylib (1185.50.4) <C35FFB2F-A0E6-3903-8A3C-113A74BCBCA2> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fffc4fe6000 -     0x7fffc4ffcfff  libLinearAlgebra.dylib (1185.50.4) <345CAACF-7263-36EF-B69B-793EA8B390AF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fffc4ffd000 -     0x7fffc5003fff  libQuadrature.dylib (3) <EF56C8E6-DE22-3C69-B543-A8648F335FDD> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fffc5004000 -     0x7fffc5018ff7  libSparseBLAS.dylib (1185.50.4) <67BA432E-FB59-3C78-A8BE-ED4274CBC359> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fffc5019000 -     0x7fffc51a0fe7  libvDSP.dylib (600.60.1) <4155F45B-41CD-3782-AE8F-7AE740FD83C3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fffc51a1000 -     0x7fffc5253fff  libvMisc.dylib (600.60.1) <E18365D7-DCC4-3304-A8D1-395E656D7B99> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fffc5254000 -     0x7fffc5254fff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <7C5733E7-0568-3E7D-AF61-160F19FED544> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fffc5513000 -     0x7fffc62ecff3  com.apple.AppKit (6.9 - 1504.83.101) <8D71C7CE-CDB2-39FB-80EA-6E7E5F705035> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fffc62fe000 -     0x7fffc62fefff  com.apple.ApplicationServices (48 - 48) <36EB2785-BBD2-33F0-BB13-8C804D47110A> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fffc62ff000 -     0x7fffc636dff7  com.apple.ApplicationServices.ATS (377 - 422.4) <78B556FF-28E6-3147-AE0D-8E0EC45EEE77> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fffc6407000 -     0x7fffc6536fff  libFontParser.dylib (194.15) <FF329191-6339-363E-9D95-FFE9D55E7F60> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fffc6537000 -     0x7fffc6581ff7  libFontRegistry.dylib (196.8) <5E5F95FD-F69B-3F1A-9592-C0AB8F5FF57C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fffc65df000 -     0x7fffc6612fff  libTrueTypeScaler.dylib (194.15) <513743F9-500B-37C5-A925-A82E7182F3E9> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
    0x7fffc667f000 -     0x7fffc6729ff7  com.apple.ColorSync (4.12.0 - 502.2) <ACA4001E-A0E3-33F6-9CD6-EEC2AA15E322> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fffc672a000 -     0x7fffc677bfff  com.apple.HIServices (1.22 - 594) <EF8432A1-15C5-360C-9D14-19ADA43FCFDC> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fffc677c000 -     0x7fffc678bff3  com.apple.LangAnalysis (1.7.0 - 1.7.0) <2CBE7F61-2056-3F96-99A1-0D527796AFA6> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fffc678c000 -     0x7fffc67d9fff  com.apple.print.framework.PrintCore (12 - 491) <5027FD58-F0EE-33E4-8577-934CA06CD2AF> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fffc67da000 -     0x7fffc6815fff  com.apple.QD (3.12 - 313) <B339C41D-8CDF-3342-8414-F9717DCCADD4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fffc6816000 -     0x7fffc6821fff  com.apple.speech.synthesis.framework (6.6.2 - 6.6.2) <7853EFF4-62B9-394E-B7B8-41A645656820> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fffc6822000 -     0x7fffc6a2eff7  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <1F4026C6-23C1-39E8-823D-72298FECF75C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fffc6a2f000 -     0x7fffc6a2ffff  com.apple.audio.units.AudioUnit (1.14 - 1.14) <2CEE36AF-79E6-3B3E-B369-285E6C1886F7> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fffc6b98000 -     0x7fffc6f75fff  com.apple.CFNetwork (811.11 - 811.11) <5E5A7D4D-BCBA-3995-8C13-4D01DE1FAB33> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fffc6f94000 -     0x7fffc729dfff  com.apple.HIToolbox (2.1.1 - 857.8) <25E0AC26-27FE-32E5-9226-F4D42B25ED30> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fffc72a8000 -     0x7fffc733fff3  com.apple.ink.framework (10.9 - 219) <1BD40B45-FD33-3177-A935-565EE5FC79D7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fffc7360000 -     0x7fffc7366ff7  com.apple.speech.recognition.framework (6.0.1 - 6.0.1) <082895DC-3AC7-3DEF-ADCA-5B018C19C9D3> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fffc7447000 -     0x7fffc7447fff  com.apple.Cocoa (6.11 - 22) <85EDFBE1-75F0-369E-8CA8-C6A639B98FA6> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fffc7591000 -     0x7fffc761efff  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <78767F88-91D4-31CE-AAC6-1F9407F479BB> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fffc761f000 -     0x7fffc7632fff  com.apple.CoreBluetooth (1.0 - 1) <BCB78777-76F0-3CC1-8443-9E61AEF7EF63> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fffc7633000 -     0x7fffc792efff  com.apple.CoreData (120 - 754.2) <4C9CAB2C-60D4-3694-A0A0-5B04B14BD14E> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fffc792f000 -     0x7fffc79dcff7  com.apple.CoreDisplay (1.0 - 1) <53D1EAFE-23A4-398D-BF52-E4299E670DB6> /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
    0x7fffc79dd000 -     0x7fffc7e77fe7  com.apple.CoreFoundation (6.9 - 1349.95) <05E4FAAD-97E5-3DA4-A7F1-E916158868DB> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffc7e78000 -     0x7fffc84fafff  com.apple.CoreGraphics (2.0 - 1070.22.1) <8A053296-AA99-371C-B9C5-FCBF87C6CEFE> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fffc84fb000 -     0x7fffc873effb  com.apple.CoreImage (12.4.0 - 451.4.9) <BE4303C9-C9D9-361D-AC94-DBE40EB6700E> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fffc88a3000 -     0x7fffc88a3fff  com.apple.CoreServices (775.20 - 775.20) <FE133B3C-735E-3925-B20A-096D145C722B> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fffc88a4000 -     0x7fffc88f5fff  com.apple.AE (712.6 - 712.6) <9E9B4EC3-564D-3BA9-A9A4-1603E1F97F40> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fffc88f6000 -     0x7fffc8bd1ff7  com.apple.CoreServices.CarbonCore (1159.7 - 1159.7) <1D815BCC-CB8D-36BA-98C0-9263D96F1C89> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fffc8bd2000 -     0x7fffc8c05fff  com.apple.DictionaryServices (1.2 - 274) <D23866E2-F7C8-3984-A9D4-96552CCDE573> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fffc8c06000 -     0x7fffc8c0eff3  com.apple.CoreServices.FSEvents (1230.50.1 - 1230.50.1) <2AD1B0E5-7214-37C4-8D11-A27C9CAC0F74> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fffc8c0f000 -     0x7fffc8d7bffb  com.apple.LaunchServices (775.20 - 775.20) <9106FF16-9587-313F-822C-2CD56204903E> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fffc8d7c000 -     0x7fffc8e2cffb  com.apple.Metadata (10.7.0 - 1075.41) <FE2BC948-5014-3C50-9ED7-F9544B611363> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fffc8e2d000 -     0x7fffc8e8cfff  com.apple.CoreServices.OSServices (775.20 - 775.20) <82D7E763-999D-31A0-AAE7-4F7A40105739> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fffc8e8d000 -     0x7fffc8efdfff  com.apple.SearchKit (1.4.0 - 1.4.0) <7A6DDA2B-03F1-3137-BA9E-1CC211973E26> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fffc8efe000 -     0x7fffc8f43ff7  com.apple.coreservices.SharedFileList (38 - 38) <DA096678-93AB-3291-BDE2-482F1D544589> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fffc8fcc000 -     0x7fffc9119ffb  com.apple.CoreText (352.0 - 544.18) <B883809B-561B-31C5-949E-D2564B6F808A> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fffc911a000 -     0x7fffc914fff3  com.apple.CoreVideo (1.8 - 235.3) <AC11D5FB-C77B-34F5-B942-F698E84C229F> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fffc9150000 -     0x7fffc91c1ffb  com.apple.framework.CoreWLAN (11.0 - 1200.31) <7300F2B4-0976-37F3-95E9-4B3BC102ED01> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fffc92bf000 -     0x7fffc92c4fff  com.apple.DiskArbitration (2.7 - 2.7) <F47E07A4-D69D-312A-82C8-A1EE3C7C0EAC> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fffc9456000 -     0x7fffc97fcff3  com.apple.Foundation (6.9 - 1349.92) <9BCABC92-65D2-397F-9C43-829C17BEA8E2> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fffc9828000 -     0x7fffc9859fff  com.apple.GSS (4.0 - 2.0) <B347C2FB-7718-3A30-BE9A-98819FCE64A9> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fffc9919000 -     0x7fffc99bcfff  com.apple.Bluetooth (5.0.5 - 5.0.5f4) <52E3A6D2-0F7A-3C94-97E4-49FB80C5BE5A> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fffc99bd000 -     0x7fffc9a53fff  com.apple.framework.IOKit (2.0.2 - 1324.60.8) <46DA8966-AC27-3F51-BBB2-359A229BB0F7> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fffc9a54000 -     0x7fffc9a5affb  com.apple.IOSurface (159.13 - 159.13) <288AC855-BCEF-3BAA-8AE5-EC106E513A55> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fffc9aad000 -     0x7fffc9c0dfef  com.apple.ImageIO.framework (3.3.0 - 1599.13.1) <B48585FF-3B2D-32F6-85A6-07ECDDB2A6E9> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fffc9c0e000 -     0x7fffc9c12fff  libGIF.dylib (1599.13.1) <79C31DCF-3D95-32DE-9869-C1FA91F7C572> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fffc9c13000 -     0x7fffc9d03ff7  libJP2.dylib (1599.13.1) <5E34964D-36BC-3DDD-936B-D859B39117BB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fffc9d04000 -     0x7fffc9d27ffb  libJPEG.dylib (1599.13.1) <863E6D9C-E45A-33F7-8C52-2D2B81FCAE63> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fffc9d28000 -     0x7fffc9d4fff7  libPng.dylib (1599.13.1) <06282D7B-70EC-34A5-9240-A80FD18DC2D0> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fffc9d50000 -     0x7fffc9d52ff3  libRadiance.dylib (1599.13.1) <823DDB0C-6BD0-3073-ABE4-313FDA38E3B4> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fffc9d53000 -     0x7fffc9da1fff  libTIFF.dylib (1599.13.1) <B48CCFEF-BD6E-37EA-8F1C-CC2CF6775A0E> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fffcab0a000 -     0x7fffcab23ff7  com.apple.Kerberos (3.0 - 1) <B9D242EB-E325-3A21-9812-C77CBBFB0D51> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fffcb303000 -     0x7fffcb35efff  com.apple.Metal (87.18 - 87.18) <E3618B54-C728-34CA-9E8A-9BD33A295D31> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fffcbc47000 -     0x7fffcbc4ffff  com.apple.NetFS (6.0 - 4.0) <14A24D00-5673-330A-959D-87F72040DEFF> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fffcbe2f000 -     0x7fffcbe7dff3  com.apple.opencl (2.8.6 - 2.8.6) <4300D21A-2B40-30BF-8F9C-9EDF1D398961> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fffcbe7e000 -     0x7fffcbe97ffb  com.apple.CFOpenDirectory (10.12 - 194) <A64E9A01-3F6E-36EA-9C10-88C564A68C9D> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fffcbe98000 -     0x7fffcbea3ff7  com.apple.OpenDirectory (10.12 - 194) <4298FFD0-B1A7-3064-AF5B-708B3FA38671> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fffcbea4000 -     0x7fffcbea6fff  libCVMSPluginSupport.dylib (14.0.16) <25655EB3-7BF6-36EC-BD17-47F4DF499D7F> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fffcbea7000 -     0x7fffcbeaaff7  libCoreFSCache.dylib (156.3) <687C4CC3-6537-344B-8BE1-5234C8CB2864> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fffcbeab000 -     0x7fffcbeaffff  libCoreVMClient.dylib (156.3) <E7AEFCBE-B6BF-3C7C-9A4E-E78CB04DB794> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fffcbeb0000 -     0x7fffcbeb9ff7  libGFXShared.dylib (14.0.16) <679D8495-1C5F-3932-A452-050A21E0EEBB> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fffcbeba000 -     0x7fffcbec5fff  libGL.dylib (14.0.16) <0801F3B9-A525-32BB-9BC0-478947CE21D9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fffcbec6000 -     0x7fffcbf02ff7  libGLImage.dylib (14.0.16) <FE39C57B-056C-3CBF-B653-A8F2005631C1> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fffcc07a000 -     0x7fffcc0bbff7  libGLU.dylib (14.0.16) <B285EAD6-B3AA-3753-BB85-75864BD6E76C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fffcca23000 -     0x7fffcca31fff  com.apple.opengl (14.0.16 - 14.0.16) <8D4CC067-4A70-34AE-945D-29407D780452> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fffcd583000 -     0x7fffcd783fff  com.apple.QuartzCore (1.11 - 453.41.2) <564FBF07-0072-3587-91BE-7B0EFD6FBC1D> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fffcdcee000 -     0x7fffcdff0fff  com.apple.security (7.0 - 57740.60.30) <2DD7275B-40E5-3F8C-8258-8C73DD3EE438> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fffcdff1000 -     0x7fffce066fff  com.apple.securityfoundation (6.0 - 55132.50.7) <2AF6A217-45D3-30C2-86B6-F35AF827E698> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fffce091000 -     0x7fffce094ff3  com.apple.xpc.ServiceManagement (1.0 - 1) <F2AACDEF-7DCC-35B9-A6B6-119FF8D83DBB> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fffce41b000 -     0x7fffce48aff7  com.apple.SystemConfiguration (1.14 - 1.14) <98E76341-BB2F-3DF4-9DD4-F4AC7648EF0F> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fffd0d0b000 -     0x7fffd0d2dffb  com.apple.framework.Apple80211 (12.0 - 1200.47.1) <F362FADE-B6F5-32B5-84E8-C3CE7FE5F851> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fffd0d2e000 -     0x7fffd0d3dfeb  com.apple.AppleFSCompression (88.50.3 - 1.0) <478E8BFF-8BA2-375E-BE02-BA27F115C15A> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fffd0e34000 -     0x7fffd0ebf97f  com.apple.AppleJPEG (1.0 - 1) <B9E9570D-04A4-34E4-B756-D200043B25B8> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fffd12f2000 -     0x7fffd1370ff7  com.apple.backup.framework (1.8.6 - 1.8.6) <2D75451A-8818-3D72-8480-489DF77D708B> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fffd1ffb000 -     0x7fffd2022ff3  com.apple.ChunkingLibrary (173 - 173) <FC2165F9-FC93-39C0-8323-C2F43A5E00A3> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fffd2947000 -     0x7fffd2950ffb  com.apple.CommonAuth (4.0 - 2.0) <B2444F25-80A8-3C4B-8F22-75F5D8EC49CD> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fffd3099000 -     0x7fffd30a9fff  com.apple.CoreEmoji (1.0 - 40.3.3) <E9A28301-2D79-3A97-A046-028258A6ABE5> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fffd33e4000 -     0x7fffd3414ff3  com.apple.CoreServicesInternal (276.2 - 276.2) <05EB7D45-DD4C-3A0F-AC63-A0C2A68E6481> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fffd36a5000 -     0x7fffd3734ff7  com.apple.CoreSymbolication (62046) <2D4C3324-B647-3696-B92E-AAB1053EEB54> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fffd3735000 -     0x7fffd3874fe7  com.apple.coreui (2.1 - 431.3) <8D0FA478-9B6C-3D6D-8ADF-8677BA0BF134> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fffd3875000 -     0x7fffd3945ff3  com.apple.CoreUtils (5.1 - 510.31) <B6636BBF-D37E-360E-A3EE-61BDC1736EEA> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
    0x7fffd3995000 -     0x7fffd39faff3  com.apple.framework.CoreWiFi (12.0 - 1200.31) <1B3FE242-8AEB-38BD-84A4-65DBC476FEEA> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fffd39fb000 -     0x7fffd3a09ff7  com.apple.CrashReporterSupport (10.12 - 827) <802A9B81-E349-348B-90AB-10E40B654250> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fffd3a7b000 -     0x7fffd3a85ffb  com.apple.framework.DFRFoundation (1.0 - 104.25) <7CFF896C-EF22-3941-BB3D-F3615CE4C908> /System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
    0x7fffd3a86000 -     0x7fffd3a8aff3  com.apple.DSExternalDisplay (3.1 - 380) <4B5E3FF0-E8C3-38CC-BF72-418C928956AB> /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
    0x7fffd3ac0000 -     0x7fffd3b35ffb  com.apple.datadetectorscore (7.0 - 539.1) <D84B64BA-CD56-368E-A31A-AC47C3780D0B> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fffd3b71000 -     0x7fffd3bb0fff  com.apple.DebugSymbols (137 - 137) <58A70B66-2628-3CFE-B103-2200D95FC5F7> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fffd3bb1000 -     0x7fffd3cc2fff  com.apple.desktopservices (1.11.6 - 1.11.6) <225B3746-8626-34CD-8FA9-48A7C04ACCCF> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fffd3faa000 -     0x7fffd43dbff7  com.apple.vision.FaceCore (3.3.2 - 3.3.2) <9391D5A3-738C-3136-9D07-518CB43DBADA> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fffd5732000 -     0x7fffd5732fff  libmetal_timestamp.dylib (600.0.49.9) <E5EED927-1671-3390-BCBB-D76201D63C73> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
    0x7fffd5a03000 -     0x7fffd5a1ffff  com.apple.GenerationalStorage (2.0 - 267.2) <22381303-B9A8-32D8-BDBF-871F0CDD81A5> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fffd6130000 -     0x7fffd61a6ff3  com.apple.Heimdal (4.0 - 2.0) <8573DFFA-3365-3343-9E8D-500FCCCF8FCD> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fffd67c1000 -     0x7fffd67c8ffb  com.apple.IOAccelerator (311.16.4 - 311.16.4) <F41EB563-1439-3745-BE98-4A4B6F45A7DF> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fffd67ca000 -     0x7fffd67deff7  com.apple.IOPresentment (1.0 - 29.10) <30DF04EE-10E2-353F-845F-A97B87DF3207> /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
    0x7fffd67df000 -     0x7fffd6801fff  com.apple.IconServices (74.4 - 74.4) <218DDD05-35F4-3833-B98D-471ED0EBC031> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fffd68e8000 -     0x7fffd6a9ffff  com.apple.LanguageModeling (1.0 - 123.2.5) <A8CA965F-0399-310D-91C3-B93DDDE9A442> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fffd73c0000 -     0x7fffd7439ff7  com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1) <C323FC94-FFA5-3EE6-B2AC-7E61EA92F304> /System/Library/PrivateFrameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
    0x7fffd75d6000 -     0x7fffd75feff7  com.apple.MultitouchSupport.framework (368.16 - 368.16) <E7C70DFB-7ECF-31E5-ADEE-366D42048BD4> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fffd76b0000 -     0x7fffd76bbfff  com.apple.NetAuth (6.2 - 6.2) <E1D6BFF0-7F37-3866-9925-5DF40EB3A1F4> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fffd7f94000 -     0x7fffd7fd5ff3  com.apple.PerformanceAnalysis (1.148.3 - 148.3) <DE16079A-5267-372A-9435-E993EB41252A> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fffd86bd000 -     0x7fffd86d7fff  com.apple.ProtocolBuffer (1 - 249.1) <A1F1B0F3-078F-378F-A9A9-0DEEA70E816A> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
    0x7fffd86f0000 -     0x7fffd8713ff3  com.apple.RemoteViewServices (2.0 - 124) <6B967FDA-6591-302C-BA0A-76C4856E584E> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fffd946f000 -     0x7fffd94fcfff  com.apple.Sharing (696.2.67.1 - 696.2.67.1) <267A3C7C-BB70-3E92-B773-A3F9EDD12E84> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fffd951d000 -     0x7fffd9783ff3  com.apple.SkyLight (1.600.0 - 170.3.11.11) <0F7F9F9B-90E2-3FE4-9A39-DE7EC10DAF79> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
    0x7fffd9962000 -     0x7fffd996eff7  com.apple.SpeechRecognitionCore (3.3.2 - 3.3.2) <684BD1EA-8268-331C-A5A9-080EB375C658> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fffda05a000 -     0x7fffda0cefdf  com.apple.Symbolication (62048.1) <1A30ED19-7532-3F46-9DD3-9879A973D0CF> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fffda50d000 -     0x7fffda513ff7  com.apple.TCC (1.0 - 1) <911B534B-4AC7-34E4-935E-E42ECD008CBC> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fffda59f000 -     0x7fffda665ff7  com.apple.TextureIO (2.8 - 2.8) <3D61E533-4156-3B21-B7ED-CB823E680DFC> /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
    0x7fffda6db000 -     0x7fffda86bff3  com.apple.UIFoundation (1.0 - 490.7) <2A3063FE-1790-3510-8A0E-AEC581D42B7E> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fffdb91c000 -     0x7fffdb91effb  com.apple.loginsupport (1.0 - 1) <F3140B97-12C3-35A7-9D3D-43DA2D13C113> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fffdb973000 -     0x7fffdb98eff7  libCRFSuite.dylib (34) <F78B7F5F-0B4F-35C6-AA2F-84EE9CB22137> /usr/lib/libCRFSuite.dylib
    0x7fffdb98f000 -     0x7fffdb99afff  libChineseTokenizer.dylib (21) <0886E908-A825-36AF-B94B-2361FD8BC2A1> /usr/lib/libChineseTokenizer.dylib
    0x7fffdba2c000 -     0x7fffdba2dff3  libDiagnosticMessagesClient.dylib (102) <84A04D24-0E60-3810-A8C0-90A65E2DF61A> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffdba2e000 -     0x7fffdbc41fff  libFosl_dynamic.dylib (16.39) <E22A4243-D148-3C74-BA15-2D906A3D1F9E> /usr/lib/libFosl_dynamic.dylib
    0x7fffdbc65000 -     0x7fffdbc65fff  libOpenScriptingUtil.dylib (172.1) <0F1BA407-97D1-36F6-882D-A355EAAD5E00> /usr/lib/libOpenScriptingUtil.dylib
    0x7fffdbc66000 -     0x7fffdbc6affb  libScreenReader.dylib (477.40.7) <F7305560-6CF0-3000-8301-72E04BEAA693> /usr/lib/libScreenReader.dylib
    0x7fffdbc6b000 -     0x7fffdbc6cffb  libSystem.B.dylib (1238.60.2) <EA21AAD1-E247-381A-851A-036C1790EAE9> /usr/lib/libSystem.B.dylib
    0x7fffdbcd8000 -     0x7fffdbd03ff3  libarchive.2.dylib (41.70.2) <907D1FB1-9A65-33F5-AFC8-0B6E5AE9D83A> /usr/lib/libarchive.2.dylib
    0x7fffdbd04000 -     0x7fffdbd80fc7  libate.dylib (1.12.13) <D0767875-D02E-3377-84D8-5F174C27BEA9> /usr/lib/libate.dylib
    0x7fffdbd84000 -     0x7fffdbd84ff3  libauto.dylib (187) <34388D0B-C539-3C1B-9408-2BC152162E43> /usr/lib/libauto.dylib
    0x7fffdbd85000 -     0x7fffdbd95ff3  libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib
    0x7fffdbd96000 -     0x7fffdbda4ff7  libbz2.1.0.dylib (38) <ADFA329A-DCE7-356D-8F09-A3168DFC6610> /usr/lib/libbz2.1.0.dylib
    0x7fffdbda5000 -     0x7fffdbdfbff7  libc++.1.dylib (307.5) <0B43BB5D-E6EB-3464-8DE9-B41AC8ED9D1C> /usr/lib/libc++.1.dylib
    0x7fffdbdfc000 -     0x7fffdbe25ff7  libc++abi.dylib (307.4) <BC271AD3-831B-362A-9DA7-E8C51F285FE4> /usr/lib/libc++abi.dylib
    0x7fffdbe26000 -     0x7fffdbe36ffb  libcmph.dylib (6) <2B5D405E-2D0B-3320-ABD6-622934C86ABE> /usr/lib/libcmph.dylib
    0x7fffdbe37000 -     0x7fffdbe4dfcf  libcompression.dylib (39) <F2726F95-F54E-3B21-BCB5-F7151DEFDC2F> /usr/lib/libcompression.dylib
    0x7fffdbe4e000 -     0x7fffdbe4eff7  libcoretls.dylib (121.50.4) <64B1001E-10F6-3542-A3B2-C4B49F51817F> /usr/lib/libcoretls.dylib
    0x7fffdbe4f000 -     0x7fffdbe50ff3  libcoretls_cfhelpers.dylib (121.50.4) <1A10303E-5EB0-3C7C-9165-021FCDFD934D> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fffdc18c000 -     0x7fffdc1dfff7  libcups.2.dylib (450.3) <D2756AA0-6276-3D5F-9F69-4A9903AA43FE> /usr/lib/libcups.2.dylib
    0x7fffdc25c000 -     0x7fffdc25cfff  libenergytrace.dylib (15) <A1B040A2-7977-3097-9ADF-34FF181EB970> /usr/lib/libenergytrace.dylib
    0x7fffdc26c000 -     0x7fffdc271ff7  libheimdal-asn1.dylib (498.50.11) <57ADD224-C5AE-39D9-9B86-C7A86748333B> /usr/lib/libheimdal-asn1.dylib
    0x7fffdc272000 -     0x7fffdc364ff7  libiconv.2.dylib (50) <42125B35-81D7-3FC4-9475-A26DBE10884D> /usr/lib/libiconv.2.dylib
    0x7fffdc365000 -     0x7fffdc58affb  libicucore.A.dylib (57168.0.1) <99D53A36-19F6-34F0-86AB-D8BD6C9BD3AD> /usr/lib/libicucore.A.dylib
    0x7fffdc590000 -     0x7fffdc591fff  liblangid.dylib (126) <2085E7A7-9A34-3735-87F4-F174EF8EABF0> /usr/lib/liblangid.dylib
    0x7fffdc592000 -     0x7fffdc5abffb  liblzma.5.dylib (10) <44BD0279-99DD-36B5-8A6E-C11432E2098D> /usr/lib/liblzma.5.dylib
    0x7fffdc5ac000 -     0x7fffdc5c2ff7  libmarisa.dylib (5) <9030D214-5D0F-30CB-AC03-902C63909362> /usr/lib/libmarisa.dylib
    0x7fffdc5c3000 -     0x7fffdc86bff7  libmecabra.dylib (744.8) <D429FCC9-42A4-38B3-8784-44024BC859EF> /usr/lib/libmecabra.dylib
    0x7fffdc89e000 -     0x7fffdc918ff3  libnetwork.dylib (856.60.1) <191E99F5-4723-3180-8013-02AF2F9AE4B8> /usr/lib/libnetwork.dylib
    0x7fffdc919000 -     0x7fffdcceb047  libobjc.A.dylib (709.1) <70614861-0340-32E2-85ED-FE65759CDFFA> /usr/lib/libobjc.A.dylib
    0x7fffdccee000 -     0x7fffdccf2fff  libpam.2.dylib (21.30.1) <71EB0D88-DE84-3C8D-A2C5-58AA282BC5BC> /usr/lib/libpam.2.dylib
    0x7fffdccf3000 -     0x7fffdcd24fff  libpcap.A.dylib (67.60.2) <B2D36AD8-D5C8-3875-AC81-4787A15E44C2> /usr/lib/libpcap.A.dylib
    0x7fffdcd41000 -     0x7fffdcd5dffb  libresolv.9.dylib (64) <A244AE4C-00B0-396C-98FF-97FE4DB3DA30> /usr/lib/libresolv.9.dylib
    0x7fffdcdad000 -     0x7fffdcefbff7  libsqlite3.dylib (254.8) <1ECF7DF7-7A07-3B4B-A63B-F4EFF6BC7ACF> /usr/lib/libsqlite3.dylib
    0x7fffdd044000 -     0x7fffdd051ff7  libxar.1.dylib (417.1) <78B14DC5-5256-3820-8259-117C5046BB9F> /usr/lib/libxar.1.dylib
    0x7fffdd052000 -     0x7fffdd141ff3  libxml2.2.dylib (30.23) <307564E4-7CF2-3010-BA8F-1D302E662EAF> /usr/lib/libxml2.2.dylib
    0x7fffdd142000 -     0x7fffdd16bfff  libxslt.1.dylib (15.9.1) <A1EFC225-2115-3710-A2FD-B11FDE15B01F> /usr/lib/libxslt.1.dylib
    0x7fffdd16c000 -     0x7fffdd17dff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffdd18c000 -     0x7fffdd190ff7  libcache.dylib (79) <093A4DAB-8385-3D47-A350-E20CB7CCF7BF> /usr/lib/system/libcache.dylib
    0x7fffdd191000 -     0x7fffdd19bfff  libcommonCrypto.dylib (60092.50.5) <4C8A7FE1-C190-3015-A744-66F8220EAF6A> /usr/lib/system/libcommonCrypto.dylib
    0x7fffdd19c000 -     0x7fffdd1a3fff  libcompiler_rt.dylib (62) <55D47421-772A-32AB-B529-1A46C2F43B4D> /usr/lib/system/libcompiler_rt.dylib
    0x7fffdd1a4000 -     0x7fffdd1acfff  libcopyfile.dylib (138) <819BEA3C-DF11-3E3D-A1A1-5A51C5BF1961> /usr/lib/system/libcopyfile.dylib
    0x7fffdd1ad000 -     0x7fffdd230fdb  libcorecrypto.dylib (442.50.22) <E36CE660-855A-3166-8B9C-645C514B2C52> /usr/lib/system/libcorecrypto.dylib
    0x7fffdd231000 -     0x7fffdd262fff  libdispatch.dylib (703.50.38) <54B02414-5908-3EF0-B4D2-230B7FEB1CF7> /usr/lib/system/libdispatch.dylib
    0x7fffdd263000 -     0x7fffdd268ffb  libdyld.dylib (434) <67E282E1-4CAD-3FF1-B731-B36E4D00D2B2> /usr/lib/system/libdyld.dylib
    0x7fffdd269000 -     0x7fffdd269ffb  libkeymgr.dylib (28) <7AA011A9-DC21-3488-BF73-3B5B14D1FDD6> /usr/lib/system/libkeymgr.dylib
    0x7fffdd26a000 -     0x7fffdd276fff  libkxld.dylib (3789.73.49) <E9680B36-0CAA-36F1-9AF2-C223F2A6CD9E> /usr/lib/system/libkxld.dylib
    0x7fffdd277000 -     0x7fffdd277fff  liblaunch.dylib (972.70.5) <1F770D9B-3892-3BBB-9471-68DDDDB0F69A> /usr/lib/system/liblaunch.dylib
    0x7fffdd278000 -     0x7fffdd27dff3  libmacho.dylib (898) <17D5D855-F6C3-3B04-B680-E9BF02EF8AED> /usr/lib/system/libmacho.dylib
    0x7fffdd27e000 -     0x7fffdd280ff3  libquarantine.dylib (85.50.1) <12448CC2-378E-35F3-BE33-9DC395A5B970> /usr/lib/system/libquarantine.dylib
    0x7fffdd281000 -     0x7fffdd282ffb  libremovefile.dylib (45) <38D4CB9C-10CD-30D3-8B7B-A515EC75FE85> /usr/lib/system/libremovefile.dylib
    0x7fffdd283000 -     0x7fffdd29bff7  libsystem_asl.dylib (349.50.5) <096E4228-3B7C-30A6-8B13-EC909A64499A> /usr/lib/system/libsystem_asl.dylib
    0x7fffdd29c000 -     0x7fffdd29cff7  libsystem_blocks.dylib (67) <10DC5404-73AB-35B3-A277-A8AFECB476EB> /usr/lib/system/libsystem_blocks.dylib
    0x7fffdd29d000 -     0x7fffdd32afef  libsystem_c.dylib (1158.50.2) <E5AE5244-7D0C-36AC-8BB6-C7AE7EA52A4B> /usr/lib/system/libsystem_c.dylib
    0x7fffdd32b000 -     0x7fffdd32effb  libsystem_configuration.dylib (888.60.3) <094DBBF4-276A-3A11-8AF3-72743CC338E6> /usr/lib/system/libsystem_configuration.dylib
    0x7fffdd32f000 -     0x7fffdd332fff  libsystem_coreservices.dylib (41.4) <7D26DE79-B424-3450-85E1-F7FAB32714AB> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffdd333000 -     0x7fffdd34bfff  libsystem_coretls.dylib (121.50.4) <EC6FCF07-DCFB-3A03-9CC9-6DD3709974C6> /usr/lib/system/libsystem_coretls.dylib
    0x7fffdd34c000 -     0x7fffdd352fff  libsystem_dnssd.dylib (765.50.11) <B87F96B8-2694-3DB3-9923-1B4E2245C8BF> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffdd353000 -     0x7fffdd37cff7  libsystem_info.dylib (503.50.4) <611DB84C-BF70-3F92-8702-B9F28A900920> /usr/lib/system/libsystem_info.dylib
    0x7fffdd37d000 -     0x7fffdd39fff7  libsystem_kernel.dylib (3789.73.49) <F1695998-A2A2-396C-814F-6D09A63495F0> /usr/lib/system/libsystem_kernel.dylib
    0x7fffdd3a0000 -     0x7fffdd3e7fe7  libsystem_m.dylib (3121.6) <86D499B5-BBDC-3D3B-8A4E-97AE8E6672A4> /usr/lib/system/libsystem_m.dylib
    0x7fffdd3e8000 -     0x7fffdd406ff7  libsystem_malloc.dylib (116.50.9) <82647590-DAEF-3499-8BF3-F1E3048861FE> /usr/lib/system/libsystem_malloc.dylib
    0x7fffdd407000 -     0x7fffdd460ffb  libsystem_network.dylib (856.60.1) <369D0221-56CA-3C3E-9EDE-94B41CAE77B7> /usr/lib/system/libsystem_network.dylib
    0x7fffdd461000 -     0x7fffdd46aff3  libsystem_networkextension.dylib (563.60.2) <B021F2B3-8A75-3633-ABB0-FC012B8E9B0C> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffdd46b000 -     0x7fffdd474ff3  libsystem_notify.dylib (165.20.1) <B8160190-A069-3B3A-BDF6-2AA408221FAE> /usr/lib/system/libsystem_notify.dylib
    0x7fffdd475000 -     0x7fffdd47dfe7  libsystem_platform.dylib (126.50.8) <897462FD-B318-321B-A554-E61982630F7E> /usr/lib/system/libsystem_platform.dylib
    0x7fffdd47e000 -     0x7fffdd488ff7  libsystem_pthread.dylib (218.60.3) <B8FB5E20-3295-39E2-B5EB-B464D1D4B104> /usr/lib/system/libsystem_pthread.dylib
    0x7fffdd489000 -     0x7fffdd48cff7  libsystem_sandbox.dylib (592.70.2) <19320A42-2E3B-361B-BBDA-2F5F2E87B100> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffdd48d000 -     0x7fffdd48eff3  libsystem_secinit.dylib (24.50.4) <F78B847B-3565-3E4B-98A6-F7AD40392E2D> /usr/lib/system/libsystem_secinit.dylib
    0x7fffdd48f000 -     0x7fffdd496ffb  libsystem_symptoms.dylib (532.50.48) <1C822669-BF39-3639-A00B-B9170A63F342> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffdd497000 -     0x7fffdd4aaff7  libsystem_trace.dylib (518.70.1) <AC63A7FE-50D9-3A30-96E6-F6B7FF16E465> /usr/lib/system/libsystem_trace.dylib
    0x7fffdd4ab000 -     0x7fffdd4b0ffb  libunwind.dylib (35.3) <3D50D8A8-C460-334D-A519-2DA841102C6B> /usr/lib/system/libunwind.dylib
    0x7fffdd4b1000 -     0x7fffdd4daff7  libxpc.dylib (972.70.5) <255AA6A1-26AA-33F6-BC11-3DCE12A0BC0F> /usr/lib/system/libxpc.dylib

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: 139720260
    thread_create: 0
    thread_set_state: 781

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                   256K        2 
CG image                             4K        2 
CoreAnimation                        4K        2 
CoreUI image file                  124K        3 
Dispatch continuations            8192K        2 
Foundation                           4K        2 
Kernel Alloc Once                    8K        2 
MALLOC                            51.8M       23 
MALLOC guard page                   48K       10 
Memory Tag 242                      12K        2 
STACK GUARD                       56.0M        6 
Stack                             10.0M        6 
VM_ALLOCATE                         40K        7 
__DATA                            22.7M      206 
__IMAGE                            528K        2 
__LINKEDIT                       121.4M       11 
__TEXT                           148.5M      205 
__UNICODE                          556K        2 
mapped file                       45.0M        9 
shared memory                     16.3M        9 
===========                     =======  ======= 
TOTAL                            481.3M      493 

Model: MacBookPro12,1, BootROM 184.0.0.0.0, 2 processors, Intel Core i5, 2.9 GHz, 16 GB, SMC 2.28f7
Graphics: Intel Iris Graphics 6100, Intel Iris Graphics 6100, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1867 MHz, 0x02FE, 0x4544464232333241314D412D4A442D460000
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x133), Broadcom BCM43xx 1.0 (7.21.171.134.1a2)
Bluetooth: Version 5.0.5f4, 3 services, 27 devices, 1 incoming serial ports
Network Service: Thunderbolt Ethernet, Ethernet, en3
PCI Card: Apple 57762-A0, Ethernet Controller, Thunderbolt@195,0,0
Serial ATA Device: APPLE SSD SM1024G, 1 TB
USB Device: USB 3.0 Bus
USB Device: USB3.0 Hub
USB Device: USB3.0 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB2.0 Hub
USB Device: USB2.0 Hub
USB Device: Das Keyboard
USB Device: USB Optical Mouse
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1
Thunderbolt Device: Thunderbolt to Gigabit Ethernet Adapter, Apple Inc., 3, 5.5
buzmeg commented 5 years ago

Okay, this is weird. I had a bit of a brainwave about narrowing things down, it turns out that you have to have both VK_LAYER_LUNARG_core_validation and VK_LAYER_LUNARG_parameter_validation enabled in order to trigger the crash. If you only enable one or the other, the crash does not occur. (This makes more sense--I found it hard to believe that 1.1.121.1 shipped with a crashing bug in such a fundamental function.)

This change to the code invokes both layers without any other layers interfering and causes the crash:

        char const * extra_instance_layers[] = {
            "VK_LAYER_LUNARG_core_validation",
            "VK_LAYER_LUNARG_parameter_validation",
            //"VK_LAYER_LUNARG_standard_validation",
            //"VK_LAYER_KHRONOS_validation",
            //"VK_LAYER_LUNARG_api_dump",
            NULL,
        };
buzmeg commented 5 years ago

Okay, it's the order of the layers. If you enable VK_LAYER_LUNARG_parameter_validation before VK_LAYER_LUNARG_core_validation, things don't crash:

ie This doesn't crash:

        char const * extra_instance_layers[] = {
            "VK_LAYER_LUNARG_parameter_validation",
            "VK_LAYER_LUNARG_core_validation",
            //"VK_LAYER_LUNARG_standard_validation",
            //"VK_LAYER_KHRONOS_validation",
            //"VK_LAYER_LUNARG_api_dump",
            NULL,
        };
billhollings commented 5 years ago

@buzmeg

This appears to be originating in the Validation & Layer code from the SDK, and not in MoltenVK code.

I'm going to close this issue here. Can you re-submit this issue to the SDK issue list, please?

buzmeg commented 5 years ago

Why? This doesn't crash on Linux or Windows (as I later checked). So, it has to be something specific to the MoltenVK implementation and not the SDK.

billhollings commented 5 years ago

Why? This doesn't crash on Linux or Windows (as I later checked). So, it has to be something specific to the MoltenVK implementation and not the SDK.

MoltenVK is a driver. It completely ignores layers. So the contents of extra_instance_layers never makes it to MoltenVK.

In addition...libMoltenVK.dylib does not appear anywhere in the call chain in your crash dump above. The crash seems to be coming from libVkLayer_khronos_validation.dylib...which is part of the SDK...well before the vkCreateGraphicsPipelines() call makes it to MoltenVK.

MoltenVK is not the only difference between macOS, Linux & Windows. It's possible that the SDK has code that differs between platforms.