mntmn/interim

Sledge graphical mode on OS X segfaults

Opened this issue · 7 comments

sbp commented

With binutils 2.26 and sdl2 2.0.4 I ran:

$ ./sledge < tests/boot2.l
[alloc] cell heap at 0x104fe5000, 2400000 bytes reserved
[compiler] interim knows 55 symbols. enter (symbols) to see them.
[fs] mounted: /framebuffer
...
compiled def spawn-editor
compiled def spawn-repl
Segmentation fault: 11

segfault

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

Date/Time:             2017-02-02 14:49:34.107 +0800
OS Version:            Mac OS X 10.12.3 (16D32)
Report Version:        12
Anonymous UUID:        57826E3F-1615-3492-E84F-8C4026C4B523

Sleep/Wake UUID:       16FAC0E2-7348-4B4D-B21F-531D9BC2B79E

Time Awake Since Boot: 110000 seconds
Time Since Wake:       5100 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   libsystem_malloc.dylib        	0x00007fffd796cac9 large_malloc + 95
1   libsystem_malloc.dylib        	0x00007fffd79684a7 szone_malloc_should_clear + 365
2   libsystem_malloc.dylib        	0x00007fffd79682da malloc_zone_malloc + 107
3   libsystem_malloc.dylib        	0x00007fffd7967258 malloc + 24
4   sledge                        	0x000000010cf895a2 bytes_alloc + 18 (alloc.c:83)
5   sledge                        	0x000000010cf89aab alloc_num_bytes + 27 (alloc.c:363)
6   ???                           	0x00000001149c7075 0 + 4640764021
7   sledge                        	0x000000010cf86e64 platform_eval + 84 (sledge.c:182)
8   ???                           	0x000000010d000095 0 + 4513071253
9   sledge                        	0x000000010cf882d5 main + 613 (sledge.c:149)
10  libdyld.dylib                 	0x00007fffd77e6255 start + 1

Thread 1:
0   libsystem_kernel.dylib        	0x00007fffd79154e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffd79fd5fe _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffd79fd1ed start_wqthread + 13

Thread 2:
0   libsystem_kernel.dylib        	0x00007fffd79154e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffd79fd791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffd79fd1ed start_wqthread + 13

Thread 3:
0   libsystem_kernel.dylib        	0x00007fffd79154e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffd79fd791 _pthread_wqthread + 1426
2   libsystem_pthread.dylib       	0x00007fffd79fd1ed start_wqthread + 13

Thread 4:
0   libsystem_kernel.dylib        	0x00007fffd79154e2 __workq_kernreturn + 10
1   libsystem_pthread.dylib       	0x00007fffd79fd5fe _pthread_wqthread + 1023
2   libsystem_pthread.dylib       	0x00007fffd79fd1ed start_wqthread + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fffe06262b0  rcx: 0x000000000000000c  rdx: 0x0000000000000000
  rdi: 0x000000010cf9f000  rsi: 0x000000000000002f  rbp: 0x00007fff52c7df18  rsp: 0x00007fff52c7deb8
   r8: 0x000000000002ee01   r9: 0x0000000000000000  r10: 0x00000000fffff000  r11: 0xfffffffffff228e0
  r12: 0x000000010cf9f000  r13: 0x0000000000000000  r14: 0x000000000002f000  r15: 0x0000000000000000
  rip: 0x00007fffd796cac9  rfl: 0x0000000000010206  cr2: 0x0000000101819408
  
Logical CPU:     1
Error Code:      0x00000000
Trap Number:     13


Binary Images:
       0x10cf81000 -        0x10cf8cff3 +sledge (0) <2217EC99-58CB-3B32-9B7C-C7E8CBE3E2E7> /Users/USER/*/sledge
       0x10cf95000 -        0x10cf97ff7  com.apple.ForceFeedback (1.0.6 - 1.0.6) <61C10E23-C37F-3023-9A57-585C34784AA4> /System/Library/Frameworks/ForceFeedback.framework/Versions/A/ForceFeedback
       0x10cfd0000 -        0x10cfdfffb  libSimplifiedChineseConverter.dylib (69) <4A6C9911-5DE8-3CAE-A10C-AACE29D03FFE> /System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
       0x10d00a000 -        0x10d047267  dyld (421.2) <947FC440-80F9-32F7-A773-6FC418FE1AB7> /usr/lib/dyld
       0x10d095000 -        0x10d141ff3 +libSDL2-2.0.0.dylib (0) <9E719E8E-E88E-3189-A837-C0121A187E07> /Volumes/VOLUME/*/libSDL2-2.0.0.dylib
       0x10fb69000 -        0x10fb93ffb  GLRendererFloat (13.0.10) <E508ABC7-3E67-3845-989F-5B764D36FE12> /System/Library/Frameworks/OpenGL.framework/Resources/GLRendererFloat.bundle/GLRendererFloat
       0x110ea2000 -        0x111048fff  GLEngine (13.0.10) <62CCEC13-1EB3-3A65-9224-3DCD2838E0C7> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
       0x111086000 -        0x1111fcffb  libGLProgrammability.dylib (13.0.10) <4C3FD24A-1C43-343E-8EBA-BE1FDCE3F74C> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
       0x1114b4000 -        0x111f1bfff  com.apple.driver.AppleIntelSKLGraphicsGLDriver (10.22.29 - 10.2.2) <5025A451-669C-3A4B-863A-F887E4A62EA2> /System/Library/Extensions/AppleIntelSKLGraphicsGLDriver.bundle/Contents/MacOS/AppleIntelSKLGraphicsGLDriver
       0x112262000 -        0x1122edfff  com.apple.driver.AppleIntelSKLGraphicsMTLDriver (10.22.29 - 10.2.2) <D980C205-F664-3090-9DFB-E484D229BCCC> /System/Library/Extensions/AppleIntelSKLGraphicsMTLDriver.bundle/Contents/MacOS/AppleIntelSKLGraphicsMTLDriver
       0x11410c000 -        0x114119fff  com.apple.iokit.IOHIDLib (2.0.0 - 2.0.0) <C1468E34-63B1-3AD6-9CD0-ED2D45986254> /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib
    0x7fffbed9b000 -     0x7fffbed9bfff  com.apple.Accelerate (1.11 - Accelerate 1.11) <D700DBDF-69AE-37A2-B9C7-0961CF0B6841> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fffbed9c000 -     0x7fffbedb3ffb  libCGInterfaces.dylib (331.5) <518D3064-6E1E-3DF6-881B-57867DFE9B1E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/Libraries/libCGInterfaces.dylib
    0x7fffbedb4000 -     0x7fffbf2cdfeb  com.apple.vImage (8.1 - ???) <6408805B-67E9-3874-8D32-0BB814CE5CDA> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fffbf2ce000 -     0x7fffbf43eff3  libBLAS.dylib (1185) <C7E42BBE-2337-3AEF-9C45-A2F2CB1A5B3E> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fffbf43f000 -     0x7fffbf453ffb  libBNNS.dylib (14) <CFDEE88D-E002-347C-BC68-83099651585B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBNNS.dylib
    0x7fffbf454000 -     0x7fffbf84afef  libLAPACK.dylib (1185) <2E8201CB-9A41-3D65-853E-841917FCE77B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fffbf84b000 -     0x7fffbf861fff  libLinearAlgebra.dylib (1185) <8CC29DE1-A231-3D5E-B5F1-DCC309036FE0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLinearAlgebra.dylib
    0x7fffbf862000 -     0x7fffbf868fff  libQuadrature.dylib (3) <120F6228-A3D4-3184-89D7-785ADC2AC715> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libQuadrature.dylib
    0x7fffbf869000 -     0x7fffbf87dff7  libSparseBLAS.dylib (1185) <C35235B7-CFA6-39A7-BD6E-79F4D9CAFD36> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libSparseBLAS.dylib
    0x7fffbf87e000 -     0x7fffbfa05fe7  libvDSP.dylib (600) <F59348AA-E1D3-3A27-8AB5-F546D38BFB76> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fffbfa06000 -     0x7fffbfab8ffb  libvMisc.dylib (600) <70D4B548-47EE-3C6B-A93B-3EA6B60701E0> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fffbfab9000 -     0x7fffbfab9fff  com.apple.Accelerate.vecLib (3.11 - vecLib 3.11) <A395B521-8E54-30F2-B4FE-355D68900DAF> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fffbfd79000 -     0x7fffc0b4bff3  com.apple.AppKit (6.9 - 1504.81.100) <0CCB2E18-076E-3D8A-A777-A6E57EF2570A> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x7fffc0b5d000 -     0x7fffc0b5dfff  com.apple.ApplicationServices (48 - 48) <237200C2-28A6-3C19-B34B-53C953F8AE42> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
    0x7fffc0b5e000 -     0x7fffc0bccff7  com.apple.ApplicationServices.ATS (377 - 422.2) <3680281F-DB99-3CA2-9C76-CABFC8DBC980> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
    0x7fffc0c66000 -     0x7fffc0d95fff  libFontParser.dylib (194.6) <F3DF2CF7-B25D-30BB-9EE6-1EA9F3B8A066> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib
    0x7fffc0d96000 -     0x7fffc0de0fff  libFontRegistry.dylib (196.3) <855AF921-EAE0-3D07-B161-5EF09806B643> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib
    0x7fffc0e3d000 -     0x7fffc0e70ff7  libTrueTypeScaler.dylib (194.6) <D0D7DA50-DF52-3D24-AFD2-03B336AA1929> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libTrueTypeScaler.dylib
    0x7fffc0edc000 -     0x7fffc0f86ff7  com.apple.ColorSync (4.12.0 - 502.1) <5F244DE3-A6E8-335F-AE3B-25F0E407DD62> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
    0x7fffc0f87000 -     0x7fffc0fd7ff7  com.apple.HIServices (1.22 - 591) <34C950CC-1084-354A-BCE6-9396EDB29DF8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
    0x7fffc0fd8000 -     0x7fffc0fe7ff3  com.apple.LangAnalysis (1.7.0 - 1.7.0) <47D1A017-91A4-37F3-93E0-3923CD6ED2DE> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis
    0x7fffc0fe8000 -     0x7fffc1035fff  com.apple.print.framework.PrintCore (12 - 491) <B7CC15C1-AF50-37F3-8AF6-65F8CDC323F0> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
    0x7fffc1036000 -     0x7fffc1071fff  com.apple.QD (3.12 - 310) <8F718290-DD82-36CE-9AF0-EFB6D31A49F4> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
    0x7fffc1072000 -     0x7fffc107dff7  com.apple.speech.synthesis.framework (6.3.3 - 6.3.3) <629831B1-B13C-30F5-AE16-6BB9037E3753> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x7fffc107e000 -     0x7fffc128efff  com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14) <A1B98513-C19E-376F-8DAF-71BB2F263C5F> /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x7fffc128f000 -     0x7fffc128ffff  com.apple.audio.units.AudioUnit (1.14 - 1.14) <55C6A958-D52B-3D81-B230-EB949212B5D9> /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x7fffc13f8000 -     0x7fffc17cbff7  com.apple.CFNetwork (807.2.14 - 807.2.14) <9702C8B9-2984-3DD9-9C59-A83499C2DBC4> /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
    0x7fffc17e5000 -     0x7fffc17e5fff  com.apple.Carbon (154 - 157) <1BF9C0EB-45A0-3584-85DC-F64A9914F40D> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x7fffc17e6000 -     0x7fffc17e9fff  com.apple.CommonPanels (1.2.6 - 98) <6A71E8CB-3BF7-3A49-A5F7-0579BAE1219D> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
    0x7fffc17ea000 -     0x7fffc1af2ff7  com.apple.HIToolbox (2.1.1 - 856.13) <98D5D2A7-55A6-31A7-9056-CC48EBB16654> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
    0x7fffc1af3000 -     0x7fffc1af6ff7  com.apple.help (1.3.5 - 49) <27C5F9FE-838F-3807-A4AC-D99470185B10> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
    0x7fffc1af7000 -     0x7fffc1afcfff  com.apple.ImageCapture (9.0 - 9.0) <E3E757FD-4060-33A4-A2AC-85EFBD987FCE> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
    0x7fffc1afd000 -     0x7fffc1b94ff3  com.apple.ink.framework (10.9 - 219) <B44BA36D-7549-3EB2-8CF6-E171885194FB> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
    0x7fffc1b95000 -     0x7fffc1baffff  com.apple.openscripting (1.7 - 172) <B204BF70-C4AA-3699-8493-66E6645A92A8> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
    0x7fffc1bb0000 -     0x7fffc1bb1ff3  com.apple.print.framework.Print (12 - 267) <CA7E9448-0903-34C8-AAF6-9070B52BF70E> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
    0x7fffc1bb2000 -     0x7fffc1bb4ff7  com.apple.securityhi (9.0 - 55006) <ACD20DC1-FBDE-3E1B-91BF-867FE7849CBC> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
    0x7fffc1bb5000 -     0x7fffc1bbbff7  com.apple.speech.recognition.framework (6.0.1 - 6.0.1) <A20B0F7B-C32A-3FF1-BB75-BAC0EE4EF889> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
    0x7fffc1c9a000 -     0x7fffc1c9afff  com.apple.Cocoa (6.11 - 22) <CF1AD0E9-2257-35FE-B719-760B58E405C9> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x7fffc1dda000 -     0x7fffc1e6aff7  com.apple.audio.CoreAudio (4.3.0 - 4.3.0) <A38A11A5-130B-39CE-BEBA-F5427F6801DC> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x7fffc1e6b000 -     0x7fffc1e7efff  com.apple.CoreBluetooth (1.0 - 1) <76AFC4B4-A9FD-3434-B168-90087E71F5C4> /System/Library/Frameworks/CoreBluetooth.framework/Versions/A/CoreBluetooth
    0x7fffc1e7f000 -     0x7fffc2179feb  com.apple.CoreData (120 - 752.8) <FE3F152B-4C35-3A58-A0CB-D04EE5908818> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x7fffc217a000 -     0x7fffc2206fff  com.apple.CoreDisplay (1.0 - 1) <48B568C0-1E12-34F4-943D-EAB447FBA1BE> /System/Library/Frameworks/CoreDisplay.framework/Versions/A/CoreDisplay
    0x7fffc2207000 -     0x7fffc26a1fff  com.apple.CoreFoundation (6.9 - 1348.28) <A40AA224-7A50-3989-95D0-5A228A0E2FAF> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffc26a2000 -     0x7fffc2d24fff  com.apple.CoreGraphics (2.0 - 1070.13.2) <0685658F-21AE-31D9-8C9A-B92528CDFB59> /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
    0x7fffc2d25000 -     0x7fffc2f67fff  com.apple.CoreImage (12.2.0 - 451.3.1) <CDAD60F3-74F6-3EA5-A8B5-B42476E350FD> /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
    0x7fffc30cc000 -     0x7fffc30ccfff  com.apple.CoreServices (775.9.7 - 775.9.7) <A5C444F3-408B-3062-AF4B-BF8CD919F221> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x7fffc30cd000 -     0x7fffc311efff  com.apple.AE (712.2 - 712.2) <342A13C0-4A6A-3947-B66B-0F624A4A7B52> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
    0x7fffc311f000 -     0x7fffc33faff7  com.apple.CoreServices.CarbonCore (1159.5 - 1159.5) <11CC2194-0C9C-397A-B7F9-CDAB9B68D87D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
    0x7fffc33fb000 -     0x7fffc342efff  com.apple.DictionaryServices (1.2 - 274) <864F3808-FFDD-3C4B-A5B7-F1A6C4668A86> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
    0x7fffc342f000 -     0x7fffc3437ffb  com.apple.CoreServices.FSEvents (1230 - 1230) <13A2FC17-8F8C-35BF-9584-59FDFB738E2B> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/FSEvents.framework/Versions/A/FSEvents
    0x7fffc3438000 -     0x7fffc35a4ff7  com.apple.LaunchServices (775.9.7 - 775.9.7) <E350E4F6-822A-3F04-B59B-468A39AF5C64> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
    0x7fffc35a5000 -     0x7fffc3655fff  com.apple.Metadata (10.7.0 - 1075.28) <DBB524CD-6938-3623-99C2-4B1EC1E1BE58> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
    0x7fffc3656000 -     0x7fffc36b5fff  com.apple.CoreServices.OSServices (775.9.7 - 775.9.7) <E9625B0B-9AE7-3024-9FEF-FEE0A1876D9D> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
    0x7fffc36b6000 -     0x7fffc3726fff  com.apple.SearchKit (1.4.0 - 1.4.0) <F1B3EF8D-E820-317C-AC7F-8F056C246874> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
    0x7fffc3727000 -     0x7fffc376dff7  com.apple.coreservices.SharedFileList (38 - 38) <E1400999-1F08-35A1-9D07-27D80A2AF89A> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SharedFileList.framework/Versions/A/SharedFileList
    0x7fffc37fa000 -     0x7fffc3946ff7  com.apple.CoreText (352.0 - 544.5) <E90EA1D8-3491-3014-9043-9928C4E4349C> /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText
    0x7fffc3947000 -     0x7fffc397cfff  com.apple.CoreVideo (1.8 - 234.0) <48C31E93-87C2-31F4-97E7-9E54C1EA8E7D> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x7fffc397d000 -     0x7fffc39eeffb  com.apple.framework.CoreWLAN (11.0 - 1200.25.1) <BEBE9C03-3B9A-3948-99E3-CC8148FA2AB5> /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN
    0x7fffc3aed000 -     0x7fffc3af2fff  com.apple.DiskArbitration (2.7 - 2.7) <16EA6D93-A2EC-31DB-BF52-C4764E7B1630> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x7fffc3c81000 -     0x7fffc4028ff3  com.apple.Foundation (6.9 - 1349.25) <D820A498-2E62-367D-BC72-5845B14C06E3> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x7fffc4054000 -     0x7fffc4085fff  com.apple.GSS (4.0 - 2.0) <95FAD1F9-1610-3428-B9B4-D32F67C26574> /System/Library/Frameworks/GSS.framework/Versions/A/GSS
    0x7fffc4145000 -     0x7fffc41e8ffb  com.apple.Bluetooth (5.0.3 - 5.0.3f1) <CCB4E097-1ED0-3439-8450-2B6EFFBC4608> /System/Library/Frameworks/IOBluetooth.framework/Versions/A/IOBluetooth
    0x7fffc41e9000 -     0x7fffc427eff7  com.apple.framework.IOKit (2.0.2 - 1324.30.13) <163BE7FA-B29A-348F-8B5F-E301F2E8C964> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x7fffc427f000 -     0x7fffc4285ffb  com.apple.IOSurface (153.3 - 153.3) <3DD3BF22-0800-31F2-B179-87F87D6F0548> /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface
    0x7fffc42d7000 -     0x7fffc4430fef  com.apple.ImageIO.framework (3.3.0 - 1582) <564168E7-BEC0-35E3-9BF0-59B65C17225E> /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO
    0x7fffc4431000 -     0x7fffc4435fff  libGIF.dylib (1582) <040243CD-3A68-3ADC-805C-FE1D17C80028> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x7fffc4436000 -     0x7fffc4526ff7  libJP2.dylib (1582) <A55870F9-F27F-3BD0-BE89-981BFF63D485> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x7fffc4527000 -     0x7fffc454affb  libJPEG.dylib (1582) <58C01E72-10A0-313F-8139-ED6E9D087ABB> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x7fffc454b000 -     0x7fffc4572ff7  libPng.dylib (1582) <F2CC3750-3520-311B-9C66-9D86036375B7> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x7fffc4573000 -     0x7fffc4575ff3  libRadiance.dylib (1582) <C3E9CE5C-1A25-391B-9ACB-556AA065B985> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x7fffc4576000 -     0x7fffc45cfff3  libTIFF.dylib (1582) <71ADCD24-67C9-31B5-8E48-A4B89AFBB19F> /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x7fffc519f000 -     0x7fffc51b8ff7  com.apple.Kerberos (3.0 - 1) <49DCBE1A-130C-3FBF-AAEA-AF9A518913AC> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x7fffc59b6000 -     0x7fffc5a0efff  com.apple.Metal (86.18 - 86.18) <7DFE0437-25A8-3E87-8318-91573C895742> /System/Library/Frameworks/Metal.framework/Versions/A/Metal
    0x7fffc62e2000 -     0x7fffc62eafff  com.apple.NetFS (6.0 - 4.0) <6614F9B8-0861-338B-8FF0-8E402F96141C> /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS
    0x7fffc64bf000 -     0x7fffc64c7ff7  libcldcpuengine.dylib (2.8.5) <341EBC48-CCF4-3292-9097-F61715AC573E> /System/Library/Frameworks/OpenCL.framework/Versions/A/Libraries/libcldcpuengine.dylib
    0x7fffc6690000 -     0x7fffc66deff3  com.apple.opencl (2.8.6 - 2.8.6) <553BFCCA-5ACB-3DB0-B958-4BF2DE91838F> /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
    0x7fffc66df000 -     0x7fffc66f8ffb  com.apple.CFOpenDirectory (10.12 - 194) <88E97774-6767-3A01-808B-C923F9310E20> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory
    0x7fffc66f9000 -     0x7fffc6704ff7  com.apple.OpenDirectory (10.12 - 194) <0E4E32DD-6592-3860-9793-BAED6915AE0D> /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory
    0x7fffc6705000 -     0x7fffc6707fff  libCVMSPluginSupport.dylib (13.0.10) <43D037C3-9254-3601-9F5B-CD637D517758> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib
    0x7fffc6708000 -     0x7fffc670bff7  libCoreFSCache.dylib (151.1) <1910EF80-DE30-3817-8FDF-63F3C8B4BA37> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib
    0x7fffc670c000 -     0x7fffc670ffff  libCoreVMClient.dylib (151.1) <8C8E9295-1918-3763-A0B7-6397EB181EF4> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
    0x7fffc6710000 -     0x7fffc6718ffb  libGFXShared.dylib (13.0.10) <52E92D3C-25EA-31F9-9885-DC0D886D9143> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
    0x7fffc6719000 -     0x7fffc6724fff  libGL.dylib (13.0.10) <B40728B5-13D2-3423-9C39-885B1098698D> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x7fffc6725000 -     0x7fffc6761fe7  libGLImage.dylib (13.0.10) <3E856113-9217-3B13-98AD-4D0D356931B6> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
    0x7fffc68d9000 -     0x7fffc6919ff3  libGLU.dylib (13.0.10) <BBCAA457-BA34-3D13-8845-803C63960E08> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x7fffc7281000 -     0x7fffc728ffff  com.apple.opengl (13.0.10 - 13.0.10) <B11A2E1B-4B1D-3ECD-BADA-3508BE5775BF> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x7fffc7fac000 -     0x7fffc81a7ff7  com.apple.QuartzCore (1.11 - 449.41.15) <3CD775C0-683D-3B4E-8EC2-AB1DAC4C3AE9> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x7fffc870d000 -     0x7fffc8a2cfff  com.apple.security (7.0 - 57740.31.2) <A47D7BAE-0591-3184-8E44-FB2EB08A19C2> /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x7fffc8a2d000 -     0x7fffc8aa3ff7  com.apple.securityfoundation (6.0 - 55132.20.1) <9407620B-B230-3320-B0B7-5AE59F1D135C> /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation
    0x7fffc8acd000 -     0x7fffc8ad0ff3  com.apple.xpc.ServiceManagement (1.0 - 1) <4E24C12E-6164-3A7A-8EB8-C2523492BAE8> /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement
    0x7fffc8e57000 -     0x7fffc8ec8ff7  com.apple.SystemConfiguration (1.14 - 1.14) <D9A57D90-E54F-3E1A-AA2F-F5A694BCE4BB> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fffcb52c000 -     0x7fffcb54effb  com.apple.framework.Apple80211 (12.0 - 1200.41) <360012DB-DAE7-3EEF-85F0-E5BE1DE3425D> /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211
    0x7fffcb54f000 -     0x7fffcb55efdb  com.apple.AppleFSCompression (88 - 1.0) <B6E2148F-BFBF-3F1B-A7DF-0F39190B4C20> /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression
    0x7fffcb64d000 -     0x7fffcb6d897f  com.apple.AppleJPEG (1.0 - 1) <B4C3209B-58A5-359F-A898-F61B6C40E5E9> /System/Library/PrivateFrameworks/AppleJPEG.framework/Versions/A/AppleJPEG
    0x7fffcbafd000 -     0x7fffcbb7bfff  com.apple.backup.framework (1.8.3 - 1.8.3) <B2E28A7A-1727-3052-AA73-CBC108286C07> /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup
    0x7fffcc801000 -     0x7fffcc828ffb  com.apple.ChunkingLibrary (172 - 172) <83E91936-305D-32A4-A256-5582B96B1852> /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary
    0x7fffcd151000 -     0x7fffcd15affb  com.apple.CommonAuth (4.0 - 2.0) <830B940B-3523-38DE-996D-695739616D10> /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth
    0x7fffcd87a000 -     0x7fffcd88afff  com.apple.CoreEmoji (1.0 - 39.1) <0A46D6BF-22F3-39AD-B3DC-DE1EE5C442CC> /System/Library/PrivateFrameworks/CoreEmoji.framework/Versions/A/CoreEmoji
    0x7fffcdb6d000 -     0x7fffcdb9dff3  com.apple.CoreServicesInternal (276.2 - 276.2) <7D8DEF04-72F1-39F4-BBFB-09E65D7B8C10> /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal
    0x7fffcde2d000 -     0x7fffcdeb7fff  com.apple.CoreSymbolication (61050) <F4B7C798-F7B7-3977-AA08-59A03F00308E> /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication
    0x7fffcdeb8000 -     0x7fffcdff6fd7  com.apple.coreui (2.1 - 430.6) <99D08D71-3E9D-300C-9EB2-A73F1B5E228C> /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
    0x7fffcdff7000 -     0x7fffce0a7ff3  com.apple.CoreUtils (5.0 - 500.9) <5567181B-721C-339E-A3DC-579E36D92341> /System/Library/PrivateFrameworks/CoreUtils.framework/Versions/A/CoreUtils
    0x7fffce0f7000 -     0x7fffce15cff3  com.apple.framework.CoreWiFi (12.0 - 1200.25.1) <BEFA276C-D284-3160-8641-7DD47E38C9D7> /System/Library/PrivateFrameworks/CoreWiFi.framework/Versions/A/CoreWiFi
    0x7fffce15d000 -     0x7fffce16aff7  com.apple.CrashReporterSupport (10.12 - 817) <CB5251B1-5BE5-308B-B30B-0050065E04CC> /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport
    0x7fffce1dc000 -     0x7fffce1e6ff7  com.apple.framework.DFRFoundation (1.0 - 104.14) <258B6CFE-FD64-31C5-9973-2FD80597ECDA> /System/Library/PrivateFrameworks/DFRFoundation.framework/Versions/A/DFRFoundation
    0x7fffce21c000 -     0x7fffce293ff7  com.apple.datadetectorscore (7.0 - 539.1) <E9892E38-3D5F-36CF-BDC5-E4E3C5516B55> /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore
    0x7fffce2d0000 -     0x7fffce30ffff  com.apple.DebugSymbols (137 - 137) <B229F3F7-250B-3151-8048-CEA7BF80FA52> /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols
    0x7fffce310000 -     0x7fffce421fff  com.apple.desktopservices (1.11.3 - 1.11.3) <CCE689AA-85F3-3587-AE12-1231E8ED127E> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
    0x7fffce705000 -     0x7fffceb36ff7  com.apple.vision.FaceCore (3.3.2 - 3.3.2) <DEB42099-6927-332C-8D3E-D45096318D25> /System/Library/PrivateFrameworks/FaceCore.framework/Versions/A/FaceCore
    0x7fffcfe8b000 -     0x7fffcfe8bfff  libmetal_timestamp.dylib (600.0.48.32) <31DF1B9E-0BBF-308B-B78D-11CCE72DAA68> /System/Library/PrivateFrameworks/GPUCompiler.framework/libmetal_timestamp.dylib
    0x7fffcfe98000 -     0x7fffcfea3ff3  libGPUSupportMercury.dylib (13.0.10) <7CC5CEF8-D132-3234-A078-6D080DFC599F> /System/Library/PrivateFrameworks/GPUSupport.framework/Versions/A/Libraries/libGPUSupportMercury.dylib
    0x7fffd0157000 -     0x7fffd0173ff3  com.apple.GenerationalStorage (2.0 - 259.2) <00BF8427-967F-3693-A86F-DA0F29B49BF3> /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage
    0x7fffd0871000 -     0x7fffd08e7fff  com.apple.Heimdal (4.0 - 2.0) <00F00E7E-7EF4-3254-86D3-ADA4F67938CF> /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal
    0x7fffd0f0a000 -     0x7fffd0f11ffb  com.apple.IOAccelerator (289.32 - 289.32) <6395ACEE-5AD7-3536-AF12-FD6565415D94> /System/Library/PrivateFrameworks/IOAccelerator.framework/Versions/A/IOAccelerator
    0x7fffd0f13000 -     0x7fffd0f27ff3  com.apple.IOPresentment (1.0 - 25) <40934217-996A-3DDB-A8C4-484CA0F0222B> /System/Library/PrivateFrameworks/IOPresentment.framework/Versions/A/IOPresentment
    0x7fffd0f28000 -     0x7fffd0f4afff  com.apple.IconServices (74.3 - 74.3) <3F0BD358-D019-3083-82F2-69CCAD5E5D66> /System/Library/PrivateFrameworks/IconServices.framework/Versions/A/IconServices
    0x7fffd102d000 -     0x7fffd11e3fff  com.apple.LanguageModeling (1.0 - 123.2.4) <FEB98F96-A9BB-3E6C-85B4-B466825B8C92> /System/Library/PrivateFrameworks/LanguageModeling.framework/Versions/A/LanguageModeling
    0x7fffd1aa7000 -     0x7fffd1b20ff7  com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1) <6A759DBA-B7DF-363B-9827-AB1D1129BB34> /System/Library/PrivateFrameworks/MetalPerformanceShaders.framework/Versions/A/MetalPerformanceShaders
    0x7fffd1ca2000 -     0x7fffd1ccafff  com.apple.MultitouchSupport.framework (368.7 - 368.7) <A29E6031-E9A6-353A-BDE5-D8DF20FD393C> /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport
    0x7fffd1d79000 -     0x7fffd1d83fff  com.apple.NetAuth (6.0 - 6.0) <1E7765FC-4580-3CE4-A0F1-CAA22006AE43> /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth
    0x7fffd25ff000 -     0x7fffd2640ff7  com.apple.PerformanceAnalysis (1.145 - 145) <12640C1F-433D-3CD9-B2A8-048D57B8B56D> /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis
    0x7fffd2ce3000 -     0x7fffd2cfdfff  com.apple.ProtocolBuffer (1 - 249) <D8B7694B-B598-3728-8583-9C4CC0F05B64> /System/Library/PrivateFrameworks/ProtocolBuffer.framework/Versions/A/ProtocolBuffer
    0x7fffd2d17000 -     0x7fffd2d3aff3  com.apple.RemoteViewServices (2.0 - 124) <4765DC2E-CF05-38CF-9564-1FBACB7E167C> /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices
    0x7fffd3a38000 -     0x7fffd3ab5ff7  com.apple.Sharing (696.1.22 - 696.1.22) <D0A5C682-8996-3851-B332-AD05301E6FA3> /System/Library/PrivateFrameworks/Sharing.framework/Versions/A/Sharing
    0x7fffd3ad6000 -     0x7fffd3d35fe7  com.apple.SkyLight (1.600.0 - 122.8) <2B8B6734-2B70-3BD8-BB8E-3338FB2708EE> /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight
    0x7fffd3f16000 -     0x7fffd3f22ff7  com.apple.SpeechRecognitionCore (3.3.2 - 3.3.2) <F9F0FCED-3A72-3639-91F2-B7EF248ED1B9> /System/Library/PrivateFrameworks/SpeechRecognitionCore.framework/Versions/A/SpeechRecognitionCore
    0x7fffd460b000 -     0x7fffd4677ff3  com.apple.Symbolication (61080.2) <27A57DC2-FEB7-3D23-AEB5-E3E76C5AAE79> /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication
    0x7fffd4a71000 -     0x7fffd4a77ff7  com.apple.TCC (1.0 - 1) <956F7C1A-D457-3FE0-9CFE-3F1719F0865C> /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC
    0x7fffd4b06000 -     0x7fffd4cceff7  com.apple.TextureIO (1.41 - 1.41) <3A9D9FD9-8997-3BD1-8046-76D0BF709806> /System/Library/PrivateFrameworks/TextureIO.framework/Versions/A/TextureIO
    0x7fffd4d42000 -     0x7fffd4d43fff  com.apple.TrustEvaluationAgent (2.0 - 28) <07C1F711-A1E0-3BAC-8F4D-977516D50925> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
    0x7fffd4d44000 -     0x7fffd4ed4ff3  com.apple.UIFoundation (1.0 - 490.7) <047781ED-9E79-361F-8E04-71FF90C650F3> /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation
    0x7fffd5ef4000 -     0x7fffd5ef6ffb  com.apple.loginsupport (1.0 - 1) <4449ACBA-27A8-3311-BD92-CB7E63583FC6> /System/Library/PrivateFrameworks/login.framework/Versions/A/Frameworks/loginsupport.framework/Versions/A/loginsupport
    0x7fffd5f4b000 -     0x7fffd5f66ff7  libCRFSuite.dylib (34) <BACC371B-6153-36B5-BC54-3BCF26FBB221> /usr/lib/libCRFSuite.dylib
    0x7fffd5f67000 -     0x7fffd5f72fff  libChineseTokenizer.dylib (21) <09E74E18-ADB2-30D2-A858-13691CB1186C> /usr/lib/libChineseTokenizer.dylib
    0x7fffd6004000 -     0x7fffd6005ff3  libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffd6006000 -     0x7fffd6219fff  libFosl_dynamic.dylib (16.38) <8232FA8A-F16A-3DC0-AE68-B61EFCD5F4A4> /usr/lib/libFosl_dynamic.dylib
    0x7fffd623d000 -     0x7fffd623dfff  libOpenScriptingUtil.dylib (172) <D025E180-BB3B-3FFA-98FC-B6835354D723> /usr/lib/libOpenScriptingUtil.dylib
    0x7fffd623e000 -     0x7fffd6242ff3  libScreenReader.dylib (477.20.6) <8158E263-B7DF-3B0C-BABE-4FE94A53DFE5> /usr/lib/libScreenReader.dylib
    0x7fffd6243000 -     0x7fffd6244ff3  libSystem.B.dylib (1238) <9CB018AF-54E9-300F-82BE-81FE553C9154> /usr/lib/libSystem.B.dylib
    0x7fffd62b0000 -     0x7fffd62dbffb  libarchive.2.dylib (41.41.1) <D53F0A5C-7FAA-3FCF-8A27-B7DF032C4221> /usr/lib/libarchive.2.dylib
    0x7fffd62dc000 -     0x7fffd6358fc7  libate.dylib (1.12.13) <8A963F37-CB4F-37FB-BFA5-273917C42437> /usr/lib/libate.dylib
    0x7fffd635c000 -     0x7fffd635cff3  libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffd635d000 -     0x7fffd636dff3  libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib
    0x7fffd636e000 -     0x7fffd637cff7  libbz2.1.0.dylib (38) <6FD3B63F-0F86-3A25-BD5B-E243F58792C9> /usr/lib/libbz2.1.0.dylib
    0x7fffd637d000 -     0x7fffd63d3ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffd63d4000 -     0x7fffd63fefff  libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffd63ff000 -     0x7fffd640fffb  libcmph.dylib (6) <2B5D405E-2D0B-3320-ABD6-622934C86ABE> /usr/lib/libcmph.dylib
    0x7fffd6410000 -     0x7fffd6425fc3  libcompression.dylib (34) <1691D6F2-46CD-3DA6-B44F-24CDD9BD0E4E> /usr/lib/libcompression.dylib
    0x7fffd6426000 -     0x7fffd6426ff7  libcoretls.dylib (121.31.1) <BCC32537-4831-3E9F-876E-8C9F4CF52FD3> /usr/lib/libcoretls.dylib
    0x7fffd6427000 -     0x7fffd6428ff3  libcoretls_cfhelpers.dylib (121.31.1) <6F37C5AD-7999-3D31-A52F-7AEED935F32D> /usr/lib/libcoretls_cfhelpers.dylib
    0x7fffd64e2000 -     0x7fffd65c7ff7  libcrypto.0.9.8.dylib (64.30.2) <D41E1901-06DD-3860-BB4F-B3ACE0284C01> /usr/lib/libcrypto.0.9.8.dylib
    0x7fffd6765000 -     0x7fffd67b8ff7  libcups.2.dylib (450) <78243BA4-43AB-3364-8111-8D54D3382621> /usr/lib/libcups.2.dylib
    0x7fffd6833000 -     0x7fffd6833fff  libenergytrace.dylib (15) <A1B040A2-7977-3097-9ADF-34FF181EB970> /usr/lib/libenergytrace.dylib
    0x7fffd6843000 -     0x7fffd6848ff7  libheimdal-asn1.dylib (498.30.1) <4ED9F6E3-83BC-3302-B004-C25399DA0333> /usr/lib/libheimdal-asn1.dylib
    0x7fffd6849000 -     0x7fffd693bff7  libiconv.2.dylib (50) <42125B35-81D7-3FC4-9475-A26DBE10884D> /usr/lib/libiconv.2.dylib
    0x7fffd693c000 -     0x7fffd6b61ffb  libicucore.A.dylib (57149.0.1) <6B5FDA93-AA88-318F-9608-C2A33D602EC7> /usr/lib/libicucore.A.dylib
    0x7fffd6b67000 -     0x7fffd6b68fff  liblangid.dylib (126) <3F4530C9-8BE1-3AA7-9A82-98694D240866> /usr/lib/liblangid.dylib
    0x7fffd6b69000 -     0x7fffd6b82ffb  liblzma.5.dylib (10) <44BD0279-99DD-36B5-8A6E-C11432E2098D> /usr/lib/liblzma.5.dylib
    0x7fffd6b83000 -     0x7fffd6b99ff7  libmarisa.dylib (5) <2183D484-032D-3DE5-8984-3A14006E034E> /usr/lib/libmarisa.dylib
    0x7fffd6b9a000 -     0x7fffd6e41ff7  libmecabra.dylib (744.5) <EF046855-CB9C-32D8-B2F1-C85B526E386F> /usr/lib/libmecabra.dylib
    0x7fffd6e74000 -     0x7fffd6eedff7  libnetwork.dylib (856.30.16) <66C6E4D6-B39C-3309-80C1-CBBE170DDD51> /usr/lib/libnetwork.dylib
    0x7fffd6eee000 -     0x7fffd72bed97  libobjc.A.dylib (706) <F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffd72c1000 -     0x7fffd72c5fff  libpam.2.dylib (21.30.1) <71EB0D88-DE84-3C8D-A2C5-58AA282BC5BC> /usr/lib/libpam.2.dylib
    0x7fffd72c6000 -     0x7fffd72f6ff7  libpcap.A.dylib (67) <450DB888-2C0C-3085-A5F1-69324DFE902C> /usr/lib/libpcap.A.dylib
    0x7fffd7314000 -     0x7fffd7330ffb  libresolv.9.dylib (64) <A244AE4C-00B0-396C-98FF-97FE4DB3DA30> /usr/lib/libresolv.9.dylib
    0x7fffd7380000 -     0x7fffd74c8fe3  libsqlite3.dylib (253) <B5BA5C96-AB13-34A0-8237-DD52A0181DFE> /usr/lib/libsqlite3.dylib
    0x7fffd75bd000 -     0x7fffd75cafff  libxar.1.dylib (357) <58BFB84B-66FE-3299-AA3D-BBA178ADEE39> /usr/lib/libxar.1.dylib
    0x7fffd75ce000 -     0x7fffd76bdffb  libxml2.2.dylib (30.11) <E12AF929-0FA5-3214-840F-C81E6AC9F36E> /usr/lib/libxml2.2.dylib
    0x7fffd76be000 -     0x7fffd76e7fff  libxslt.1.dylib (15.8) <FFF5DD45-F544-34B2-BE3C-DB877DC60081> /usr/lib/libxslt.1.dylib
    0x7fffd76e8000 -     0x7fffd76f9ff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffd7708000 -     0x7fffd770cff7  libcache.dylib (79) <0C8092D3-600F-3ADD-A036-F225B6CDCA43> /usr/lib/system/libcache.dylib
    0x7fffd770d000 -     0x7fffd7718ff7  libcommonCrypto.dylib (60092.30.2) <B16E29B6-EC8D-3A8F-9A89-DD9CF35F7C4B> /usr/lib/system/libcommonCrypto.dylib
    0x7fffd7719000 -     0x7fffd7720fff  libcompiler_rt.dylib (62) <E992E8D9-037C-3454-A366-A25E4D31D6BB> /usr/lib/system/libcompiler_rt.dylib
    0x7fffd7721000 -     0x7fffd7729fff  libcopyfile.dylib (138) <64E285D9-5485-333B-AEE7-8B0C8FB9275F> /usr/lib/system/libcopyfile.dylib
    0x7fffd772a000 -     0x7fffd77adfdf  libcorecrypto.dylib (442.30.20) <2074B932-FD79-30A9-8E90-AF25C49F2AF1> /usr/lib/system/libcorecrypto.dylib
    0x7fffd77ae000 -     0x7fffd77e0fff  libdispatch.dylib (703.30.5) <EA0CC14E-D559-3802-B4B2-0E8C7579AAC4> /usr/lib/system/libdispatch.dylib
    0x7fffd77e1000 -     0x7fffd77e6ff3  libdyld.dylib (421.2) <6F506653-FFF6-3DB8-84F1-109AE3C52F32> /usr/lib/system/libdyld.dylib
    0x7fffd77e7000 -     0x7fffd77e7ffb  libkeymgr.dylib (28) <1A318923-1200-3B06-B432-5007D82F195D> /usr/lib/system/libkeymgr.dylib
    0x7fffd77e8000 -     0x7fffd77f4ffb  libkxld.dylib (3789.41.3) <87550136-9353-348B-9CD9-C342B48C5AAF> /usr/lib/system/libkxld.dylib
    0x7fffd77f5000 -     0x7fffd77f5fff  liblaunch.dylib (972.30.7) <15FACC21-079A-3BDF-9AFB-4253EFDEB587> /usr/lib/system/liblaunch.dylib
    0x7fffd77f6000 -     0x7fffd77fbfff  libmacho.dylib (894) <A2F38EC1-C37C-3B93-B0E4-36B07C177F8C> /usr/lib/system/libmacho.dylib
    0x7fffd77fc000 -     0x7fffd77feff3  libquarantine.dylib (85) <C1D7749F-5F5F-3BB9-BEFC-1F0B9DA941FD> /usr/lib/system/libquarantine.dylib
    0x7fffd77ff000 -     0x7fffd7800ffb  libremovefile.dylib (45) <CD42974E-BE0B-39FC-9BFC-8A7540A04DC6> /usr/lib/system/libremovefile.dylib
    0x7fffd7801000 -     0x7fffd7819ff7  libsystem_asl.dylib (349.30.2) <EFAC72D7-CB13-3DF7-ADF3-EC6635C6F1EA> /usr/lib/system/libsystem_asl.dylib
    0x7fffd781a000 -     0x7fffd781aff7  libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffd781b000 -     0x7fffd78a8fef  libsystem_c.dylib (1158.30.7) <2F881962-03CB-3B9D-A782-D98C1BBA4E3D> /usr/lib/system/libsystem_c.dylib
    0x7fffd78a9000 -     0x7fffd78acffb  libsystem_configuration.dylib (888.30.2) <4FE3983C-E4ED-3939-A578-03AD29C99788> /usr/lib/system/libsystem_configuration.dylib
    0x7fffd78ad000 -     0x7fffd78b0fff  libsystem_coreservices.dylib (41.4) <1A572B9E-0C47-320F-8C64-7990D0A5FB5A> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffd78b1000 -     0x7fffd78c9ff3  libsystem_coretls.dylib (121.31.1) <4676F06D-274D-31BE-B61C-4D7A4AEF4858> /usr/lib/system/libsystem_coretls.dylib
    0x7fffd78ca000 -     0x7fffd78d0fff  libsystem_dnssd.dylib (765.30.11) <DC708D84-ED7D-3936-B996-A67C66B8DDAA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffd78d1000 -     0x7fffd78faff7  libsystem_info.dylib (503.30.1) <9ED9121C-F111-3FAD-BC2F-C95DEE1C9362> /usr/lib/system/libsystem_info.dylib
    0x7fffd78fb000 -     0x7fffd791dff7  libsystem_kernel.dylib (3789.41.3) <B75B128C-7D7A-3318-91CD-82B5A69C5329> /usr/lib/system/libsystem_kernel.dylib
    0x7fffd791e000 -     0x7fffd7965fe7  libsystem_m.dylib (3121.4) <266DB92B-A86F-3691-80FB-1B26AD73CFF3> /usr/lib/system/libsystem_m.dylib
    0x7fffd7966000 -     0x7fffd7984ff7  libsystem_malloc.dylib (116.30.3) <F40DEE3B-386A-3529-A3F7-98117ED55BF4> /usr/lib/system/libsystem_malloc.dylib
    0x7fffd7985000 -     0x7fffd79dcffb  libsystem_network.dylib (856.30.16) <4AE368E9-605D-379D-B04C-2AC7455B8250> /usr/lib/system/libsystem_network.dylib
    0x7fffd79dd000 -     0x7fffd79e6ff3  libsystem_networkextension.dylib (563.30.15) <EB020B0C-7DF0-3EEF-8E3C-15DA3C01D687> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffd79e7000 -     0x7fffd79f0ff3  libsystem_notify.dylib (165.20.1) <E7FD3A7C-DD07-36E2-9FA4-7561F9F114DA> /usr/lib/system/libsystem_notify.dylib
    0x7fffd79f1000 -     0x7fffd79f9fe7  libsystem_platform.dylib (126.1.2) <3CA06D4E-C00A-36DE-AA65-3A390097D1F6> /usr/lib/system/libsystem_platform.dylib
    0x7fffd79fa000 -     0x7fffd7a04ff7  libsystem_pthread.dylib (218.30.1) <C869ED7C-BE29-3532-8E69-3A8DA1447EDC> /usr/lib/system/libsystem_pthread.dylib
    0x7fffd7a05000 -     0x7fffd7a08ff7  libsystem_sandbox.dylib (592.31.1) <7BBFDF96-293F-3DD9-B3A4-7C168280B441> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffd7a09000 -     0x7fffd7a0afff  libsystem_secinit.dylib (24) <5C1F1E47-0F7D-3E25-8DEB-D9DB1F902281> /usr/lib/system/libsystem_secinit.dylib
    0x7fffd7a0b000 -     0x7fffd7a12fff  libsystem_symptoms.dylib (532.30.6) <5D990CF5-B58F-39F7-B375-99B4EC62CFBD> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffd7a13000 -     0x7fffd7a33ff7  libsystem_trace.dylib (518.30.7) <6D34D1EA-2A3C-3D2D-803E-A666E6AEEE52> /usr/lib/system/libsystem_trace.dylib
    0x7fffd7a34000 -     0x7fffd7a39ffb  libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffd7a3a000 -     0x7fffd7a63ff7  libxpc.dylib (972.30.7) <65E41BB6-EBD5-3D93-B0BE-B190CEE4DD93> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 1
    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: 9133081
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=254.9M resident=0K(0%) swapped_out_or_unallocated=254.9M(100%)
Writable regions: Total=122.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=122.5M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               128K        2 
Activity Tracing                   256K        2 
CG backing stores                  992K        3 
CG image                            28K        4 
CoreUI image data                  144K        2 
CoreUI image file                  172K        3 
Dispatch continuations            8192K        2 
IOKit                             7940K        2 
Kernel Alloc Once                    8K        2 
MALLOC                            85.6M       28 
MALLOC guard page                   48K       11 
MALLOC_LARGE (reserved)            784K        2         reserved VM address space (unallocated)
OpenGL GLSL                        256K        4 
STACK GUARD                       56.0M        6 
Stack                             10.0M        6 
VM_ALLOCATE                        568K       21 
__DATA                            21.2M      218 
__GLSLBUILTINS                    2588K        2 
__IMAGE                            528K        2 
__LINKEDIT                       114.5M       13 
__TEXT                           140.3M      217 
__UNICODE                          556K        2 
mapped file                       44.7M       11 
shared memory                     16.4M       10 
===========                     =======  ======= 
TOTAL                            511.4M      551 
TOTAL, minus reserved VM space   510.7M      551 

Same here

mntmn commented

I currently don't use OSX. It works on Linux x64 so it could be one of the APPLE special cases like:
https://github.com/mntmn/interim/blob/master/sledge/compiler_x64_hosted.c#L109
There are a bunch of unchecked error cases there.

mntmn commented

I just found a million potential overflows with flawfinder. Gonna do some fixing. Stay tuned.

Looking forward :)

Still getting seg fault with the Nov 4 updates.

<compiler: doubling code block size to 2048>
compiled def make-surface
compiled def max-task-id
compiled def spawn-editor
compiled def spawn-repl
zsh: segmentation fault  ./sledge < tests/boot2.l

Screen Shot 2019-03-22 at 9 29 33 AM

Messed around a bit trying to isolate the segfault.

If I comment out the (gc) and don't launch repl or editor, it manages to display. If I click the icon, or hover the editor/repl window, it it blinks the cursor for a few frames before crashing.

Screen Shot 2019-03-22 at 9 23 15 AM