Skip to content

Instantly share code, notes, and snippets.

@isaac
Created May 20, 2009 09:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isaac/114723 to your computer and use it in GitHub Desktop.
Save isaac/114723 to your computer and use it in GitHub Desktop.
isaac:~/src/shortcut isaac$ macrake
(in /Users/isaac/src/shortcut)
/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:11: [BUG] Segmentation fault
MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.0, x86_64]
-- stack frame ------------
0000 (0xc08000060): 00000004
0001 (0xc08000068): 00000000
0002 (0xc08000070): 00000004
0003 (0xc08000078): 00000000
0004 (0xc08000080): 00000004
0005 (0xc08000088): 00000000
0006 (0xc08000090): 00000004
0007 (0xc08000098): 800041960
0008 (0xc080000a0): 00000004
0009 (0xc080000a8): 00000000
0010 (0xc080000b0): 00000004
0011 (0xc080000b8): 00000000
0012 (0xc080000c0): 00000004
0013 (0xc080000c8): 8004209e0
0014 (0xc080000d0): 00000004
0015 (0xc080000d8): 800420960
0016 (0xc080000e0): 800420aa0
0017 (0xc080000e8): 8002dbe40
0018 (0xc080000f0): 00000004
0019 (0xc080000f8): 00000000
0020 (0xc08000100): 800346500
0021 (0xc08000108): 00000004
0022 (0xc08000110): 800329d48
0023 (0xc08000118): 800328e60
0024 (0xc08000120): 800346500
0025 (0xc08000128): 800420aa0
0026 (0xc08000130): 00000004
0027 (0xc08000138): 800420a40
0028 (0xc08000140): 800346500
0029 (0xc08000148): 00000004
0030 (0xc08000150): 00000000
0031 (0xc08000158): 00000004
0032 (0xc08000160): 00000000
0033 (0xc08000168): 80048cae0
0034 (0xc08000170): 800480e40
0035 (0xc08000178): 00000004
0036 (0xc08000180): 00000000
0037 (0xc08000188): 80048caa0
0038 (0xc08000190): 800480e40
0039 (0xc08000198): 00000004
0040 (0xc080001a0): 00000000
0041 (0xc080001a8): 00000004
0042 (0xc080001b0): 80048ca18
0043 (0xc080001b8): 00000004
0044 (0xc080001c0): 8003ce860
0045 (0xc080001c8): 00000004
0046 (0xc080001d0): 00000000
0047 (0xc080001d8): 8003ce860
0048 (0xc080001e0): 00000004
0049 (0xc080001e8): 00000000 <- lfp <- dfp
-- control frame ----------
c:0017 p:---- s:0050 b:0050 l:000049 d:000049 CFUNC :addShortcut
c:0016 p:0033 s:0047 b:0047 l:000046 d:000046 METHOD /Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:11
c:0015 p:0007 s:0043 b:0043 l:0018c8 d:000042 BLOCK /Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:23
c:0014 p:---- s:0043 b:0043 l:000042 d:000042 FINISH :window
c:0013 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC :call
c:0012 p:0010 s:0037 b:0037 l:000036 d:000036 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings.rb:17
c:0011 p:---- s:0033 b:0033 l:000032 d:000032 FINISH :setMainMenu
c:0010 p:---- s:0031 b:0031 l:000030 d:000030 CFUNC :run
c:0009 p:0028 s:0028 b:0028 l:000027 d:000027 METHOD /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings/application.rb:10
c:0008 p:0286 s:0023 b:0023 l:001538 d:000022 LAMBDA /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mapper.rb:67
c:0007 p:---- s:0017 b:0017 l:000016 d:000016 FINISH :include
c:0006 p:0042 s:0015 b:0014 l:0018c8 d:0018c8 TOP /Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:6
c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH :set_encoding:
c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :load
c:0003 p:0043 s:0006 b:0006 l:000005 d:000005 TOP /Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/rb_main.rb:2
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited:
c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP
---------------------------
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:11:in `addShortcut'"
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:11:in `install_shortcut'"
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:23:in `block (3 levels) in <top (required)>'"
DBG> : "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings.rb:17:in `call'"
DBG> : "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings.rb:17:in `perform_action'"
DBG> : "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings/application.rb:10:in `run'"
DBG> : "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mappings/application.rb:10:in `handle_block'"
DBG> : "/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/hotcocoa/mapper.rb:67:in `block in map_method'"
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/lib/application.rb:6:in `<top (required)>'"
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/rb_main.rb:2:in `load'"
DBG> : "/Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/rb_main.rb:2:in `<main>'"
-- backtrace of native function call (Use addr2line) --
0x10010f2c1
0x100029334
0x100029418
0x1000c240d
0x7fff803763fa
0x7fff83cbd93e
0x7fff8108094d
0x10472dcef
0x100121855
0x10010af7d
0x10010074f
0x1001056e2
0x100105c69
0x10010ada7
0x10010074f
0x1001056e2
0x100106c0a
0x10011f804
0x10011f9f9
0x7fff84459225
0x7fff8445860e
0x7fff8332d22f
0x7fff8332c760
0x7fff8332bf86
0x7fff8332b7df
0x7fff83329d33
0x7fff832f72f6
0x7fff83251b20
0x100121855
0x10010af7d
0x10010074f
0x1001056e2
0x100105c69
0x10010b01e
0x10010074f
0x1001056e2
0x10010596c
0x100030c96
0x100030d15
0x10010ada7
0x10010074f
0x1001056e2
0x10010596c
0x10002cd32
0x1000300f7
0x100118723
0x100000f84
0x100000f40
0x1
----------------------------------------------------------------
System Configuration
----------------------------------------------------------------
Model: MacBookPro3,1, BootROM MBP31.0070.B07, 2 processors, Intel Core 2 Duo, 2.6 GHz, 4 GB
Graphics: GeForce 8600M GT, GeForce 8600M GT, spdisplays_pcie_device, 256 MB
Memory Module: global_name
AirPort: spairport_wireless_card_type_airport_extreme (0x168C, 0x87), 1.4.10.3
Bluetooth: Version 2.1.6f8, 2 service, 1 devices, 1 incoming serial ports
Network Service: AirPort, AirPort, en1
Network Service: Parallels Shared Networking Adapter, Ethernet, en2
Network Service: Parallels Host-Only Networking Adapter, Ethernet, en3
PCI Card: pci168c,24, sppci_othernetwork, PCI Slot 5
Serial ATA Device: Hitachi HTS722020K9SA00, 186.31 GB
Parallel ATA Device: MATSHITADVD-R UJ-85J
USB Device: Built-in iSight, (null) mA
USB Device: Bluetooth USB Host Controller, (null) mA
USB Device: Apple Internal Keyboard / Trackpad, (null) mA
USB Device: IR Receiver, (null) mA
-------------------------------------------------------------------
Problem Details
-------------------------------------------------------------------
Process: Shortcut [4610]
Path: /Users/isaac/src/shortcut/Shortcut.app/Contents/MacOS/Shortcut
Identifier: com.yourcompany.Shortcut
Version: ??? (1.0)
Code Type: X86-64 (Native)
Parent Process: macruby [4609]
Interval Since Last Report: 398187 sec
Crashes Since Last Report: 20
Per-App Interval Since Last Report: 38 sec
Per-App Crashes Since Last Report: 4
Date/Time: 2009-05-20 21:29:31.516 +1200
OS Version: Mac OS X 10.5.7 (9J61)
Report Version: 6
Anonymous UUID: B2AC852C-B4B9-43B3-A080-54F9C641B6F5
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000005854338
Crashed Thread: 0
Application Specific Information:
objc[4610]: garbage collection is ON
Thread 0 Crashed:
0 libSystem.B.dylib 0x00007fff80377f16 __kill + 10
1 libmacruby.dylib 0x000000010002941d rb_bug + 205 (error.c:226)
2 libmacruby.dylib 0x00000001000c240d sigsegv + 93 (signal.c:563)
3 libSystem.B.dylib 0x00007fff803763fa _sigtramp + 26
4 com.apple.HIToolbox 0x00007fff811ff785 PushEventHandler(EventTargetRec*, int (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*), unsigned char, unsigned long, EventTypeSpec const*, void*, OpaqueEventHandlerRef**) + 37
Thread 1:
0 libSystem.B.dylib 0x00007fff80317dc2 __semwait_signal + 10
1 libmacruby.dylib 0x000000010011082b thread_timer + 75 (thread_pthread.c:579)
2 libSystem.B.dylib 0x00007fff8033ee8b _pthread_start + 316
3 libSystem.B.dylib 0x00007fff8033ed4d thread_start + 13
Thread 2:
0 libSystem.B.dylib 0x00007fff80317dc2 __semwait_signal + 10
1 libauto.dylib 0x00007fff80f833e9 auto_collection_thread(void*) + 169
2 libSystem.B.dylib 0x00007fff8033ee8b _pthread_start + 316
3 libSystem.B.dylib 0x00007fff8033ed4d thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x000000000000000b rcx: 0x00007fff5fbf8668 rdx: 0x0000000000000000
rdi: 0x0000000000001202 rsi: 0x0000000000000006 rbp: 0x00007fff5fbf8680 rsp: 0x00007fff5fbf8668
r8: 0x00007fff7007bba0 r9: 0x0000000000000000 r10: 0x00007fff8034fe36 r11: 0x0000000000000202
r12: 0x00007fff5fbf8690 r13: 0x000000010013529f r14: 0x0000000800017f20 r15: 0x00000000058542d0
rip: 0x00007fff80377f16 rfl: 0x0000000000000202 cr2: 0x0000000005854338
Binary Images:
0x100000000 - 0x100000fff +com.yourcompany.Shortcut ??? (1.0) <dfdd3963ae6947ebc3588db548f40eb9> /Users/isaac/src/shortcut/Shortcut.app/Contents/MacOS/Shortcut
0x100003000 - 0x10017dfeb +libmacruby.dylib ??? (???) <06e7689bab17e85a3b4880de9b3a24bc> /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/libmacruby.dylib
0x10022d000 - 0x100322fff libxml2.2.dylib ??? (???) <bd3195f3eb3104a28cbb0532ac5abb68> /usr/lib/libxml2.2.dylib
0x100372000 - 0x100372ff7 CoreFoundation.dylib ??? (???) /System/Library/Frameworks/CoreFoundation.framework/Resources/BridgeSupport/CoreFoundation.dylib
0x10472d000 - 0x10472dfff +shortcut.bundle ??? (???) <e787cf7e61dcd69c5c8c6d5d218b3e5d> /Users/isaac/src/shortcut/Shortcut.app/Contents/Resources/shortcut.bundle
0x104730000 - 0x104730fff AppKit.dylib ??? (???) /System/Library/Frameworks/AppKit.framework/Resources/BridgeSupport/AppKit.dylib
0x104738000 - 0x104738ff7 CoreGraphics.dylib ??? (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Resources/BridgeSupport/CoreGraphics.dylib
0x104ec7000 - 0x104ec8fff Foundation.dylib ??? (???) /System/Library/Frameworks/Foundation.framework/Resources/BridgeSupport/Foundation.dylib
0x116905000 - 0x116af6fef com.apple.RawCamera.bundle 2.0.14 (436) <2b78d7623bdb22566dfe360da41046a2> /System/Library/CoreServices/RawCamera.bundle/Contents/MacOS/RawCamera
0x7fff5fc00000 - 0x7fff5fc2e643 dyld 97.1 (???) <b40847f1ce1ba2ed13837aeccbf19284> /usr/lib/dyld
0x7fff80003000 - 0x7fff8000cfff libCGATS.A.dylib ??? (???) <f959055d08ccb8b0c6e45c20c2eabd74> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
0x7fff8000d000 - 0x7fff80050fef com.apple.QD 3.11.56 (???) <73f68a1936d02c46c15c4b613a3845d5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD
0x7fff80051000 - 0x7fff8006ffff com.apple.CoreVideo 1.6.0 (20.0) <fc8183afd9875a1e6b5cc7fcc640bd17> /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
0x7fff80070000 - 0x7fff80279ff3 com.apple.security 5.0.5 (36371) <8250c4f999d69ad6e171e88215bd8e96> /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff8027a000 - 0x7fff8030fffb com.apple.LaunchServices 290.3 (290.6) <f90d8de060a515d2ddcb7513295b028d> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices
0x7fff80310000 - 0x7fff8049bffb libSystem.B.dylib ??? (???) <558e10ab4bc6790fd3ee1abd14458085> /usr/lib/libSystem.B.dylib
0x7fff8049c000 - 0x7fff804a2fff com.apple.DiskArbitration 2.2.1 (2.2.1) <e75fe224700767869227cc903bef8ed9> /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
0x7fff804a3000 - 0x7fff80573ff4 com.apple.CFNetwork 438.10 (438.12) <e8fba62db2b2d125b1ba60ff8293bb8f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwork.framework/Versions/A/CFNetwork
0x7fff80574000 - 0x7fff8067afeb com.apple.CoreData 100.2 (186.1) <3ca16d82befb4d703d20c24013551d79> /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
0x7fff8067b000 - 0x7fff8076ffff libobjc.A.dylib ??? (???) <118dc1ae05e685ad64290352fc94f1f0> /usr/lib/libobjc.A.dylib
0x7fff80770000 - 0x7fff808acfe9 com.apple.ImageIO.framework 2.0.4 (2.0.4) <47dcdc0b5986b2c157e0b6dae48ce464> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/ImageIO
0x7fff808ad000 - 0x7fff808b7fff com.apple.speech.recognition.framework 3.7.24 (3.7.24) <a49d89814bff9aff6d477c00e426e158> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition
0x7fff808b8000 - 0x7fff80940fef libsqlite3.0.dylib ??? (???) <3d591878110f4e73daf0752549f9b5e2> /usr/lib/libsqlite3.0.dylib
0x7fff80941000 - 0x7fff8095bfff com.apple.openscripting 1.2.8 (???) <0674c4e3353c677c9f58df3297ae559b> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting
0x7fff8095c000 - 0x7fff809d7ff3 com.apple.CoreText 2.0.4 (???) <7221c321fe57cd1d9f2f9452107e5a7c> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreText.framework/Versions/A/CoreText
0x7fff809d8000 - 0x7fff80a19fef com.apple.framework.IOKit 1.5.2 (???) <97e784f0ecf0a4d136e51c5bcbd10bd0> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff80a1a000 - 0x7fff80acafef com.apple.CoreServices.OSServices 227 (227) <c7548c4cc903628c450410e4cc46aba6> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices
0x7fff80acb000 - 0x7fff80adfff7 libGL.dylib ??? (???) /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
0x7fff80ae0000 - 0x7fff80bc1fff libcrypto.0.9.7.dylib ??? (???) <4ba8f4663187645a922c9c5025127e39> /usr/lib/libcrypto.0.9.7.dylib
0x7fff80bc2000 - 0x7fff80c80fff edu.mit.Kerberos 6.0.13 (6.0.13) <6d10cff5f721c34228661d52fbfd3516> /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
0x7fff80e0b000 - 0x7fff80e7aff9 com.apple.print.framework.PrintCore 5.5.4 (245.6) <88263e9a3bc14d303780fa8b8c876918> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore
0x7fff80e7b000 - 0x7fff80e83ffa libbsm.dylib ??? (???) <a870a8e515e1a6407c81ddeebba21793> /usr/lib/libbsm.dylib
0x7fff80e84000 - 0x7fff80e90ff1 libgcc_s.1.dylib ??? (???) <42e4fd8079ba44258ea9afc27d2f48f3> /usr/lib/libgcc_s.1.dylib
0x7fff80e91000 - 0x7fff80f5cfef com.apple.ColorSync 4.5.1 (4.5.1) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync
0x7fff80f5d000 - 0x7fff80f7ffff libJPEG.dylib ??? (???) <4257ab268996bbeb93b47946df181cdc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib
0x7fff80f80000 - 0x7fff80fb2ff7 libauto.dylib ??? (???) <cc8eece8c0097b254c758bd4e8df9537> /usr/lib/libauto.dylib
0x7fff80fb3000 - 0x7fff80fb3fff com.apple.Carbon 136 (136) <256825542105f42e564bafddb77b6a8b> /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
0x7fff80fb4000 - 0x7fff8103bfef com.apple.audio.CoreAudio 3.1.2 (3.1.2) <cad19c89ea3540fdcf2a1580a7ee10d7> /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x7fff8103c000 - 0x7fff81079ff7 com.apple.SystemConfiguration 1.9.2 (1.9.2) <3e058b95c78dc2f54ec3f9781bd86e1c> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff8107a000 - 0x7fff81361feb com.apple.HIToolbox 1.5.5 (???) <f1026fa78d8362e87d739afe535f6114> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox
0x7fff81362000 - 0x7fff81882f6e libGLProgrammability.dylib ??? (???) <7aa4c12953526371a07780326fbd8725> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
0x7fff81883000 - 0x7fff81892fe7 com.apple.opengl 1.5.10 (1.5.10) <9334af96d3c090bbadfd4a16514f07ff> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
0x7fff81893000 - 0x7fff81907fe7 libstdc++.6.dylib ??? (???) <379a6a2dc6e21ba77310b3d2d9ea30ac> /usr/lib/libstdc++.6.dylib
0x7fff81908000 - 0x7fff81a4bffb com.apple.audio.toolbox.AudioToolbox 1.5.2 (1.5.2) /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
0x7fff81a4c000 - 0x7fff81a88ff7 libGLImage.dylib ??? (???) <c08254d55543c5d8847e8178a66f9e1b> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
0x7fff81a89000 - 0x7fff81acefef libRIP.A.dylib ??? (???) <186a720b082a42f4773b1271b1909eea> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
0x7fff81acf000 - 0x7fff81ad2fff com.apple.securityhi 3.0 (30817) <d7c8cb3ade97482c5dbe4f68b32396cd> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI
0x7fff81ad3000 - 0x7fff81b86fef com.apple.DesktopServices 1.4.8 (1.4.8) <e99fcfb833472f5903c84b98b85bd644> /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv
0x7fff81b87000 - 0x7fff81b95fff libCSync.A.dylib ??? (???) <3b6ebe1896a2116adfa327b8c60fe8e7> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
0x7fff81b96000 - 0x7fff81ba7fff com.apple.speech.synthesis.framework 3.7.1 (3.7.1) <7b000af113e7f602b9e0b1fd383005fc> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis
0x7fff81ba8000 - 0x7fff81e43fe3 com.apple.Foundation 6.5.8 (677.24) <ea4230bc9c140aa95ece49fe3d4f8b4d> /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
0x7fff81e44000 - 0x7fff81e44ffa com.apple.CoreServices 32 (32) <f1ae7e34fb008524b502ed0185b32794> /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
0x7fff81e45000 - 0x7fff81e49fff libGIF.dylib ??? (???) <66436b84211fe0e723051eab15af0aca> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib
0x7fff81e4a000 - 0x7fff82202fff libLAPACK.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff82203000 - 0x7fff82205fff com.apple.NavigationServices 3.5.2 (163) <3e58cfe6d1bdcc4a4a64b6f79421291f> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices
0x7fff82206000 - 0x7fff829c3fef libBLAS.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff829c4000 - 0x7fff829fffff com.apple.AE 402.3 (402.3) <6ea0e93acfae54731b36e1c76d672433> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE
0x7fff82a00000 - 0x7fff82a04fff libmathCommon.A.dylib ??? (???) /usr/lib/system/libmathCommon.A.dylib
0x7fff82a05000 - 0x7fff82a48fef libTIFF.dylib ??? (???) <86be7909f46cc044a887cbb60ab7826d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib
0x7fff82a49000 - 0x7fff82a63fff libvDSP.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
0x7fff82a64000 - 0x7fff82d5ffe3 com.apple.CoreServices.CarbonCore 786.11 (786.13) <0a5e880e9fb4d375ea7b2c2fe378887f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore
0x7fff82d60000 - 0x7fff82d63ffb com.apple.help 1.1 (36) <625c2d6bb29ee822f9dce6322d08df47> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help
0x7fff82d64000 - 0x7fff82d69fff com.apple.CommonPanels 1.2.4 (85) <8f5631ff238ad1bad2e031fe5e7442d2> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels
0x7fff82d6a000 - 0x7fff82ea1fef com.apple.CoreFoundation 6.5.6 (476.18) <a5aa9b12262d6c1fe6500488288908ec> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff82ea2000 - 0x7fff82ea2ffd com.apple.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff82ea3000 - 0x7fff82ec1fff libPng.dylib ??? (???) <4017eab74319a648dfd73b7d503e557d> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib
0x7fff82ec2000 - 0x7fff82ec2ff8 com.apple.Cocoa 6.5 (???) <d53437c1faeb42624f1d71202caa9cad> /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
0x7fff82ec3000 - 0x7fff82ec3ff8 com.apple.ApplicationServices 34 (34) <29a6f07deb1ef821735e2c18ef1e9fa5> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices
0x7fff82ec4000 - 0x7fff82eeefff libcups.2.dylib ??? (???) <1b793c686d01e1ea86a53f3ead0714e4> /usr/lib/libcups.2.dylib
0x7fff82eef000 - 0x7fff82f00ffd libz.1.dylib ??? (???) <2022cc8950afdf485ba1df76364ba725> /usr/lib/libz.1.dylib
0x7fff82f01000 - 0x7fff83070fff libicucore.A.dylib ??? (???) <c838cf42418fb4782adf1905c56ed345> /usr/lib/libicucore.A.dylib
0x7fff83071000 - 0x7fff83071ffd com.apple.Accelerate 1.4.2 (Accelerate 1.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff83072000 - 0x7fff830affe7 com.apple.coreui 1.2 (62) /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI
0x7fff830b0000 - 0x7fff830beff9 com.apple.helpdata 1.0.1 (14.2) /System/Library/PrivateFrameworks/HelpData.framework/Versions/A/HelpData
0x7fff830bf000 - 0x7fff8310ffe7 com.apple.Metadata 10.5.2 (398.25) <f6820e35383510a4998973b43b529bf5> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata
0x7fff83110000 - 0x7fff83186fef libvMisc.dylib ??? (???) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff83187000 - 0x7fff83218fff com.apple.SearchKit 1.2.1 (1.2.1) <e2a25e04f281fe8ff7088a08a549020f> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit
0x7fff83219000 - 0x7fff83b41fff com.apple.AppKit 6.5.7 (949.46) <6328367cc7f69fde10c57dc2f159b840> /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
0x7fff83b42000 - 0x7fff83b63fff libresolv.9.dylib ??? (???) <104bc36bc6cf4dd8988693cd52a7f26d> /usr/lib/libresolv.9.dylib
0x7fff83b64000 - 0x7fff83b7cfff com.apple.DictionaryServices 1.0.0 (1.0.0) <ce7135044e951deaa2b687bc8537809a> /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices
0x7fff83b7d000 - 0x7fff83be0fef libGLU.dylib ??? (???) <80c7eb325b8de4ab272f08c335645eea> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
0x7fff83be1000 - 0x7fff83be1ffd com.apple.Accelerate.vecLib 3.4.2 (vecLib 3.4.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff83be2000 - 0x7fff83ca6fe2 com.apple.vImage 3.0 (3.0) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff83ca7000 - 0x7fff83ca9fff com.apple.print.framework.Print 218.0.3 (220.2) <404a8310c77d9a4e68cf43bea9605684> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print
0x7fff83caa000 - 0x7fff83cacff9 libRadiance.dylib ??? (???) <6d9f2235e8f70a7aedfc59383a7548d8> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib
0x7fff83cad000 - 0x7fff84278fef com.apple.CoreGraphics 1.409.3 (???) <3dc2a054b4ef7207b79e41d31f813342> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
0x7fff84279000 - 0x7fff84319fe3 com.apple.ApplicationServices.ATS 3.7 (???) <0b0209888235e6420d89b17884e56d78> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS
0x7fff8431a000 - 0x7fff8431affb com.apple.installserver.framework 1.0 (8) /System/Library/PrivateFrameworks/InstallServer.framework/Versions/A/InstallServer
0x7fff8431b000 - 0x7fff84370fe3 com.apple.HIServices 1.7.0 (???) <6bef766448d67adb91901b432629ea0f> /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices
0x7fff84371000 - 0x7fff843a1fff com.apple.shortcut 1.0.1 (1.0) <a98fd7604715f55a531fda51eb072507> /System/Library/PrivateFrameworks/Shortcut.framework/Versions/A/Shortcut
0x7fff843a2000 - 0x7fff843a3ff3 com.apple.audio.units.AudioUnit 1.5 (1.5) /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
0x7fff843a4000 - 0x7fff8443ffe7 com.apple.ink.framework 101.3 (86) <03096cd083a6e70bc7a18ad1b81feb15> /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink
0x7fff84440000 - 0x7fff84456ff9 com.apple.ImageCapture 5.0.2 (5.0.2) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture
0x7fff84457000 - 0x7fff84459ff7 libffi.dylib ??? (???) <5ccd57a3de7db7f7bffa1b6ef2217b0c> /usr/lib/libffi.dylib
0x7fff8445a000 - 0x7fff84481fff libxslt.1.dylib ??? (???) <d22e666fc41249d9a0a2fe4a8f46437d> /usr/lib/libxslt.1.dylib
0x7fff84482000 - 0x7fff84862fef com.apple.QuartzCore 1.5.8 (1.5.8) <1c79fff9a8916e61c28ec13a87723e67> /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
0x7fffffe00000 - 0x7fffffe01780 libSystem.B.dylib ??? (???) /usr/lib/libSystem.B.dylib
0xfffffffffffec000 - 0xfffffffffffeffff libobjc.A.dylib ??? (???) /usr/lib/libobjc.A.dylib
---------------------------------------------------------
Warnings when compiling shortcut.m
---------------------------------------------------------
isaac:~/src/shortcut/resources isaac$ gcc shortcut.m -o shortcut.bundle -g -framework Foundation -framework Carbon -dynamiclib -fobjc-gc -arch i386 -arch x86_64
shortcut.m: In function ‘-[Shortcut addShortcut]’:
shortcut.m:30: warning: passing argument 1 of ‘InstallEventHandler’ makes pointer from integer without a cast
shortcut.m:33: warning: passing argument 4 of ‘RegisterEventHotKey’ makes pointer from integer without a cast
shortcut.m: In function ‘myHotKeyHandler’:
shortcut.m:43: warning: no ‘-hotkeyWasPressed’ method found
shortcut.m:43: warning: (Messages without a matching method signature
shortcut.m:43: warning: will be assumed to return ‘id’ and accept
shortcut.m:43: warning: ‘...’ as arguments.)
shortcut.m: In function ‘myHotKeyHandler’:
shortcut.m:43: warning: no ‘-hotkeyWasPressed’ method found
shortcut.m:43: warning: (Messages without a matching method signature
shortcut.m:43: warning: will be assumed to return ‘id’ and accept
shortcut.m:43: warning: ‘...’ as arguments.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment