Triggering a program to quit

I connect to a VPN using the built in Apple VPN client. Occasionally, the client disconnects for whatever reason, and what I want to do is have a program quit when this happens. Any ideas? Could I do this with Applescript? Thanks in advance.

There are a couple of ways of doing this.
It's tricky to get an AppleScript to run on an event, but it shouldn't be too hard to have a background AppleScript periodically check the link and take action when the link changes.
This script can be saved as an application and when it's opened it will check the state of the VPN connection and quit the specified app if the VPN is down:
<pre class=command>tell application "Internet Connect"
set VPNStatus to status of L2TP configuration "My VPN" -- change name as appropriate
if state of VPNStatus is 0 then -- VPN is down
tell application "Some Other App" to quit
end if
end tell</pre>

Similar Messages

  • Loads of my programs are quitting unexpectedly on my Macbook Pro with Lion

    So from 2008 until June this year I had a Macbook that ran on the original operating system for its entire life. Never had any issues with it whatsoever.
    Then last month I decided to upgrade to a 13" Macbook Pro a couple of days after the release (the non retina version, 2.9ghz). It is currently running software version 10.7.4.
    In the shop they started it up for me and created an user, and when I got home I imported my old information over using Migration Assistant which imported as a secondry user. iPhoto would quit unexpectedly before it even opened, but I didn't try out much of my other software before I tried fixing it.
    I took it back to the store and they restored it from scratch and iPhoto worked, so I came home and did the same thing with importing as a secondry user and iPhoto stopped working again. So hoping it would be third time lucky I restored for a third time and imported it directly from the hard-drive as the primary user. iPhoto worked. I then did all the software updates including the update to the new iPhoto and it began unexpectedly quitting again (before it would even open). After a bit of help from a helpful user on this forum I got it working after the crash report originally said it was a font error.. THEN a color sync problem THEN he got me to open it in safe mode, and it worked for a day of so and stopped working again.
    Before it stopped I managed to work my library into aperture and assumed that the iPhoto problem would be fixed as a lot of people have had the same issue, but since i've been using my laptop more I've realised lots of my programs keep quitting before they have even opened and will only up in safe mode.
    So here's a few different crash reports from different programs if anyone can help. I've come to realise the 'genuises' at apple stores are as useful as a chocolate teapot so I'd much prefer help from someone who actually knows what they're talking about.
    Adobe Photoshop CS5
    Process:         PDApp [551]
    Path:            /Library/Application Support/Adobe/*/PDApp.app/Contents/MacOS/PDApp
    Identifier:      com.adobe.PDApp
    Version:         1.0.175.0 (1.0.175.0)
    Code Type:       X86 (Native)
    Parent Process:  ??? [1]
    Date/Time:       2012-07-12 18:59:51.163 +0100
    OS Version:      Mac OS X 10.7.4 (11E2620)
    Report Version:  9
    Interval Since Last Report:          114648 sec
    Crashes Since Last Report:           36
    Per-App Interval Since Last Report:  1151 sec
    Per-App Crashes Since Last Report:   17
    Anonymous UUID:                      1A2484D1-9E1E-48BB-A930-CEF7A50083B2
    Crashed Thread:  6
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x00000000033f8700
    External Modification Warnings:
    Thread creation by external task.
    VM Regions Near 0x33f8700:
        CoreServices           00000000031f9000-000000000334d000 [ 1360K] rw-/rwx SM=COW 
    -->
        MALLOC_TINY            0000000003400000-000000000342c000 [  176K] rw-/rwx SM=ZER 
    Application Specific Information:
    dyld: in dlopen()
    /Library/Application Support/Adobe/OOBE/PDApp/core/AdobePIM.dylib
    objc[551]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   dyld                                    0x8fedd2b2 pread$UNIX2003 + 10
    1   dyld                                    0x8febdd4d _ZN4dyldL10loadPhase6EiRK4statPKcRKNS_11LoadContextE + 292
    2   dyld                                    0x8febe314 _ZN4dyldL10loadPhase5EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 508
    3   dyld                                    0x8febe5a8 _ZN4dyldL10loadPhase4EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 179
    4   dyld                                    0x8febeed8 _ZN4dyldL10loadPhase3EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 1429
    5   dyld                                    0x8febf298 _ZN4dyldL10loadPhase1EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 166
    6   dyld                                    0x8febf3e7 _ZN4dyldL10loadPhase0EPKcS1_RKNS_11LoadContextEPSt6vectorIS1_SaIS1_EE + 240
    7   dyld                                    0x8febf509 dyld::load(char const*, dyld::LoadContext const&) + 233
    8   dyld                                    0x8fec20de dlopen + 428
    9   libdyld.dylib                           0x93353a95 dlopen + 70
    10  com.adobe.PDApp                         0x00009dd0 start + 28436
    11  com.adobe.PDApp                         0x00004197 start + 4827
    12  com.apple.Foundation                    0x95beedf1 __-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_1 + 49
    13  com.apple.CoreFoundation                0x928dd903 ___CFXNotificationPost_block_invoke_1 + 275
    14  com.apple.CoreFoundation                0x928a8688 _CFXNotificationPost + 2776
    15  com.apple.Foundation                    0x95bd9fde -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
    16  com.apple.AppKit                        0x96609d99 -[NSApplication _postDidFinishNotification] + 259
    17  com.apple.AppKit                        0x96609a8f -[NSApplication _sendFinishLaunchingNotification] + 84
    18  com.apple.AppKit                        0x966085b0 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 277
    19  com.apple.AppKit                        0x966082c6 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 377
    20  com.apple.CoreFoundation                0x928f61c8 -[NSObject performSelector:withObject:withObject:] + 72
    21  com.apple.Foundation                    0x95c140c2 __-[NSAppleEventManager setEventHandler:andSelector:forEventClass:andEventID:]_block_invoke_1 + 121
    22  com.apple.Foundation                    0x95c12e75 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 476
    23  com.apple.Foundation                    0x95c12c49 _NSAppleEventManagerGenericHandler + 234
    24  com.apple.AE                            0x94314045 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 202
    25  com.apple.AE                            0x942fdb67 _ZL25dispatchEventAndSendReplyPK6AEDescPS_ + 43
    26  com.apple.AE                            0x942fda54 aeProcessAppleEvent + 253
    27  com.apple.HIToolbox                     0x953fec66 AEProcessAppleEvent + 103
    28  com.apple.AppKit                        0x96605347 _DPSNextEvent + 1301
    29  com.apple.AppKit                        0x96604942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    30  com.apple.AppKit                        0x96600cb1 -[NSApplication run] + 911
    31  com.apple.AppKit                        0x96891bd9 NSApplicationMain + 1054
    32  com.adobe.PDApp                         0x000058ee start + 10802
    33  com.adobe.PDApp                         0x00002ef2 start + 54
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x92b8690a kevent + 10
    1   libdispatch.dylib                       0x92fdbe10 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib                       0x92fda85f _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 4:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 5:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 6 Crashed:
    0   ???                                     0x033f8700 0 + 54494976
    Thread 6 crashed with X86 Thread State (32-bit):
      eax: 0x00744000  ebx: 0x0074870c  ecx: 0x00000000  edx: 0x000f7000
      edi: 0x00000000  esi: 0x00000000  ebp: 0x00745ff8  esp: 0x00745f9c
       ss: 0x00000023  efl: 0x00010246  eip: 0x033f8700   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x00000000
      cr2: 0x033f8700
    Logical CPU: 1
    Bit Torrent won't even give me a crash report, but just wobbles around a bit then stops working, same for spotify.
    iMovie
    Process:         iMovie [631]
    Path:            /Applications/iMovie.app/Contents/MacOS/iMovie
    Identifier:      com.apple.iMovie7
    Version:         7.1.4 (585)
    Build Info:      iMovieApp-5850000~26
    Code Type:       X86 (Native)
    Parent Process:  launchd [144]
    Date/Time:       2012-07-12 19:04:03.069 +0100
    OS Version:      Mac OS X 10.7.4 (11E2620)
    Report Version:  9
    Interval Since Last Report:          114898 sec
    Crashes Since Last Report:           38
    Per-App Interval Since Last Report:  4 sec
    Per-App Crashes Since Last Report:   2
    Anonymous UUID:                      1A2484D1-9E1E-48BB-A930-CEF7A50083B2
    Crashed Thread:  5
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000009e8d001
    External Modification Warnings:
    Thread creation by external task.
    VM Regions Near 0x9e8d001:
        shared memory          0000000009e8a000-0000000009e8b000 [    4K] rw-/rw- SM=SHM 
    -->
        MALLOC_LARGE           0000000009e9d000-0000000009eb0000 [   76K] rw-/rwx SM=PRV 
    Application Specific Information:
    objc[631]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x92b83c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x92b831f6 mach_msg + 70
    2   com.apple.framework.IOKit               0x92afe7f2 io_service_get_matching_services + 231
    3   com.apple.framework.IOKit               0x92aaa6bd IOServiceGetMatchingServices + 147
    4   com.apple.MultitouchSupport.framework          0x9ba9848a _mthid_copyAvailableDevicesInfo + 268
    5   com.apple.HIToolbox                     0x953f85b6 TISHardwareSupportsGestureHandwriting + 47
    6   com.apple.HIToolbox                     0x953f83b2 SyncHandwritingHotKey + 20
    7   com.apple.HIToolbox                     0x953f7530 _FirstEventTime + 1474
    8   com.apple.HIToolbox                     0x953ef603 RunCurrentEventLoopInMode + 30
    9   com.apple.HIToolbox                     0x953f69b6 ReceiveNextEventCommon + 168
    10  com.apple.HIToolbox                     0x953f68fa BlockUntilNextEventMatchingListInMode + 88
    11  com.apple.AppKit                        0x966050d8 _DPSNextEvent + 678
    12  com.apple.AppKit                        0x96604942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    13  com.apple.iMovie7                       0x00031ee0 0x1000 + 200416
    14  com.apple.AppKit                        0x96600cb1 -[NSApplication run] + 911
    15  com.apple.AppKit                        0x96891bd9 NSApplicationMain + 1054
    16  com.apple.iMovie7                       0x00005474 0x1000 + 17524
    17  com.apple.iMovie7                       0x00002e92 0x1000 + 7826
    18  com.apple.iMovie7                       0x00002db9 0x1000 + 7609
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x92b8690a kevent + 10
    1   libdispatch.dylib                       0x92fdbe10 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib                       0x92fda85f _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 4:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 5 Crashed:
    0   ???                                     0x033f8725 0 + 54495013
    Thread 5 crashed with X86 Thread State (32-bit):
      eax: 0x09e81001  ebx: 0x09e8570c  ecx: 0x00000000  edx: 0x09e89000
      edi: 0x00000000  esi: 0x00000000  ebp: 0x09e82ff8  esp: 0x09e82f9c
       ss: 0x00000023  efl: 0x00010202  eip: 0x033f8725   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x00000000
      cr2: 0x09e8d001
    Logical CPU: 0
    iWeb
    Process:         iWeb [641]
    Path:            /Applications/iWeb.app/Contents/MacOS/iWeb
    Identifier:      com.apple.iWeb
    Version:         2.0.4 (200)
    Build Info:      iWeb-4060000~25
    Code Type:       X86 (Native)
    Parent Process:  launchd [144]
    Date/Time:       2012-07-12 19:04:35.285 +0100
    OS Version:      Mac OS X 10.7.4 (11E2620)
    Report Version:  9
    Interval Since Last Report:          114930 sec
    Crashes Since Last Report:           39
    Per-App Interval Since Last Report:  2 sec
    Per-App Crashes Since Last Report:   1
    Anonymous UUID:                      1A2484D1-9E1E-48BB-A930-CEF7A50083B2
    Crashed Thread:  11
    Exception Type:  EXC_BAD_ACCESS (SIGBUS)
    Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000002
    External Modification Warnings:
    Thread creation by external task.
    VM Regions Near 0x2:
    --> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/iWeb.app/Contents/MacOS/iWeb
        __TEXT                 0000000000001000-0000000000367000 [ 3480K] r-x/rwx SM=COW  /Applications/iWeb.app/Contents/MacOS/iWeb
    Application Specific Information:
    objc[641]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x92b83c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x92b831f6 mach_msg + 70
    2   com.apple.CoreGraphics                  0x90351870 _CGSCompleteServiceReq + 161
    3   com.apple.CoreGraphics                  0x903517c3 CPSCompleteServiceReq + 47
    4   com.apple.HIToolbox                     0x9544e02b ConfirmAppShowHideEvent + 92
    5   com.apple.AppKit                        0x9684d9ab _hideShowHandler + 202
    6   com.apple.HIToolbox                     0x95579dec _InvokeEventHandlerUPP(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, long (*)(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)) + 36
    7   com.apple.HIToolbox                     0x953f54f3 _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1602
    8   com.apple.HIToolbox                     0x953f4970 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14H andlerCallRec + 482
    9   com.apple.HIToolbox                     0x95409755 SendEventToEventTarget + 76
    10  com.apple.AppKit                        0x966054df _DPSNextEvent + 1709
    11  com.apple.AppKit                        0x96604942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    12  com.apple.AppKit                        0x96600cb1 -[NSApplication run] + 911
    13  com.apple.AppKit                        0x96891bd9 NSApplicationMain + 1054
    14  com.apple.iWeb                          0x000191a5 0x1000 + 98725
    15  com.apple.iWeb                          0x0000395a 0x1000 + 10586
    16  com.apple.iWeb                          0x00003881 0x1000 + 10369
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x92b85b5e __select_nocancel + 10
    1   libdispatch.dylib                       0x92fdbcc9 _dispatch_mgr_invoke + 642
    2   libdispatch.dylib                       0x92fda85f _dispatch_mgr_thread + 53
    Thread 2:: Dispatch queue: com.apple.root.default-priority
    0   com.apple.CoreFoundation                0x9286d631 __CFBasicHashRehash + 1
    1   com.apple.CoreFoundation                0x9286611f __CFBasicHashAddValue + 63
    2   com.apple.CoreFoundation                0x92866077 CFBasicHashSetValue + 2759
    3   com.apple.CoreFoundation                0x92865564 CFDictionarySetValue + 228
    4   com.apple.CoreFoundation                0x928bdd72 -[__NSCFDictionary setObject:forKey:] + 306
    5   com.apple.Foundation                    0x95bffacf -[NSMutableDictionary(NSKeyValueCoding) setValue:forKey:] + 64
    6   com.apple.iLMBAperturePlugin2012          0x08f9738b 0x8eed000 + 697227
    7   com.apple.iLifeMediaBrowser             0x99e633a8 -[ILMediaManager setRootMediaGroup:] + 179
    8   com.apple.iLifeMediaBrowser             0x99e622dc -[ILMediaManager checkAndCreateRootMediaGroup:] + 542
    9   com.apple.iLifeMediaBrowser             0x99e64504 -[ILMediaManager _performLoadData] + 458
    10  com.apple.iLifeMediaBrowser             0x99e64183 -[ILMediaManager _loadDataThreaded] + 514
    11  com.apple.CoreFoundation                0x928f5a9d __invoking___ + 29
    12  com.apple.CoreFoundation                0x928f59d9 -[NSInvocation invoke] + 137
    13  com.apple.Foundation                    0x95d0961a -[NSInvocationOperation main] + 267
    14  com.apple.Foundation                    0x95c24347 -[__NSOperationInternal start] + 1177
    15  com.apple.Foundation                    0x95c23ea7 -[NSOperation start] + 67
    16  com.apple.Foundation                    0x95c37ffa ____NSOQSchedule_block_invoke_2 + 135
    17  libdispatch.dylib                       0x92fd9fc9 _dispatch_call_block_and_release + 15
    18  libdispatch.dylib                       0x92fdb028 _dispatch_worker_thread2 + 231
    19  libsystem_c.dylib                       0x92699b24 _pthread_wqthread + 346
    20  libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 4:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x92b85876 __psynch_mutexwait + 10
    1   libsystem_c.dylib                       0x926966af pthread_mutex_lock + 633
    2   libobjc.A.dylib                         0x9d03dd14 lockForMethodLookup + 80
    3   libobjc.A.dylib                         0x9d03d6c9 lookUpMethod + 279
    4   libobjc.A.dylib                         0x9d0484fb _class_lookupMethodAndLoadCache + 40
    5   libobjc.A.dylib                         0x9d03cd83 objc_msgSend + 83
    6   com.apple.iLifeMediaBrowser             0x99e2a513 -[ILMediaGroup allMediaObjects_SearchedGroups:] + 209
    7   com.apple.iLifeMediaBrowser             0x99e2a3c4 -[ILMediaGroup _allMediaObjectsNoLock] + 62
    8   com.apple.iLifeMediaBrowser             0x99e2cbbe -[ILMediaGroup mediaObjects] + 89
    9   com.apple.iLifeMediaBrowser             0x99e624aa -[ILMediaManager _recursiveToCollectSubTreeInfoForMediaGroup:objsSet:groupsSet:groupsArray:] + 366
    10  com.apple.iLifeMediaBrowser             0x99e625dd -[ILMediaManager _recursiveToCollectSubTreeInfoForMediaGroup:objsDict:groupsDict:] + 151
    11  com.apple.iLifeMediaBrowser             0x99e620b9 -[ILMediaManager buildIdToObjectMap:idToGroupMap:forRootGroup:] + 54
    12  com.apple.iLifeMediaBrowser             0x99e633a8 -[ILMediaManager setRootMediaGroup:] + 179
    13  com.apple.iLifeMediaBrowser             0x99e64591 -[ILMediaManager _performLoadData] + 599
    14  com.apple.iLifeMediaBrowser             0x99e64183 -[ILMediaManager _loadDataThreaded] + 514
    15  com.apple.CoreFoundation                0x928f5a9d __invoking___ + 29
    16  com.apple.CoreFoundation                0x928f59d9 -[NSInvocation invoke] + 137
    17  com.apple.Foundation                    0x95d0961a -[NSInvocationOperation main] + 267
    18  com.apple.Foundation                    0x95c24347 -[__NSOperationInternal start] + 1177
    19  com.apple.Foundation                    0x95c23ea7 -[NSOperation start] + 67
    20  com.apple.Foundation                    0x95c37ffa ____NSOQSchedule_block_invoke_2 + 135
    21  libdispatch.dylib                       0x92fd9fc9 _dispatch_call_block_and_release + 15
    22  libdispatch.dylib                       0x92fdb028 _dispatch_worker_thread2 + 231
    23  libsystem_c.dylib                       0x92699b24 _pthread_wqthread + 346
    24  libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 5:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x92b85876 __psynch_mutexwait + 10
    1   libsystem_c.dylib                       0x926966af pthread_mutex_lock + 633
    2   libobjc.A.dylib                         0x9d03dd14 lockForMethodLookup + 80
    3   libobjc.A.dylib                         0x9d03d6c9 lookUpMethod + 279
    4   libobjc.A.dylib                         0x9d0484fb _class_lookupMethodAndLoadCache + 40
    5   libobjc.A.dylib                         0x9d03cd83 objc_msgSend + 83
    6   com.apple.iLifeMediaBrowser             0x99e2a513 -[ILMediaGroup allMediaObjects_SearchedGroups:] + 209
    7   com.apple.iLifeMediaBrowser             0x99e2a3c4 -[ILMediaGroup _allMediaObjectsNoLock] + 62
    8   com.apple.iLifeMediaBrowser             0x99e2cbbe -[ILMediaGroup mediaObjects] + 89
    9   com.apple.iLifeMediaBrowser             0x99e624aa -[ILMediaManager _recursiveToCollectSubTreeInfoForMediaGroup:objsSet:groupsSet:groupsArray:] + 366
    10  com.apple.iLifeMediaBrowser             0x99e625dd -[ILMediaManager _recursiveToCollectSubTreeInfoForMediaGroup:objsDict:groupsDict:] + 151
    11  com.apple.iLifeMediaBrowser             0x99e620b9 -[ILMediaManager buildIdToObjectMap:idToGroupMap:forRootGroup:] + 54
    12  com.apple.iLifeMediaBrowser             0x99e633a8 -[ILMediaManager setRootMediaGroup:] + 179
    13  com.apple.iLifeMediaBrowser             0x99e64591 -[ILMediaManager _performLoadData] + 599
    14  com.apple.iLifeMediaBrowser             0x99e64183 -[ILMediaManager _loadDataThreaded] + 514
    15  com.apple.CoreFoundation                0x928f5a9d __invoking___ + 29
    16  com.apple.CoreFoundation                0x928f59d9 -[NSInvocation invoke] + 137
    17  com.apple.Foundation                    0x95d0961a -[NSInvocationOperation main] + 267
    18  com.apple.Foundation                    0x95c24347 -[__NSOperationInternal start] + 1177
    19  com.apple.Foundation                    0x95c23ea7 -[NSOperation start] + 67
    20  com.apple.Foundation                    0x95c37ffa ____NSOQSchedule_block_invoke_2 + 135
    21  libdispatch.dylib                       0x92fd9fc9 _dispatch_call_block_and_release + 15
    22  libdispatch.dylib                       0x92fdb028 _dispatch_worker_thread2 + 231
    23  libsystem_c.dylib                       0x92699b24 _pthread_wqthread + 346
    24  libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 6:: Dispatch queue: com.apple.root.default-priority
    0   libsystem_kernel.dylib                  0x92b8658a fstat$INODE64 + 10
    1   com.apple.Foundation                    0x95be655d _NSReadBytesFromFileWithExtendedAttributes + 305
    2   com.apple.Foundation                    0x95be6424 _NSReadBytesFromFile + 85
    3   com.apple.Foundation                    0x95be6343 -[NSData(NSData) initWithContentsOfFile:] + 80
    4   com.apple.Foundation                    0x95be628f +[NSDictionary(NSDictionary) newWithContentsOf:immutable:] + 117
    5   com.apple.CoreFoundation                0x928dbd9c -[__NSPlaceholderDictionary initWithContentsOfFile:] + 236
    6   com.apple.iLMBiPhotoPlugin2012          0x09331c46 0x928c000 + 678982
    7   com.apple.iLifeMediaBrowser             0x99e643d7 -[ILMediaManager _performLoadData] + 157
    8   com.apple.iLifeMediaBrowser             0x99e64183 -[ILMediaManager _loadDataThreaded] + 514
    9   com.apple.CoreFoundation                0x928f5a9d __invoking___ + 29
    10  com.apple.CoreFoundation                0x928f59d9 -[NSInvocation invoke] + 137
    11  com.apple.Foundation                    0x95d0961a -[NSInvocationOperation main] + 267
    12  com.apple.Foundation                    0x95c24347 -[__NSOperationInternal start] + 1177
    13  com.apple.Foundation                    0x95c23ea7 -[NSOperation start] + 67
    14  com.apple.Foundation                    0x95c37ffa ____NSOQSchedule_block_invoke_2 + 135
    15  libdispatch.dylib                       0x92fd9fc9 _dispatch_call_block_and_release + 15
    16  libdispatch.dylib                       0x92fdb028 _dispatch_worker_thread2 + 231
    17  libsystem_c.dylib                       0x92699b24 _pthread_wqthread + 346
    18  libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 7:
    0   libsystem_kernel.dylib                  0x92b85a62 __read_nocancel + 10
    1   libsystem_c.dylib                       0x92693ee6 __sread + 35
    2   libsystem_c.dylib                       0x92693f0e _sread + 35
    3   libsystem_c.dylib                       0x92694465 __srefill1 + 34
    4   libsystem_c.dylib                       0x92695110 __fread + 217
    5   libsystem_c.dylib                       0x9269501f fread + 65
    6   com.apple.iLMBiPhotoPlugin2012          0x0933140f 0x928c000 + 676879
    7   com.apple.iLMBiPhotoPlugin2012          0x0932f2ad 0x928c000 + 668333
    8   com.apple.Foundation                    0x95c36e25 -[NSThread main] + 45
    9   com.apple.Foundation                    0x95c36dd5 __NSThread__main__ + 1582
    10  libsystem_c.dylib                       0x92697ed9 _pthread_start + 335
    11  libsystem_c.dylib                       0x9269b6de thread_start + 34
    Thread 8:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 9:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 10:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 11 Crashed:
    0   ???                                     0x037f8014 0 + 58687508
    Thread 11 crashed with X86 Thread State (32-bit):
      eax: 0x09fac000  ebx: 0x09fb070c  ecx: 0x00000000  edx: 0x09fb4000
      edi: 0x00000000  esi: 0x00000000  ebp: 0x09fadff8  esp: 0x09fadf9c
       ss: 0x00000023  efl: 0x00010246  eip: 0x037f8014   cs: 0x0000001b
       ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x00000000
      cr2: 0x00000002
    Logical CPU: 3
    Rosetta Stone
    Process:         Rosetta Stone [646]
    Path:            /Applications/Rosetta Stone Version 3.app/Contents/MacOS/Rosetta Stone
    Identifier:      com.rosettastone.rosettastoneversion3
    Version:         3.4.5 (3.4.5)
    Code Type:       X86 (Native)
    Parent Process:  launchd [144]
    Date/Time:       2012-07-12 19:05:17.368 +0100
    OS Version:      Mac OS X 10.7.4 (11E2620)
    Report Version:  9
    Interval Since Last Report:          114971 sec
    Crashes Since Last Report:           40
    Per-App Interval Since Last Report:  30 sec
    Per-App Crashes Since Last Report:   4
    Anonymous UUID:                      1A2484D1-9E1E-48BB-A930-CEF7A50083B2
    Crashed Thread:  4
    Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
    Exception Codes: KERN_INVALID_ADDRESS at 0x0000000083000000
    External Modification Warnings:
    Thread creation by external task.
    VM Regions Near 0x83000000:
        CG shared images       00000000071b2000-00000000072b2000 [ 1024K] rw-/rwx SM=COW 
    -->
        __TEXT                 000000008fe20000-000000008fe53000 [  204K] r-x/rwx SM=COW  /usr/lib/dyld
    Application Specific Information:
    objc[646]: garbage collection is OFF
    Thread 0:: Dispatch queue: com.apple.main-thread
    0   libsystem_kernel.dylib                  0x92b83c22 mach_msg_trap + 10
    1   libsystem_kernel.dylib                  0x92b831f6 mach_msg + 70
    2   com.apple.framework.IOKit               0x92afe7f2 io_service_get_matching_services + 231
    3   com.apple.framework.IOKit               0x92aaa6bd IOServiceGetMatchingServices + 147
    4   com.apple.MultitouchSupport.framework          0x9ba9848a _mthid_copyAvailableDevicesInfo + 268
    5   com.apple.HIToolbox                     0x953f85b6 TISHardwareSupportsGestureHandwriting + 47
    6   com.apple.HIToolbox                     0x953f83b2 SyncHandwritingHotKey + 20
    7   com.apple.HIToolbox                     0x953f7530 _FirstEventTime + 1474
    8   com.apple.HIToolbox                     0x953ef603 RunCurrentEventLoopInMode + 30
    9   com.apple.HIToolbox                     0x953f69b6 ReceiveNextEventCommon + 168
    10  com.apple.HIToolbox                     0x953f68fa BlockUntilNextEventMatchingListInMode + 88
    11  com.apple.AppKit                        0x966050d8 _DPSNextEvent + 678
    12  com.apple.AppKit                        0x96604942 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 113
    13  com.apple.AppKit                        0x96600cb1 -[NSApplication run] + 911
    14  com.apple.AppKit                        0x96891bd9 NSApplicationMain + 1054
    15  com.rosettastone.rosettastoneversion3          0x00002953 main + 107
    16  com.rosettastone.rosettastoneversion3          0x0000227e _start + 216
    17  com.rosettastone.rosettastoneversion3          0x000021a5 start + 41
    Thread 1:: Dispatch queue: com.apple.libdispatch-manager
    0   libsystem_kernel.dylib                  0x92b8690a kevent + 10
    1   libdispatch.dylib                       0x92fdbe10 _dispatch_mgr_invoke + 969
    2   libdispatch.dylib                       0x92fda85f _dispatch_mgr_thread + 53
    Thread 2:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 3:
    0   libsystem_kernel.dylib                  0x92b8602e __workq_kernreturn + 10
    1   libsystem_c.dylib                       0x92699ccf _pthread_wqthread + 773
    2   libsystem_c.dylib                       0x9269b6fe start_wqthread + 30
    Thread 4 Crashed:
    0   ???                                     0x033f8702 GCC_except_table2 + 46

    UPDATE (25/3/12)
    The issue resolved itself after about 8 hours, so evidently this was a server-side problem at Apple which only affected one of my iCloud addresses. Throughout the issue the Status report for the iCloud Server reported no problems: Apple needs to provide more accurate information on its server status.

  • How to open labview program with Quit Labview function inside?

    Hi Any idea how to open labview program with  Quit Labview function inside?
    I forgot to add and set the condition of the type for this program.
    If the program is an application, it would close straight away.
    If it is still labview work, it will go straight to editing program without closing.
    So I need to recover, open it and make some changes.
    Clement
    Solved!
    Go to Solution.

    Put the VI in a project and open it from there, then it shouldn't autorun. You can use App.kind property of application to decide whether to close or not.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • My safari screen suddenly fills my entire screen, and there is no right hand corner button to push to manually shrink it. What to do? I can never even exit the program without quitting it.

    My screen when I am using Safari suddenly fills my entire screen, and there is no right hand corner button to push to manually shrink it. What to do? I can never even exit the program without quitting it.This has happened only within the last two days.

    Try changing the screen resolution.
    Go to Apple Menu / System Preferences / Displays.
    Change the resolution. Whatever numbers are shown, e.g. 1280 x 960, select a larger one. The larger the number, in the resolution the smaller the display on the screen. You can keep changing this till you find the resolution that suits you.

  • All iWork programs unexpectedly quit

    I just bought iWork and installed it on my MacPro. I have Leopard. I cannot open any of the programs. I always get the "the program unexpectedly quit". I tried restarting. I trashed a trial iWork 06. What's the problem? What do I do?

    Bear 55,
    Did you reinstall iwork after installing leopard. It was suggested by Apple that we needed to reinstall iwork. If you did have you tried trashing the plist and restarting the application? You might also try repairing the permissions before restarting. These are all things that have helped others in the past.
    Good luck
    Mireille

  • Programs unexpectivily quit?

    I have had numerous issues with ilife programs unexpectivily quiting and also other programs for that matter. For ex. today I was importing some files to imovie and working organizing my itunes library at the same time. Imovie was running in the back and then it quit on me without displaying a pop up screen.
    Other times the pop up screens appear. This has happened numerous times whether or not I am working on something else at the same time. Shouldn't be an issue with macbook pros I would suppose.
    Anyone know why this is happening often?
    Thx.
    Dorian

    Dorian,
    Multiple applications quit unexpectedly or fail to launch, by Dr. Smoke may provide some clues for solving your problems.
    ;~)

  • My Forwards Cause another User's Mail Program to Quit

    Hello. A friend has a similar computer to mine, an eMac, I believe 10.3 version. Lately he has indicated that when I send him a Forward message it sometimes causes his Mail program to quit. It seems to happen fairly frequently but not on all my Forwards.
    Ordinary e-mail messages to him apparently do not cause the problem. He indicates other Forwards from other computers dont do it. Any ideas? Thanks.

    whiskey --
    My man, BDAqua, has the best way . . .
    Have him download the 10.3.9 COMBO update here:
    http://support.apple.com/kb/HT2464
    Then he will be up to 10.3.9 and he will have the latest mail for that version.
    If he wants to go to Tiger, then he'll need to pay for that upgrade.
    Have him check out what size the mails are that are crashing for him,
    and let us know how you guys are coming along, OK???

  • All my programs unexpectedly quit

    Hi..recently did a firmware update and a security update. Now, most every program unexpectedly quits prior to opening. Iphoto, all microsoft office products, Itunes, etc.
    What's going on?

    i have the same issue, and disk utility is another of the applications that quits unexpectedly ... firefox works, and burning monkey solitare, but all apple applications quit unexepectedly ... mail.app, safari, disk utility, software update, etc

  • FM which determines which job triggered the program

    Hi all,
    I have a programmed triggerred by several jobs.
    when the program is trigerred i want to know which job triggerred the program because i have different conditions for different jobs.
    Is there any FM which determines which job triggered the program
    Thanks

    Hi,
    I passed the dialog type as N for BP_FIND_JOBS_WITH_PROGRAM
    What does N means.
    Also the above FM brings the entries from  TBTCP.
    Iam not sure whether TBTCP gets an entry after the job is completed or once the job is created in SM36.
    Let me know
    Thanks

  • IPhoto does not let me view my pictures before freezing up. I updated to the new version today and now it won't even fully open the program before quitting unexpectedly.

    I have a laptop with iOS 10.9.3 and today I upgraded my iPhoto to version 9.5.1. When I tried to look through my pictures, I would click on an event and then click one of the picture thumbnails to see it larger, it would slow down and then show that picture, but it wouldn't let me scan left or right, and it wouldn't let me back up into the screen of thumbnails. After updating iPhoto, I can't even run the program. It opens a gray window and shows the thinking wheel, then the program quits unexpectedly. I also tried restarting the computer and that didn't work.

    Try the following:
    1 - delete the iPhoto preference file, com.apple.iPhoto.plist, that resides in your
         User/Home/Library/ Preferences folder.
    2 - delete the contents the following folder:
    User/Library/Containers/com.apple.iPhoto
    3 - reboot, launch iPhoto and try again.
    NOTE: For Mavericks, 10.9,  go to your Home folder and use the View ➙ Show View Options menu to bring the this window:
    where you can check the Show Library Folder checkbox.

  • Triggering print program for shipment creation

    Hi All,
    I have created a new print output type 'ZEDF',which should ideally generate a spool at the time of saving the shipment. But unfortunately, this is not happening.Whenever I save a newly created shipment,this output type is not getting triggered,but when I repeat the same output type through VT02,a spool is generated automatically.I have maintained all the condition records properly in the system. Please help me on this.
    Thank you,
    Archana

    Hi,
    Have you checked the settings in NACE tcode?
    Pls check the same and amde the configuration according to your Device Type.. Pls have a look on below points.
    Hi,
    1. Goto in NACE
    2. You need to ask your functional buddy to let you know about Application area, I suppose u need to take EF.
    3. Select EF from the list and than click on Output Types, select any output type (Which you wud like to give to your script)
    4. Else if you like to create a new one for your script, then on same screen click on change button, then click on New Entries
    And give all the detailed info.
    5. To use existing output types, select a output type like "ZEDI", at the left hand side double click on Processing Routines.
    6. In the Processing Routines block , Give the Program name as print program and here you need to give your SAP scrip name in Form option.
    save it.
    Regards,
    Lokesh.

  • Finding Program for triggering Print Program (MIGO - Goods Receipt)

    Hi all,
    Currently, I have developed customized print program and SMARTFORMS for Goods Receipt via MIGO, with output type ZZGR.
    Typically, this is a inter-plant transfer, where Plant A will issue a Delivery Order to Plant B, and Plant B will post goods receipt via MIGO (Movement Type 101), using Delivery Order number. As soon as the Material Document is posted, the SMARTFORMS shall be triggered by customized print program, in order to print out the goods receipt document upon material doc posted.
    The config for output determination (via TCODE NACE) for goods receipt is configured. I have tested post a goods receipt using Delivery Order, and Material Document is posted successfully. However, I got a message from SAP Inbox (Businees Area), saying that my Material Document having an update error, and the root cause is specifically from calling Function Module to trigger Smartforms in the print program. From tcode ST22, I realized that the error is due to empty parameter being passed to the function module (where the parameter is required field for further processing in Smartform).
    In order to rectify why empty parameter is bieng passed, I will have to debug the print program, after GR posted from MIGO. Therefore, can someone shed some lights on how to perform a debugging process, or any standard sap program involved, as I understand that the print program is triggered (in background) after GR posted?
    Also, can I know why the Material Document will not be committed to MKPF table after GR posted, is it due to the update error from the above mentioned?
    Many thanks.
    Best regards,
    Patrick
    P/S: I'm using SAP ECC6.

    Actually, this print program is being triggered in the update processing.
    Put a breakpoint in your driver program.
    In MIGO, before pressing the SAVE button start debugging.
    Press the SAVE button.
    Start the update debugging by Settings > Update Debugging.
    As soon as you continue in debugging, it would open another debugging session for the Update debugging. You can press continue and it would stop at your breakpoint.
    Regards,
    Naimesh Patel

  • Problem in triggering abap program in process chain

    i m running a infopackage in a process chain .
    this infopackage creates the request in the DSO .
    after infopackage i m including the abap program to delete the same request in the process chain .
    but the abap program is not getting triggered .i have maintained the variant correctly for the program in the process chain .
    what can be done so that the program gets triggered .

    Hi,
    You can trigger you ABASP program from
    1. SM64  : copy the ABAP program's Afer event and parambeter and give it there and execute
    2.or go to
    SE37 >>Program : BP_EVENT_RAISE  >> say test execute
    and give the same after event and parameter ..and execute
    this might trigger your program
    Hope this helps you,
    Regrads,
    shikha

  • Programs "Unexpectedly Quit"

    I was wondering if any knows why all my programs, escpecially my internet programs(Safari&Internet Explorer) are now always "unexpectedly quit". Just recently it has been happening, and when I try to go into my yahoo email account when im in Safari, while it is loading it just quits. I can go through any other part of the yahoo web site but not in the email. If I were to uninstall the programs would that help? I were to do that how would I go about doing that? Or is just something else? I need some help as soon as possible. I havent been able to get into my email account for about a week or two. I try to go through Internet Explorer but the account doesnt work well, and I cant respond to any emails I get. It says I need to get safari or firefox. Please help.

    Have you looked over the Knowledge Base article Mac OS X: How to troubleshoot a software issue?
    Especially if you've ever installed programs from HP, Adobe, or Quark, try running Disk Utility/ Repair Permissions on the hard drive.
    Try creating a new administrative use account and see if your programs will work then. If they do, try using Preferential Treatment to check the prefs in your real user account.
    Using command-F in the FInder (since 10.2.8 doesn't have Font Book), check to see if you have Times RO font installed and if so drag all copies of it to the Trash.

  • Programs not Quitting or Closing

    So, when I quit a program it never leaves the 'on' position in the Dock (little blue light under the icon). I cannot Force Quit. Nothing happens. I cannot re-open the program because it never actually quits.
    Does anyone else have this problem?

    Hi, my name is Jack Gregory and I hop the following information will help you. I have had apple training before and am running leopard currently. The reason why your apps are not closing is because you have Intego content barrier x4. To fix this problem you do not have to unstall content barrier x4. Follow these directions:
    1. Quit all other applications.
    2. Open system preferences
    3. In other click on NetUpdate
    4. Configure an e-mail and password if not already done so.
    5. At the top click on updates.
    6. Click on check. There should be some updates available for download.
    7. Download and install updates. (Will do that for you)
    8. Finally Restart computer.
    9. It should be working

Maybe you are looking for

  • Please Help me to Choose the best config to run forms on web

    Hi, I have started upgrading my application from Dev2000 1.3 to Dev2000 6i in order to deploy on web. I have few questions to ask 1. I need to know which config is the best & fast to run my applications out of      1. Applet      2. IE50Native      3

  • Updating Start, Finish % Complete from excel file to Ms Project

    Hi - This is my first post on this forum which i see is a great way to share knowledge. I’m having a schedule which has around 3000 lines with resources names and a Responsible Person (  where individual resources report to) updated on the schedule.

  • MacBook won't go to sleep automatically

    Just recently, I've noticed that my MacBook won't go to sleep. It was fine for the last year. If I go to the Apple Menu and tell it to sleep, it will. But, it doesn't sleep in the prescribed amount of time set in the control panels. Does anyone know

  • Weird stuff happening after upgrade to Captivate 8

    Until this week I was using Captivate 7. I've now upgraded to Cap. 8 and am finding odd things happening. The oddest that the audio from one presentation is now attached to a different presentation. I am quite spooked by this - I'm wondered what else

  • TabNavigator selectedIndex not working

    I have reduced a problem I'm having to a very simple example. I'm using the routine in a validation of form, trying to make sure they don't leave the current tab index if a form is 'open.' It works the first time but after that, does not work every o