Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quad example cannot run on Metal #2058

Closed
InMath opened this issue May 21, 2018 · 8 comments
Closed

Quad example cannot run on Metal #2058

InMath opened this issue May 21, 2018 · 8 comments

Comments

@InMath
Copy link

InMath commented May 21, 2018

Short info header:

  • GFX version:master
  • OS:MacOS
    cargo run --bin quad --features metal
    Compiling hal-examples v0.1.0 (file:///Users/inmath/GitHub/gfx/examples/hal)
    Finished dev [unoptimized + debuginfo] target(s) in 9.17 secs
    Running /Users/inmath/GitHub/gfx/target/debug/quad
    2018-05-21 23:56:50.472 quad[28500:3579820] -[MTLComputePipelineDescriptorInternal buffers]: unrecognized selector sent to instance 0x7fad8d5324e0
    thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:335:21
    note: Run with RUST_BACKTRACE=1 for a backtrace.
    fatal runtime error: failed to initiate panic, error 5
    Abort trap: 6
@InMath
Copy link
Author

InMath commented May 21, 2018

My rustc is 1.26.0 (a77568041 2018-05-07)

@grovesNL
Copy link
Contributor

Could you provide the backtrace as mentioned in the error message? i.e.: RUST_BACKTRACE=1 && cargo run --bin quad --features metal

Also, which version of macOS are you running?

@grovesNL grovesNL changed the title exmaple quad cant's run Quad example cannot run on Metal May 21, 2018
@InMath
Copy link
Author

InMath commented May 21, 2018

macOS sierra version 10.12.6

@InMath
Copy link
Author

InMath commented May 21, 2018

there is the backtrace:
Process: quad [29202]
Path: /Users/USER/*/quad
Identifier: quad
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [25154]
Responsible: quad [29202]
User ID: 501

Date/Time: 2018-05-22 07:36:20.188 +0800
OS Version: Mac OS X 10.12.6 (16G1212)
Report Version: 12
Anonymous UUID: 12633F0C-93C2-6B5D-0697-F243ABDAEC86

Sleep/Wake UUID: 2B45BD0D-0620-4F5E-967B-1ECD4A9FC770

Time Awake Since Boot: 270000 seconds
Time Since Wake: 380 seconds

System Integrity Protection: enabled

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 quad 0x000000010aa00b3f std::rt::lang_start_internal::h336cd1da103a02e8 + 415 (ptr.rs:59)
1 quad 0x000000010a295582 std::rt::lang_start::hc1912664abd49bd0 + 66 (rt.rs:74)
2 quad 0x000000010a3288b5 main + 37
3 libdyld.dylib 0x00007fffe4329235 start + 1

Thread 1:
0 libsystem_kernel.dylib 0x00007fffe445844e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffe4542621 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fffe454207d start_wqthread + 13

Thread 2:
0 libsystem_kernel.dylib 0x00007fffe445844e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffe454248e _pthread_wqthread + 1023
2 libsystem_pthread.dylib 0x00007fffe454207d start_wqthread + 13

Thread 3:
0 libsystem_kernel.dylib 0x00007fffe445844e __workq_kernreturn + 10
1 libsystem_pthread.dylib 0x00007fffe4542621 _pthread_wqthread + 1426
2 libsystem_pthread.dylib 0x00007fffe454207d start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000002 rbx: 0x0000000000000001 rcx: 0x0000000000000000 rdx: 0x000000010aac9ed8
rdi: 0x0000000000000066 rsi: 0x00000b0000000000 rbp: 0x00007fff55a21680 rsp: 0x00007fff55a215f0
r8: 0x000000010acc8180 r9: 0x0000000000380835 r10: 0x000000010acc8188 r11: 0xffffffff00000000
r12: 0xb000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000066
rip: 0x000000010aa00b3f rfl: 0x0000000000010202 cr2: 0x000000010a2315d0

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

Binary Images:
0x10a1de000 - 0x10ac81ff7 +quad (0) <3EF0C69A-D325-3F8E-B602-6D1BFCB4097B> /Users/USER/*/quad
0x10b629000 - 0x10b638ffb libSimplifiedChineseConverter.dylib (70) <9DF419B1-9049-3FB1-B6BB-85267B8E3B06> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
0x10ea4c000 - 0x10eac4ff7 com.apple.driver.AppleIntelHD5000GraphicsMTLDriver (10.25.19 - 10.2.5) <4779D135-8ECC-3B1D-88EB-E2334696DA43> /System/Library/Extensions/AppleIntelHD5000GraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelHD5000GraphicsMTLDriver
0x116f25000 - 0x116f62dc7 dyld (433.5) <93EA668C-4BB2-3646-96E9-B406B81308D6> /usr/lib/dyld
0x7fffcb671000 - 0x7fffcb671fff com.apple.Accelerate (1.11 - Accelerate 1.11) <916E360F-323C-3AE1-AB3D-D1F3B284AEE9> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fffcb672000 - 0x7fffcb689ffb libCGInterfaces.dylib (331.5) <17109679-A284-3C72-AA60-DBA815D3062B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
0x7fffcb68a000 - 0x7fffcbba3feb com.apple.vImage (8.1 - ???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fffcbba4000 - 0x7fffcbd15ff3 libBLAS.dylib (1185.50.4) <4087FFE0-627E-3623-96B4-F0A9A1991E09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fffcbd16000 - 0x7fffcbd2affb libBNNS.dylib (15) <254698C7-7D36-3FFF-864E-ADEEEE543076> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
0x7fffcbd2b000 - 0x7fffcc121fef libLAPACK.dylib (1185.50.4) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fffcc122000 - 0x7fffcc138fff libLinearAlgebra.dylib (1185.50.4) <345CAACF-7263-36EF-B69B-793EA8B390AF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
0x7fffcc139000 - 0x7fffcc13ffff libQuadrature.dylib (3) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
0x7fffcc140000 - 0x7fffcc154ff7 libSparseBLAS.dylib (1185.50.4) <67BA432E-FB59-3C78-A8BE-ED4274CBC359> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
0x7fffcc155000 - 0x7fffcc2dcfe7 libvDSP.dylib (600.60.1) <4155F45B-41CD-3782-AE8F-7AE740FD83C3> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fffcc2dd000 - 0x7fffcc38ffff libvMisc.dylib (600.60.1) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fffcc390000 - 0x7fffcc390fff 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
0x7fffcc64f000 - 0x7fffcd428ff3 com.apple.AppKit (6.9 - 1504.83.101) <9BE62551-6557-3E49-9894-6917D403E8F8> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fffcd43a000 - 0x7fffcd43afff com.apple.ApplicationServices (48 - 48) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fffcd43b000 - 0x7fffcd4a9ff7 com.apple.ApplicationServices.ATS (377 - 422.3) <73C230CF-3213-3DCA-B528-664FEC76A90C> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fffcd543000 - 0x7fffcd672fff libFontParser.dylib (194.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
0x7fffcd673000 - 0x7fffcd6bdfff libFontRegistry.dylib (196.4) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
0x7fffcd71a000 - 0x7fffcd74dfff libTrueTypeScaler.dylib (194.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
0x7fffcd7ba000 - 0x7fffcd864ff7 com.apple.ColorSync (4.12.0 - 502.2) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fffcd865000 - 0x7fffcd8b6fff com.apple.HIServices (1.22 - 593) <045870A9-1D92-3FEF-8722-671E99A35E71> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fffcd8b7000 - 0x7fffcd8c6ff3 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
0x7fffcd8c7000 - 0x7fffcd914fff 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
0x7fffcd915000 - 0x7fffcd950fff com.apple.QD (3.12 - 313) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fffcd951000 - 0x7fffcd95cfff 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
0x7fffcd95d000 - 0x7fffcdb69ff7 com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <1F4026C6-23C1-39E8-823D-72298FECF75C> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fffcdb6a000 - 0x7fffcdb6afff com.apple.audio.units.AudioUnit (1.14 - 1.14) <2CEE36AF-79E6-3B3E-B369-285E6C1886F7> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fffcdcd3000 - 0x7fffce0affff com.apple.CFNetwork (811.8 - 811.8) <3FB812CB-F4BF-3C47-B772-042FC4D59A33> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fffce0ce000 - 0x7fffce3d7fff com.apple.HIToolbox (2.1.1 - 857.8) <5367366E-747E-32CF-8E76-93CD8E7424C7> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fffce3e2000 - 0x7fffce479ff3 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
0x7fffce49a000 - 0x7fffce4a0ff7 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
0x7fffce6cb000 - 0x7fffce758fff com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <78767F88-91D4-31CE-AAC6-1F9407F479BB> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fffce759000 - 0x7fffce76cfff com.apple.CoreBluetooth (1.0 - 1) /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
0x7fffce76d000 - 0x7fffcea68fff com.apple.CoreData (120 - 754.2) <4C9CAB2C-60D4-3694-A0A0-5B04B14BD14E> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fffcea69000 - 0x7fffceb16ff7 com.apple.CoreDisplay (1.0 - 1) <53D1EAFE-23A4-398D-BF52-E4299E670DB6> /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
0x7fffceb17000 - 0x7fffcefb0ff7 com.apple.CoreFoundation (6.9 - 1349.90) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fffcefb1000 - 0x7fffcf633fff com.apple.CoreGraphics (2.0 - 1070.22) /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fffcf634000 - 0x7fffcf877ffb com.apple.CoreImage (12.4.0 - 451.4.9) /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
0x7fffcf9dc000 - 0x7fffcf9dcfff com.apple.CoreServices (775.19 - 775.19) <5046FF69-034E-3570-AC30-D14AA469F669> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fffcf9dd000 - 0x7fffcfa2efff com.apple.AE (712.5 - 712.5) <61F2AE2C-E04E-3FDF-9E88-201325136C83> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fffcfa2f000 - 0x7fffcfd0aff7 com.apple.CoreServices.CarbonCore (1159.6 - 1159.6) <08AC074C-965B-3EDF-8E45-0707C8DE9EAD> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fffcfd0b000 - 0x7fffcfd3efff com.apple.DictionaryServices (1.2 - 274) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fffcfd3f000 - 0x7fffcfd47ff3 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
0x7fffcfd48000 - 0x7fffcfeb4ff7 com.apple.LaunchServices (775.19 - 775.19) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fffcfeb5000 - 0x7fffcff65ffb com.apple.Metadata (10.7.0 - 1075.40) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fffcff66000 - 0x7fffcffc5fff com.apple.CoreServices.OSServices (775.19 - 775.19) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fffcffc6000 - 0x7fffd0036fff 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
0x7fffd0037000 - 0x7fffd007cff7 com.apple.coreservices.SharedFileList (38 - 38) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
0x7fffd0105000 - 0x7fffd0252ffb com.apple.CoreText (352.0 - 544.16) <543AFBA5-4E6B-3F81-BC45-81ED9707BD9C> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fffd0253000 - 0x7fffd0288ff3 com.apple.CoreVideo (1.8 - 235.3) /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fffd0289000 - 0x7fffd02faffb com.apple.framework.CoreWLAN (11.0 - 1200.31) <4D57D932-6D66-3800-8D33-13951D2E0D84> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
0x7fffd03f8000 - 0x7fffd03fdfff com.apple.DiskArbitration (2.7 - 2.7) <70F56042-EF04-3BAF-9E04-90F423FB2BCC> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fffd058f000 - 0x7fffd0935fff com.apple.Foundation (6.9 - 1349.91) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fffd0961000 - 0x7fffd0992ff7 com.apple.GSS (4.0 - 2.0) <30A77A95-CBD4-3BD7-9BFF-8426071F5D9D> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
0x7fffd0a52000 - 0x7fffd0af5fff com.apple.Bluetooth (5.0.5 - 5.0.5f1) <7BC341AE-0207-3670-AD01-27687D9D6F5E> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
0x7fffd0af6000 - 0x7fffd0b8cff7 com.apple.framework.IOKit (2.0.2 - 1324.60.4) <454036AD-86AA-3ABB-8C53-B5F654A6824D> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fffd0b8d000 - 0x7fffd0b93ffb com.apple.IOSurface (159.12 - 159.12) /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
0x7fffd0be6000 - 0x7fffd0d46fef com.apple.ImageIO.framework (3.3.0 - 1599.13) <443879A7-48C6-37ED-AC0B-166EEEABA662> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fffd0d47000 - 0x7fffd0d4bfff libGIF.dylib (1599.13) <11C5D9D7-B8A1-3D53-BA50-B25976FE6379> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fffd0d4c000 - 0x7fffd0e3cff7 libJP2.dylib (1599.13) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
0x7fffd0e3d000 - 0x7fffd0e60ffb libJPEG.dylib (1599.13) /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fffd0e61000 - 0x7fffd0e88ff7 libPng.dylib (1599.13) <561865FA-A51B-3EFF-ABFF-B4566B90B1A2> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fffd0e89000 - 0x7fffd0e8bff3 libRadiance.dylib (1599.13) <6559253B-8FE2-3884-BC93-95BB7705A6D1> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fffd0e8c000 - 0x7fffd0edaffb libTIFF.dylib (1599.13) <8FC594B3-6BBF-3A70-9994-203E9B330B5F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fffd1c43000 - 0x7fffd1c5cff7 com.apple.Kerberos (3.0 - 1) /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fffd243c000 - 0x7fffd2497fff com.apple.Metal (87.18 - 87.18) /System/Library/Frameworks/Metal.framework/Versions/A/Metal
0x7fffd2d80000 - 0x7fffd2d88fff com.apple.NetFS (6.0 - 4.0) <14A24D00-5673-330A-959D-87F72040DEFF> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
0x7fffd2f68000 - 0x7fffd2fb6ff3 com.apple.opencl (2.8.6 - 2.8.6) /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
0x7fffd2fb7000 - 0x7fffd2fd0ffb com.apple.CFOpenDirectory (10.12 - 194) /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
0x7fffd2fd1000 - 0x7fffd2fdcff7 com.apple.OpenDirectory (10.12 - 194) <4298FFD0-B1A7-3064-AF5B-708B3FA38671> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
0x7fffd2fdd000 - 0x7fffd2fdffff libCVMSPluginSupport.dylib (14.0.16) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
0x7fffd2fe0000 - 0x7fffd2fe3ff7 libCoreFSCache.dylib (156.3) <687C4CC3-6537-344B-8BE1-5234C8CB2864> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
0x7fffd2fe4000 - 0x7fffd2fe8fff libCoreVMClient.dylib (156.3) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
0x7fffd2fe9000 - 0x7fffd2ff2ff7 libGFXShared.dylib (14.0.16) <170D07F3-2D30-3D4B-80A0-971E0A765709> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
0x7fffd2ff3000 - 0x7fffd2ffefff libGL.dylib (14.0.16) <0801F3B9-A525-32BB-9BC0-478947CE21D9> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fffd2fff000 - 0x7fffd303bff7 libGLImage.dylib (14.0.16) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fffd31b3000 - 0x7fffd31f4ff7 libGLU.dylib (14.0.16) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fffd3b5c000 - 0x7fffd3b6afff com.apple.opengl (14.0.16 - 14.0.16) /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fffd46bc000 - 0x7fffd48bcfff com.apple.QuartzCore (1.11 - 453.39.5) <34F65F8C-01D2-3120-BD04-2620BB652D50> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fffd4e25000 - 0x7fffd5127ff7 com.apple.security (7.0 - 57740.60.22) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fffd5128000 - 0x7fffd519dfff com.apple.securityfoundation (6.0 - 55132.50.7) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
0x7fffd51c8000 - 0x7fffd51cbff3 com.apple.xpc.ServiceManagement (1.0 - 1) /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
0x7fffd5552000 - 0x7fffd55c1ff7 com.apple.SystemConfiguration (1.14 - 1.14) /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fffd7e42000 - 0x7fffd7e64ffb com.apple.framework.Apple80211 (12.0 - 1200.47) <869BFE4C-3F15-349E-9715-0A48ED725EAE> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
0x7fffd7e65000 - 0x7fffd7e74feb com.apple.AppleFSCompression (88.50.3 - 1.0) <478E8BFF-8BA2-375E-BE02-BA27F115C15A> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
0x7fffd7f5e000 - 0x7fffd7fe997f com.apple.AppleJPEG (1.0 - 1) /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
0x7fffd841c000 - 0x7fffd849aff7 com.apple.backup.framework (1.8.5 - 1.8.5) /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
0x7fffd9125000 - 0x7fffd914cff3 com.apple.ChunkingLibrary (173 - 173) /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
0x7fffd9a71000 - 0x7fffd9a7affb com.apple.CommonAuth (4.0 - 2.0) <44E4467E-90BB-3CC4-9E57-9B09D7E90081> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
0x7fffda1c3000 - 0x7fffda1d3fff com.apple.CoreEmoji (1.0 - 40.3.3) /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
0x7fffda50e000 - 0x7fffda53eff3 com.apple.CoreServicesInternal (276.2 - 276.2) <05EB7D45-DD4C-3A0F-AC63-A0C2A68E6481> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
0x7fffda7cf000 - 0x7fffda85eff7 com.apple.CoreSymbolication (62046) <9685A34A-C6FD-3681-8F7E-211D48298DD2> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
0x7fffda85f000 - 0x7fffda99efe7 com.apple.coreui (2.1 - 431.3) <8D0FA478-9B6C-3D6D-8ADF-8677BA0BF134> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fffda99f000 - 0x7fffdaa6fff3 com.apple.CoreUtils (5.1 - 510.31) <4AC4A8E9-C1E8-3FBA-AF0E-96F9404D826D> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
0x7fffdaabf000 - 0x7fffdab24ff3 com.apple.framework.CoreWiFi (12.0 - 1200.31) /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
0x7fffdab25000 - 0x7fffdab33ff7 com.apple.CrashReporterSupport (10.12 - 827) <802A9B81-E349-348B-90AB-10E40B654250> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
0x7fffdaba5000 - 0x7fffdabafffb com.apple.framework.DFRFoundation (1.0 - 104.25) <7CFF896C-EF22-3941-BB3D-F3615CE4C908> /System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
0x7fffdabb0000 - 0x7fffdabb4ff3 com.apple.DSExternalDisplay (3.1 - 380) <4B5E3FF0-E8C3-38CC-BF72-418C928956AB> /System/Library/PrivateFrameworks/DSExternalDisplay.framework/Versions/A/DSExternalDisplay
0x7fffdabea000 - 0x7fffdac5fffb com.apple.datadetectorscore (7.0 - 539.1) <84F04DEF-DF0A-3F93-AEE9-B6FAC781164B> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
0x7fffdac9b000 - 0x7fffdacdafff com.apple.DebugSymbols (137 - 137) <58A70B66-2628-3CFE-B103-2200D95FC5F7> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
0x7fffdacdb000 - 0x7fffdadecfff com.apple.desktopservices (1.11.5 - 1.11.5) <46A9D4F3-1EF8-373C-98A4-AD48D285E484> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fffdb0d4000 - 0x7fffdb505ff7 com.apple.vision.FaceCore (3.3.2 - 3.3.2) <9391D5A3-738C-3136-9D07-518CB43DBADA> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
0x7fffdc85c000 - 0x7fffdc85cfff libmetal_timestamp.dylib (600.0.49.9) /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
0x7fffdcb2d000 - 0x7fffdcb49fff com.apple.GenerationalStorage (2.0 - 267.1) <3DE1C580-D089-362D-8582-8DE68A3C5F13> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
0x7fffdd25a000 - 0x7fffdd2d0ff3 com.apple.Heimdal (4.0 - 2.0) <9541C717-96FF-32D3-8F0B-5048525DAA70> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
0x7fffdd8eb000 - 0x7fffdd8f2ffb com.apple.IOAccelerator (311.16.2 - 311.16.2) <96FA28B6-B03D-3A5E-AF07-0AE4486D2968> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
0x7fffdd8f4000 - 0x7fffdd908ff7 com.apple.IOPresentment (1.0 - 29.10) <30DF04EE-10E2-353F-845F-A97B87DF3207> /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
0x7fffdd909000 - 0x7fffdd92bfff com.apple.IconServices (74.4 - 74.4) <218DDD05-35F4-3833-B98D-471ED0EBC031> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
0x7fffdda12000 - 0x7fffddbc9fff com.apple.LanguageModeling (1.0 - 123.2.5) /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
0x7fffde4ea000 - 0x7fffde563ff7 com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1) /System/Library/PrivateFrameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
0x7fffde6ec000 - 0x7fffde714ff7 com.apple.MultitouchSupport.framework (368.16 - 368.16) /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
0x7fffde7c6000 - 0x7fffde7d1fff com.apple.NetAuth (6.2 - 6.2) <97F487D6-8089-31A8-B68C-6C1EAC6ED1B5> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
0x7fffdf0a9000 - 0x7fffdf0eaff3 com.apple.PerformanceAnalysis (1.148.3 - 148.3) /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
0x7fffdf7d2000 - 0x7fffdf7ecfff com.apple.ProtocolBuffer (1 - 249.1) /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
0x7fffdf805000 - 0x7fffdf828ff3 com.apple.RemoteViewServices (2.0 - 124) <6B967FDA-6591-302C-BA0A-76C4856E584E> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
0x7fffe0584000 - 0x7fffe0611fff com.apple.Sharing (696.2.67 - 696.2.67) /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
0x7fffe0632000 - 0x7fffe0898feb com.apple.SkyLight (1.600.0 - 170.3) <38AC05EF-3A9E-3E3E-9849-04E0223DF7B9> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
0x7fffe0a77000 - 0x7fffe0a83ff7 com.apple.SpeechRecognitionCore (3.3.2 - 3.3.2) <684BD1EA-8268-331C-A5A9-080EB375C658> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
0x7fffe116f000 - 0x7fffe11e3fdf com.apple.Symbolication (62048.1) <1A30ED19-7532-3F46-9DD3-9879A973D0CF> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
0x7fffe1622000 - 0x7fffe1628ff7 com.apple.TCC (1.0 - 1) <911B534B-4AC7-34E4-935E-E42ECD008CBC> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
0x7fffe16b4000 - 0x7fffe177aff7 com.apple.TextureIO (2.8 - 2.8) <3D61E533-4156-3B21-B7ED-CB823E680DFC> /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
0x7fffe17f0000 - 0x7fffe1980ff3 com.apple.UIFoundation (1.0 - 490.7) <2A3063FE-1790-3510-8A0E-AEC581D42B7E> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
0x7fffe2a31000 - 0x7fffe2a33ffb com.apple.loginsupport (1.0 - 1) /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
0x7fffe2a88000 - 0x7fffe2aa3ff7 libCRFSuite.dylib (34) /usr/lib/libCRFSuite.dylib
0x7fffe2aa4000 - 0x7fffe2aaffff libChineseTokenizer.dylib (21) <0886E908-A825-36AF-B94B-2361FD8BC2A1> /usr/lib/libChineseTokenizer.dylib
0x7fffe2b41000 - 0x7fffe2b42ff3 libDiagnosticMessagesClient.dylib (102) <84A04D24-0E60-3810-A8C0-90A65E2DF61A> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fffe2b43000 - 0x7fffe2d56fff libFosl_dynamic.dylib (16.39) /usr/lib/libFosl_dynamic.dylib
0x7fffe2d7a000 - 0x7fffe2d7afff libOpenScriptingUtil.dylib (172.1) <0F1BA407-97D1-36F6-882D-A355EAAD5E00> /usr/lib/libOpenScriptingUtil.dylib
0x7fffe2d7b000 - 0x7fffe2d7fffb libScreenReader.dylib (477.40.6) /usr/lib/libScreenReader.dylib
0x7fffe2d80000 - 0x7fffe2d81ffb libSystem.B.dylib (1238.60.2) /usr/lib/libSystem.B.dylib
0x7fffe2ded000 - 0x7fffe2e18ff3 libarchive.2.dylib (41.70.2) <907D1FB1-9A65-33F5-AFC8-0B6E5AE9D83A> /usr/lib/libarchive.2.dylib
0x7fffe2e19000 - 0x7fffe2e95fc7 libate.dylib (1.12.13) /usr/lib/libate.dylib
0x7fffe2e99000 - 0x7fffe2e99ff3 libauto.dylib (187) <34388D0B-C539-3C1B-9408-2BC152162E43> /usr/lib/libauto.dylib
0x7fffe2e9a000 - 0x7fffe2eaaff3 libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib
0x7fffe2eab000 - 0x7fffe2eb9ff7 libbz2.1.0.dylib (38) /usr/lib/libbz2.1.0.dylib
0x7fffe2eba000 - 0x7fffe2f10ff7 libc++.1.dylib (307.5) <0B43BB5D-E6EB-3464-8DE9-B41AC8ED9D1C> /usr/lib/libc++.1.dylib
0x7fffe2f11000 - 0x7fffe2f3aff7 libc++abi.dylib (307.4) /usr/lib/libc++abi.dylib
0x7fffe2f3b000 - 0x7fffe2f4bffb libcmph.dylib (6) <2B5D405E-2D0B-3320-ABD6-622934C86ABE> /usr/lib/libcmph.dylib
0x7fffe2f4c000 - 0x7fffe2f62fcf libcompression.dylib (39) /usr/lib/libcompression.dylib
0x7fffe2f63000 - 0x7fffe2f63ff7 libcoretls.dylib (121.50.4) <64B1001E-10F6-3542-A3B2-C4B49F51817F> /usr/lib/libcoretls.dylib
0x7fffe2f64000 - 0x7fffe2f65ff3 libcoretls_cfhelpers.dylib (121.50.4) <1A10303E-5EB0-3C7C-9165-021FCDFD934D> /usr/lib/libcoretls_cfhelpers.dylib
0x7fffe32a1000 - 0x7fffe32f4ff7 libcups.2.dylib (450) <9950BFCB-7882-33C9-9ECF-CE66773C5657> /usr/lib/libcups.2.dylib
0x7fffe3371000 - 0x7fffe3371fff libenergytrace.dylib (15) /usr/lib/libenergytrace.dylib
0x7fffe3381000 - 0x7fffe3386ff7 libheimdal-asn1.dylib (498.50.9) <92C953A2-5E1D-39E9-875E-92F29A12D6FB> /usr/lib/libheimdal-asn1.dylib
0x7fffe3387000 - 0x7fffe3479ff7 libiconv.2.dylib (50) <42125B35-81D7-3FC4-9475-A26DBE10884D> /usr/lib/libiconv.2.dylib
0x7fffe347a000 - 0x7fffe369fffb libicucore.A.dylib (57167.0.1) /usr/lib/libicucore.A.dylib
0x7fffe36a5000 - 0x7fffe36a6fff liblangid.dylib (126) <2085E7A7-9A34-3735-87F4-F174EF8EABF0> /usr/lib/liblangid.dylib
0x7fffe36a7000 - 0x7fffe36c0ffb liblzma.5.dylib (10) <44BD0279-99DD-36B5-8A6E-C11432E2098D> /usr/lib/liblzma.5.dylib
0x7fffe36c1000 - 0x7fffe36d7ff7 libmarisa.dylib (5) <9030D214-5D0F-30CB-AC03-902C63909362> /usr/lib/libmarisa.dylib
0x7fffe36d8000 - 0x7fffe3980ff7 libmecabra.dylib (744.8) /usr/lib/libmecabra.dylib
0x7fffe39b3000 - 0x7fffe3a2dff3 libnetwork.dylib (856.60.1) <191E99F5-4723-3180-8013-02AF2F9AE4B8> /usr/lib/libnetwork.dylib
0x7fffe3a2e000 - 0x7fffe3e00047 libobjc.A.dylib (709.1) <70614861-0340-32E2-85ED-FE65759CDFFA> /usr/lib/libobjc.A.dylib
0x7fffe3e03000 - 0x7fffe3e07fff libpam.2.dylib (21.30.1) <71EB0D88-DE84-3C8D-A2C5-58AA282BC5BC> /usr/lib/libpam.2.dylib
0x7fffe3e08000 - 0x7fffe3e39fff libpcap.A.dylib (67.60.2) /usr/lib/libpcap.A.dylib
0x7fffe3e56000 - 0x7fffe3e72ffb libresolv.9.dylib (64) /usr/lib/libresolv.9.dylib
0x7fffe3ec2000 - 0x7fffe4010ff7 libsqlite3.dylib (254.8) <1ECF7DF7-7A07-3B4B-A63B-F4EFF6BC7ACF> /usr/lib/libsqlite3.dylib
0x7fffe4105000 - 0x7fffe4112fff libxar.1.dylib (357) <69547C64-E811-326F-BBED-490C6361BDCB> /usr/lib/libxar.1.dylib
0x7fffe4113000 - 0x7fffe4202ff3 libxml2.2.dylib (30.18) <75135C3D-47B1-3217-AC2B-B566E2E1A4A3> /usr/lib/libxml2.2.dylib
0x7fffe4203000 - 0x7fffe422cfff libxslt.1.dylib (15.9.1) /usr/lib/libxslt.1.dylib
0x7fffe422d000 - 0x7fffe423eff3 libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
0x7fffe424d000 - 0x7fffe4251ff7 libcache.dylib (79) <093A4DAB-8385-3D47-A350-E20CB7CCF7BF> /usr/lib/system/libcache.dylib
0x7fffe4252000 - 0x7fffe425cfff libcommonCrypto.dylib (60092.50.5) <8A64D1B0-C70E-385C-92F0-E669079FDA90> /usr/lib/system/libcommonCrypto.dylib
0x7fffe425d000 - 0x7fffe4264fff libcompiler_rt.dylib (62) <55D47421-772A-32AB-B529-1A46C2F43B4D> /usr/lib/system/libcompiler_rt.dylib
0x7fffe4265000 - 0x7fffe426dfff libcopyfile.dylib (138) <819BEA3C-DF11-3E3D-A1A1-5A51C5BF1961> /usr/lib/system/libcopyfile.dylib
0x7fffe426e000 - 0x7fffe42f1fdf libcorecrypto.dylib (442.50.19) <65D7165E-2E71-335D-A2D6-33F78E2DF0C1> /usr/lib/system/libcorecrypto.dylib
0x7fffe42f2000 - 0x7fffe4323fff libdispatch.dylib (703.50.37) <6582BAD6-ED27-3B30-B620-90B1C5A4AE3C> /usr/lib/system/libdispatch.dylib
0x7fffe4324000 - 0x7fffe4329ffb libdyld.dylib (433.5) <128FF2BB-D0C8-36D9-A456-C1077E7BB182> /usr/lib/system/libdyld.dylib
0x7fffe432a000 - 0x7fffe432affb libkeymgr.dylib (28) <7AA011A9-DC21-3488-BF73-3B5B14D1FDD6> /usr/lib/system/libkeymgr.dylib
0x7fffe432b000 - 0x7fffe4337fff libkxld.dylib (3789.73.8) /usr/lib/system/libkxld.dylib
0x7fffe4338000 - 0x7fffe4338fff liblaunch.dylib (972.70.1) /usr/lib/system/liblaunch.dylib
0x7fffe4339000 - 0x7fffe433eff3 libmacho.dylib (898) <17D5D855-F6C3-3B04-B680-E9BF02EF8AED> /usr/lib/system/libmacho.dylib
0x7fffe433f000 - 0x7fffe4341ff3 libquarantine.dylib (85.50.1) <12448CC2-378E-35F3-BE33-9DC395A5B970> /usr/lib/system/libquarantine.dylib
0x7fffe4342000 - 0x7fffe4343ffb libremovefile.dylib (45) <38D4CB9C-10CD-30D3-8B7B-A515EC75FE85> /usr/lib/system/libremovefile.dylib
0x7fffe4344000 - 0x7fffe435cff7 libsystem_asl.dylib (349.50.5) <096E4228-3B7C-30A6-8B13-EC909A64499A> /usr/lib/system/libsystem_asl.dylib
0x7fffe435d000 - 0x7fffe435dff7 libsystem_blocks.dylib (67) <10DC5404-73AB-35B3-A277-A8AFECB476EB> /usr/lib/system/libsystem_blocks.dylib
0x7fffe435e000 - 0x7fffe43ebfef libsystem_c.dylib (1158.50.2) /usr/lib/system/libsystem_c.dylib
0x7fffe43ec000 - 0x7fffe43efffb libsystem_configuration.dylib (888.60.2) /usr/lib/system/libsystem_configuration.dylib
0x7fffe43f0000 - 0x7fffe43f3fff libsystem_coreservices.dylib (41.4) <7D26DE79-B424-3450-85E1-F7FAB32714AB> /usr/lib/system/libsystem_coreservices.dylib
0x7fffe43f4000 - 0x7fffe440cfff libsystem_coretls.dylib (121.50.4) /usr/lib/system/libsystem_coretls.dylib
0x7fffe440d000 - 0x7fffe4413fff libsystem_dnssd.dylib (765.50.9) /usr/lib/system/libsystem_dnssd.dylib
0x7fffe4414000 - 0x7fffe443dff7 libsystem_info.dylib (503.50.4) <611DB84C-BF70-3F92-8702-B9F28A900920> /usr/lib/system/libsystem_info.dylib
0x7fffe443e000 - 0x7fffe4460ff7 libsystem_kernel.dylib (3789.73.8) <7F77BDE8-93F4-3A2D-B864-95AE10DCEA60> /usr/lib/system/libsystem_kernel.dylib
0x7fffe4461000 - 0x7fffe44a8fe7 libsystem_m.dylib (3121.6) <86D499B5-BBDC-3D3B-8A4E-97AE8E6672A4> /usr/lib/system/libsystem_m.dylib
0x7fffe44a9000 - 0x7fffe44c7ff7 libsystem_malloc.dylib (116.50.8) /usr/lib/system/libsystem_malloc.dylib
0x7fffe44c8000 - 0x7fffe4521ffb libsystem_network.dylib (856.60.1) <369D0221-56CA-3C3E-9EDE-94B41CAE77B7> /usr/lib/system/libsystem_network.dylib
0x7fffe4522000 - 0x7fffe452bff3 libsystem_networkextension.dylib (563.60.2) /usr/lib/system/libsystem_networkextension.dylib
0x7fffe452c000 - 0x7fffe4535ff3 libsystem_notify.dylib (165.20.1) /usr/lib/system/libsystem_notify.dylib
0x7fffe4536000 - 0x7fffe453efe7 libsystem_platform.dylib (126.50.8) <897462FD-B318-321B-A554-E61982630F7E> /usr/lib/system/libsystem_platform.dylib
0x7fffe453f000 - 0x7fffe4549ff7 libsystem_pthread.dylib (218.60.3) /usr/lib/system/libsystem_pthread.dylib
0x7fffe454a000 - 0x7fffe454dff7 libsystem_sandbox.dylib (592.70.2) <19320A42-2E3B-361B-BBDA-2F5F2E87B100> /usr/lib/system/libsystem_sandbox.dylib
0x7fffe454e000 - 0x7fffe454fff3 libsystem_secinit.dylib (24.50.4) /usr/lib/system/libsystem_secinit.dylib
0x7fffe4550000 - 0x7fffe4557ffb libsystem_symptoms.dylib (532.50.47) <3390E07C-C1CE-348F-ADBD-2C5440B45EAA> /usr/lib/system/libsystem_symptoms.dylib
0x7fffe4558000 - 0x7fffe456bff7 libsystem_trace.dylib (518.70.1) /usr/lib/system/libsystem_trace.dylib
0x7fffe456c000 - 0x7fffe4571ffb libunwind.dylib (35.3) <3D50D8A8-C460-334D-A519-2DA841102C6B> /usr/lib/system/libunwind.dylib
0x7fffe4572000 - 0x7fffe459bff7 libxpc.dylib (972.70.1) /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: 238165
thread_create: 0
thread_set_state: 0

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Activity Tracing 256K 2
CG image 4K 2
CoreUI image file 124K 3
Dispatch continuations 16.0M 2
Kernel Alloc Once 8K 2
MALLOC 87.5M 19
MALLOC guard page 48K 10
STACK GUARD 12K 4
Stack 9748K 5
Stack Guard 56.0M 2
VM_ALLOCATE 4128K 8
__DATA 20.1M 198
__IMAGE 528K 2
__LINKEDIT 123.5M 6
__TEXT 134.6M 199
__UNICODE 556K 2
mapped file 44.5M 6
shared memory 368K 9
=========== ======= =======
TOTAL 497.6M 463

Model: MacBookPro11,4, BootROM MBP114.0177.B00, 4 processors, Intel Core i7, 2.2 GHz, 16 GB, SMC 2.29f24
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x80AD, 0x484D54343147533642465238412D50422020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.21.171.133.1a2)
Bluetooth: Version 5.0.5f1, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0256G, 251 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

@grovesNL
Copy link
Contributor

Thanks! Is that the backtrace you get when running the example with RUST_BACKTRACE=1? Or is there somewhere else that shows the full Rust callstack which ends in

thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:335:21
note: Run with RUST_BACKTRACE=1 for a backtrace.

?

I thought it would be in that backtrace. I'm trying to see which selector is failing – maybe we are accidentally using a feature that was added in Metal 2, since the quad example runs fine on my Macbook (on 10.13.4).

@InMath
Copy link
Author

InMath commented May 22, 2018

2018-05-22 10:26:45.746 quad[30921:3786940] -[MTLComputePipelineDescriptorInternal buffers]: unrecognized selector sent to instance 0x7fc04ec2dbc0
thread 'main' panicked at 'called Option::unwrap() on a None value', libcore/option.rs:335:21
stack backtrace:

0:  #std::sys::unix::backtrace::tracing::imp::unwind_backtrace
          at libstd/sys/unix/backtrace/tracing/gcc_s.rs:49
1: std::sys_common::backtrace::print
          at libstd/sys_common/backtrace.rs:71
          at libstd/sys_common/backtrace.rs:59
2: std::panicking::default_hook::{{closure}}
          at libstd/panicking.rs:207
3: std::panicking::default_hook
          at libstd/panicking.rs:223
4: std::panicking::begin_panic
          at libstd/panicking.rs:402
5: std::panicking::try::do_call
          at libstd/panicking.rs:349
6: std::panicking::try::do_call
          at libstd/panicking.rs:325
7: core::ptr::drop_in_place
          at libcore/panicking.rs:72
8: core::ptr::drop_in_place
          at libcore/panicking.rs:51
9: panic_unwind::dwarf::eh::read_encoded_pointer
          at /Users/travis/build/rust-lang/rust/src/libcore/macros.rs:20
          at libpanic_unwind/gcc.rs:101
          at libpanic_unwind/lib.rs:105
10: <std::io::Write::write_fmt::Adaptor<'a, T> as core::fmt::Write>::write_str
          at libstd/panicking.rs:285
          at libstd/panic.rs:361
          at libstd/rt.rs:58
11: std::rt::lang_start
          at /Users/travis/build/rust-lang/rust/src/libstd/rt.rs:74
12: quad::main

fatal runtime error: failed to initiate panic, error 5
Abort trap: 6

@grovesNL
Copy link
Contributor

Ok great, this is helpful. Thanks!

It looks like it's simply the buffers selector which fails here: https://github.com/gfx-rs/gfx/blob/master/src/backend/metal/src/internal.rs#L241 because it's only supported on macOS 10.13+/iOS 11.0+/tvOS 11.0+.

So it seems like we should just avoid this optimization for older macOS/iOS/tvOS, unless there is another way to set mutability (cc @kvark and #1999)

@grovesNL
Copy link
Contributor

It seems like we can reliably feature detect this case (and other selectors) with the following:

MTLComputePipelineDescriptor *desc = [MTLComputePipelineDescriptor new];
BOOL supportsBuffers = [desc respondsToSelector:@selector(buffers)];

This is preferable to version checking IMO. I don't know how this fits into our Metal bindings though. Maybe we simply have fn supports_xyz() -> bool for these situations so we can cache the feature detection (to avoid performing this check directly in all getters/setters), or some lazy static approach that returns some Err

@kvark kvark added status: ready for work client: blocker blocker issue for a known client labels May 29, 2018
bors bot added a commit that referenced this issue Aug 16, 2018
2325: [mtl] New vertex binding logic r=grovesNL a=kvark

Fixes #2324
Fixes #2307
Fixes #2058 (unrelated to the PR, but harmless)

PR checklist:
- [ ] `make` succeeds (on *nix)
- [x] `make reftests` succeeds
- [x] tested examples with the following backends: metal
- [ ] `rustfmt` run on changed code


Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
@bors bors bot closed this as completed in #2325 Aug 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants