I am running an Applescript to determine if an application exists and receiving an error related to sandboxing - why

I am attempting to write a script to do some file conversion when I import files into Aperture using Aperutre's importAcrtionFromVersions event.  Right now I am simply trying to have the script make sure the conversion application exists and I am finding in the Console that I am getting an error saying that a "sandboxed application with pid 27399 attempted to lookup app: Finder but was denied due to sandboxing".  (FYI pid 27399 is Aperture)
When I run this script on it's own I have no problems. The code being used is
set theApp to item "Adobe DNG Converter" of folder "Applications" of startup disk
I have also tried
if exists file "Adobe DNG Converter" of folder "Applications" of startup disk then
which also works on its own but doesn't when running from Aperture again because of sandboxing.
I am not sure if this should be in the Aperture discussion community or somewhere else. I thought because the problem is the result of sandboxing, which is an OS issue that it is more appropriate to be in the OSX community.
I am running an iMac with OSX 10.8.2 and Aperture version 3.4.3.  Any ideas or resources would be appreciated.

It looks like your script is targeting the Finder - if Aperture is what is running the script, it will need the proper entitlements to control stuff outside its sandbox.  You might try using the bundle identifier, which is usually the way to go since it can be trapped by a try statement, for example
try -- test for an application
  application id "com.apple.Safari"
on error errmess -- doesn't exist
  log errmess
  # whatever
end try

Similar Messages

  • I have an airport extreme and my computer runs Microsoft windows XP Media Center Edition 2005. I receive an error message saying " airport requires that your computer is running windows xp sp3 or windows vista sp1 or newer"...why?

    i have an airport extreme and my computer runs Microsoft windows XP Media Center Edition 2005. I receive an error message saying " airport requires that your computer is running windows xp sp3 or windows vista sp1 or newer"...why?

    It is required to be able to connect. Download SP3 here. http://www.microsoft.com/download/en/details.aspx?id=24
    I Hope I Was Able To Help You Or Solve Your Question.
    Simmm
    3/12/2012
    If Someone Helped You, Click
    "This Helped Me"
    If Someone Solved Your Question, Click
    "This Solved My Question"

  • Hi, I am unable to install new itunes version to windows 7 PC.  It requires application support and gives windows error 2.  I have tried to save on desktop and run as administrator but errors remains, what other options do I have

    Hi, I am unable to install new itunes version to windows 7 PC.  It requires application support and gives windows error 2.  I have tried to save on desktop and run as administrator but errors remains, what other options do I have?

    Hello, hanliefromzaf. 
    Thank you for visiting Apple Support Communities. 
    Here is an article that I would recommend going through when experiencing this issue. 
    iTunes for Windows: Unable to install or open
    http://support.apple.com/kb/ts5376
    Cheers,
    Jason H. 

  • HT4796 When I run migration assistant on my PC, I get a message saying windows mail is running and won't let me proceed.  Windows Mail is not running. I checked Task Manager's applications, services and processes and found no references to Window's Mail.

    Got a new iMac 27" for Christmas (well a little after) and tried using Migration Assistant to transfer some files.  I can't get past a window on the PC that pops up indicating Quit Other Programs  Before you can transfer your information, the following programs must be shutdown:  Windows Mail  Close these programs and run Migration Assistant again.  If these programs do not appear to be running, restart your computer and try again.
    I've rebooted.  I've searched Task Manager - Applications, Processes and Services and there are no references to WMail.  I don't or haven't knowingly used Windows Mail and Outlook isn't even installed on my PC.  Does anybody know how to get around this without using external drives, USB flashdrives, etc.

    Lots of fun.... The superdrive in my Macbook seems to have gone off kilter since my install. Now the CD-R won't work regardless of which operating system I use. Normal CD's and DVD's are fine, but any CD-R is taken as a blank disk.
    Using an external CD drive solved this problem.

  • I updated my PC running windows XP with itunes 11.4.1 and received numerous errors.

    I updated my PC running windows XP with itunes 11.4.1. Had to install manually. After doing this I received an error message 'mobile me services can't be located'. Went to check icloud and icloud won't open because procedure entry point could not be located. Rebooted and get entry point error on reboot.
    What is the fix?

    For all Windows OS to fix this perform the following.
    1. Go to Control Panel
    2. Remove previous version of iTunes
    3. Remove Apple Update
    4. Remove Bonjour
    5. Remove any other affiliated iTunes download.
    6. Return to Apple  >> Download iTunes may indicate it will fail to download but reattempt it will download,
    7. Once downloaded it may download as (iTunessetup_exe)
    8. Right click on the download and change the file extension to a .exe
    9. Install should be successful.
    I performed all the steps and my iTunes works fine.

  • ERR-7621 Could not determine workspace for application (:) on application..

    Hi.
    We have strange error starting appear in our application.
    ===========================================================
    Expecting p_company or wwv_flow_company cookie to contain security group id of application owner.
    Error ERR-7621 Could not determine workspace for application (:) on application accept.
    ===========================================================
    It happens when we are tabbing through the pages...
    Any help will be highly appreciated.

    mishkar - there is something going wrong with your HTTP facilities somewhere. See my responses at Re: ERR-7621 Could not determine workspace for application (:).. and ERR-7621 Could not determine workspace for application () on application
    Also your phrase "when we are tabbing through the pages" is extremely vague.
    Scott

  • Is there a way to run an applescript based on user interaction?

    What I am trying to do is run an applescript using automator to run Apple updates. I got the script to work just fine, know how to schedule it through iCal. But, is there a way to prompt the user with an allow or decline before the script runs? Like a pop up saying, This computer needs to check for updates, have 2 selections, "check now" or "check later"? Check now will start the process, check later kills the script until the next scheduled event. Any input would be awesome!
    Thanks!

    mismith223 wrote:
    ...They never even know its happening unless they see the script icon in the dock for the short period of time.
    That's true, but if you want to, you can hide the app from the dock completely by typing
    "defaults write /path/to/YourApp.app/Contents/Info LSUIElement 1" into the terminal.
    The app will still be able to show pop-up's and stuff, but its menu bar and dock icon will be hidden.
    To disable it, simpy use
    "defaults write /path/to/YourApp.app/Contents/Info LSUIElement 0" (in terminal)

  • Need a Folder Action Script to automate running of Applescripts in iTunes

    I posted this in the OSX forum but thought i'd try here too:
    I have a couple of applescripts that I have begun using on some of my podcasts. Specifically they will deselect "Skip When Shuffling" and "Remember Track Position" (Thanks Doug!). I feel like it is getting tedious to have to remember to run these scripts every time the Podcast updates a new episode. I'm looking for a folder action script that will run these applescripts whenever a new item is added to their folder. While I try to puzzle one together (having never written one) does anyone have anything to fit these needs?

    Yes.
    I recently need one to do something else.
    I'll just give you the script I am using, you can hack at will...
    property TargetPlaylist : "Library"
    on adding folder items to this_folder after receiving added_items
    repeat with each_item in added_items
    tell application "iTunes"
    add each_item to playlist TargetPlaylist
    end tell
    end repeat
    tell application "Finder"
    move every item of this_folder to the trash
    empty the trash
    end tell
    end adding folder items to
    This script when attached as a folder action will add the items dropped into it to my iTunes library, then delete them.
    You can easily tear this one apart to get what you need done.
    Beavis2084

  • Using a Mail rule to run an AppleScript

    I've been trying to get a Mail rule to run a very simple AppleScript on 10.5.3 and it just doesn't work, period.
    I've tried making everything as simple as possible:
    1. My Mail rule sets the background color of a message and runs the AppleScript if the subject contains "test".
    2. The AppleScript displays a Finder alert.
    [(screenshot)|http://i26.tinypic.com/nqxou8.png]
    Naturally, the script runs fine within the Script Editor. I also know that the rule works since the background color action gets applied.
    But, the AppeScript never runs when I apply the rule to a message manually or when it gets automatically applied to new messages. I really can't imagine where I'm going wrong here...

    You can't simply feed it some arbitrary script to execute, you have to write a handler that Mail can dispatch events to. This generally looks something like
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with suspectMessage in theMessages
    --do something
    end repeat
    end tell
    end perform mail action with messages
    end using terms from

  • How to run an applescript using unix command

    Hi All,
    Can any one help me in giving me the command for running an apple script thru postupgrade shell file in other words i wana run an apple script while running my new installer that will upgrade the old version of application but while installing i want to run an applescript so as i know ill have to give that applescript path in the postupgrade script but how to run it while installation and where to keep it (is it postupgrade). May be in short how can i run apple script thru unix command.

    Use the osascript command.
    In my installer, I use the DropDMG program to build my DMG disk image. It doesn't quit automatically, so I have to do the following:
    osascript -e "tell application \"DropDMG\" to quit"
    Type "man osascript" for more information.

  • Running an AppleScript every 3 days in the background

    Hi. I would like to run an applescript every 3 days in the background. I know this can be easily done by just using iCal. However, I think there must be another way to do it if system events is used... but how?
    Message was edited by: HREsquivelO

    Most likely you will need to create a LaunchAgent.

  • Run a applescript in scripts menu in Photoshop

    Hello I been trying to figure out a way to run a applescript saved as an application bundle into a javascript. I would appreciate any help on this.
    David

    It used to state (don't know if it still does not checked) that AppleScripts can be placed in the Photoshop scripts folder… This is not the case. Anyhow if I recall correctly then File.execute() from ESTK does not work as if double clicked in the GUI. If you use CS4+ then you could have the system open the app but this is where things get out of hand, have JS calling Shell to open AppleScript… Too much of a mess for me so Im learning the ESTK
    Something along the lines of…
    app.system('open ~/Desktop/Some.app');
    May work for you but its one ugly work around… and you may need to quote the path string too…

  • How to run an applescript through terminal

    Hi Friends,
    I want to run an apple script by terminal. Any ideas how can we do it?
    I tried using the below code in terminal as
    osascript script_name.scpt.
    But, it returns an error.
    Thanks for your help!
    Regards,
    Abhishek

    Hi,
    I am sorry for not being explicit in my earlier post.I wanted to know basically what is the syntax of running an applescript through my terminal.
    Below is the errror message when I use the below syntax in terminal
    osascript script_name.scpt
    2012-10-30 11:34:43.667 osascript[2388:903] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types:  dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
    osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
    2012-10-30 11:34:43.669 osascript[2388:903] Error loading /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPScript ingAdditions:  dlopen(/Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QX PScriptingAdditions, 262): no suitable image found.  Did find:
              /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/QXPS criptingAdditions: mach-o, but wrong architecture
    osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/QXPScriptingAdditions.osax" declares no loadable handlers.
    script_name.scpt: execution error: No user interaction allowed. (-1713)
    Hope it helps!
    Thanks,
    Abhishek

  • AppleScript to determine album ratings from song ratings and no. of tracks?

    Hi
    I am wondering if it would be possible to write an AppleScript to determine the album ratings for my albums in iTunes in the following way:
    All of my music collection comes from CDs I have ripped. I rip the whole album and then delete tracks I don't like. The number of tracks in the original album is preserved in the Track # field, e.g. Track 1 of 10, etc. All multi disc albums have been given the same name, i.e. they are recognised as the same album with Disc Number preserved, i.e. Disc #1 of 2, etc.
    The Album Rating would then be the sum of the rating of every song that is still in my iTunes Music Library divided by the total number of tracks in the original album (with multi disc albums counted as one album).
    So, for example, if I had an one disc album which originally had 10 tracks, that I only kept two songs from, and one of these tracks had a rating of 5 and the other 3, the album rating would be as follows:
    5+3/10 = 0.8
    Ideally this value would then be written to the Album Rating tag in iTunes. I think the best iTunes can do is display half-star ratings, but I wonder if it will still sort the Albums by Album Rating based on the actual value of the above calculation, i.e. an album with Rating 4.52 would be sorted higher than an album with rating 4.48, but both would show in iTunes as having 4 and a half stars?
    The next best option would be for the script to generate a text file of the Album Ratings sorted by rating with the highest first (in fact it would be good to have this in addition to the values being written to the Album Rating tags)
    The difference between this script and the built in method used in iTunes is that iTunes doesn't account for deleted tracks, so in the above example the Album would be rated 4, even though 8 tracks had been deleted.
    I hope this is clear and would be grateful for any help in getting this script together.
    Thanks,
    Nick.

    Here's an improved version of the script that should fulfill your needs (the modifications are in blue). The script now sorts the Album Ratings (via Numbers.app) and save them to a text file on the desktop, with no rating greater than 80. As previously, you must choose at least one track.
    --BEGINNING OF SCRIPT
    *tell application "iTunes"*
    --Make a list of all the selected albums:
    *set theAlbums to {}*
    *set theAlbumsRef to a reference to theAlbums*
    *set tempList to album of selection*
    *set thePreviousTitle to ""*
    *repeat with thisTitle in tempList*
    *set thisTitle to thisTitle as text*
    *if thisTitle is not thePreviousTitle then*
    *copy thisTitle to the end of theAlbumsRef*
    *set thePreviousTitle to thisTitle*
    *end if*
    *end repeat*
    *set numberOfAlbums to count theAlbums*
    --Make a list containing one track for each selected album:
    *set theTracks to {}*
    *set theTracksRef to a reference to theTracks*
    *repeat with thisAlbum in theAlbums*
    *copy (track 1 whose album is thisAlbum) to the end of theTracksRef*
    *end repeat*
    --Set the album rating of each album contained in the selection:
    *set theRatings to ""*
    *set k to 0*
    *repeat with thisTrack in theTracks*
    *set k to k + 1*
    *if k mod 25 = 0 then beep 1* -- for audio feedback
    *set thisAlbum to item k of theAlbums*
    *set numberOfTracks to 0*
    *repeat with k from 1 to (disc count of thisTrack)*
    try
    *get (track count of track 1 whose (album is thisAlbum) and (disc number is k))*
    *set numberOfTracks to numberOfTracks + result*
    *end try*
    *end repeat*
    *set songRating to 0*
    *repeat with R in (rating of tracks whose album is thisAlbum)*
    *if R > 80 then set R to 80*
    *set songRating to songRating + R*
    *end repeat*
    *set thisRating to round (songRating / numberOfTracks)*
    *set album rating of thisTrack to thisRating*
    *set theRatings to theRatings & (album artist of thisTrack & tab & thisAlbum & tab & (thisRating as text) & return)*
    *end repeat*
    *end tell*
    --Save the album ratings to a text file (on the dekstop):
    *set theTextFile to POSIX file (POSIX path of (path to desktop) & "iTunes Ratings")*
    *open for access theTextFile with write permission*
    *set eof theTextFile to 0*
    *write theRatings to theTextFile*
    *close access theTextFile*
    --Use application Numbers.app to sort the text file by rating:
    *tell application "Finder" to set NumbersWasOpen to (process "Numbers" exists)*
    *tell application "Numbers"*
    launch
    *open theTextFile*
    *tell table 1 of sheet 1 of front document*
    *sort by column 3 direction descending*
    *set theSortedRatings to ""*
    *repeat with j from 1 to numberOfAlbums*
    *set X to value of cell 1 of row j*
    *if X = 0 then set X to ""*
    *set Y to value of cell 2 of row j*
    *if Y = 0 then set Y to ""*
    *set Z to (value of cell 3 of row j) as integer*
    *set theSortedRatings to theSortedRatings & X & tab & Y & tab & Z & return*
    *end repeat*
    *end tell*
    *close front document without saving*
    *if not NumbersWasOpen then quit*
    *end tell*
    *open for access theTextFile with write permission*
    *set eof theTextFile to 0*
    *write theSortedRatings to theTextFile*
    *close access theTextFile*
    theSortedRatings
    --END OF SCRIPT
    Please let me know if anything doesn't work as expected.
    Message was edited by: Pierre L.

  • Mail crashes when executing a rule that runs an applescript

    I have set up a rule in mail that when executed runs an apple script. Most of the time it crashes mail, but occasionally runs completely or just partially. Doesn't matter what the apple script is, most of the time it will just crash. I've done a clean install of OS X, so the system is in pristeen condition.
    The rule says if an message is from the specified sender then to execute the applescript. I invoke the rule by right clicking on a message from the sender and selecting the 'apply rules' menu item, or when a new message from the sender arrives in the mail box.
    Here's the applescript (a edited version of one of the scripts that was included from Apple)
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with eachMessage in theMessages
    set theSubject to subject of eachMessage
    set theSender to sender of eachMessage
    set theText to "Sender:" & theSender & return & "Subject: " & theSubject
    display dialog theText
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    Here's the crash report (copied from the 'Problem Report for Mail' window)
    Date/Time: 2007-04-03 23:14:41.074 -0500
    OS Version: 10.4.9 (Build 8P135)
    Report Version: 4
    Command: Mail
    Path: /Applications/Mail.app/Contents/MacOS/Mail
    Parent: WindowServer [60]
    Version: 2.1 (752)
    Build Version: 22
    Project Name: MailViewer
    Source Version: 7520000
    PID: 280
    Thread: 0
    Exception: EXCBADACCESS (0x0001)
    Codes: KERNPROTECTIONFAILURE (0x0002) at 0x0000002a
    Thread 0 Crashed:
    0 libRIP.A.dylib 0x947d154c RIPLayerIntersect + 40
    1 libRIP.A.dylib 0x947cbb40 ripc_GetClipState + 2112
    2 libRIP.A.dylib 0x947cb08c ripc_GetRenderingState + 204
    3 libRIP.A.dylib 0x947ca1a4 ripc_DrawImage + 152
    4 com.apple.CoreGraphics 0x903d4064 CGContextDelegateDrawImage + 76
    5 com.apple.CoreGraphics 0x903d3fbc CGContextDrawImage + 340
    6 com.apple.HIToolbox 0x932c6ea0 _ThemeImageDrawMultiple + 1412
    7 com.apple.HIToolbox 0x93375128 HIThemeDrawButtonPulsed(CGRect const*, ThemeImageDrawInfo*, unsigned long, HIThemeButtonDrawInfo const*, CGContext*) + 404
    8 com.apple.HIToolbox 0x93360ba8 HIThemeDrawButtonInternal(CGRect const*, HIThemeButtonDrawInfo const*, HIThemeButtonDrawInfo const*, ThemeEraseXUPP*, ThemeButtonDrawXUPP*, unsigned long, CGContext*, unsigned long, CGRect*) + 12264
    9 com.apple.HIToolbox 0x9335dbb0 HIThemeDrawButton + 44
    10 com.apple.HIToolbox 0x933712d0 HIPushButton::DrawSelf(short, __HIShape const*, CGContext*) + 412
    11 com.apple.HIToolbox 0x932c26dc HIView::DrawCacheOrSelf(short, __HIShape const*, CGContext*) + 328
    12 com.apple.HIToolbox 0x932c2438 HIView::SendDraw(short, OpaqueGrafPtr*, __HIShape const*, CGContext*) + 100
    13 com.apple.HIToolbox 0x93370fc4 HIView::RecursiveDrawNonComposited(short, OpaqueGrafPtr*, OpaqueRgnHandle*, unsigned char, unsigned char, unsigned char) + 468
    14 com.apple.HIToolbox 0x933706e4 HIView::DrawNonComposited(short, OpaqueGrafPtr*, OpaqueRgnHandle*, unsigned long) + 312
    15 com.apple.HIToolbox 0x93379440 Draw1Control + 68
    16 com.apple.HIToolbox 0x93455698 HIPushButton::Animate() + 428
    17 com.apple.HIToolbox 0x934314e8 HIStandardAnimator::TimerProc(__EventLoopTimer*, void*) + 72
    18 com.apple.CoreFoundation 0x907f2578 __CFRunLoopDoTimer + 184
    19 com.apple.CoreFoundation 0x907deef8 __CFRunLoopRun + 1680
    20 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
    21 com.apple.HIToolbox 0x93298b20 RunCurrentEventLoopInMode + 264
    22 com.apple.HIToolbox 0x932981b4 ReceiveNextEventCommon + 380
    23 com.apple.HIToolbox 0x93298020 BlockUntilNextEventMatchingListInMode + 96
    24 com.apple.AppKit 0x9377dae4 _DPSNextEvent + 384
    25 com.apple.AppKit 0x9377d7a8 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
    26 com.apple.AppKit 0x93779cec -[NSApplication run] + 472
    27 com.apple.AppKit 0x9386a87c NSApplicationMain + 452
    28 com.apple.mail 0x000871d8 0x1000 + 549336
    29 com.apple.mail 0x00087080 0x1000 + 548992
    Thread 1:
    0 libSystem.B.dylib 0x9004a828 syscallthreadswitch + 8
    1 com.apple.Foundation 0x92bf95dc +[NSThread sleepUntilDate:] + 152
    2 com.apple.AppKit 0x9381aa10 -[NSUIHeartBeat _heartBeatThread:] + 1100
    3 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 2:
    0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b41c mach_msg + 60
    2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
    4 com.apple.Foundation 0x92bf0170 -[NSRunLoop runMode:beforeDate:] + 172
    5 com.apple.Foundation 0x92bf00a8 -[NSRunLoop run] + 76
    6 com.apple.MessageFramework 0x9a25c198 +[_NSSocket _runIOThread] + 92
    7 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    8 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 3:
    0 libSystem.B.dylib 0x9001fa0c select + 12
    1 com.apple.CoreFoundation 0x907f1434 __CFSocketManager + 472
    2 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 4:
    0 libSystem.B.dylib 0x9002f20c kevent + 12
    1 com.apple.DesktopServices 0x92af4eb0 TFSNotificationTask::FSNotificationTaskProc(void*) + 56
    2 ...ple.CoreServices.CarbonCore 0x90bc683c PrivateMPEntryPoint + 76
    3 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 5:
    0 libSystem.B.dylib 0x9002c548 semaphorewait_signaltrap + 8
    1 libSystem.B.dylib 0x9003102c pthreadcondwait + 480
    2 ...ple.CoreServices.CarbonCore 0x90bc6a2c MPWaitOnQueue + 224
    3 com.apple.DesktopServices 0x92af552c TNodeSyncTask::SyncTaskProc(void*) + 116
    4 ...ple.CoreServices.CarbonCore 0x90bc683c PrivateMPEntryPoint + 76
    5 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 6:
    0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x900552c4 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x92c605d4 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x92c604f0 -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9a257d90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 7:
    0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x900552c4 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x92c605d4 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x92c604f0 -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9a257d90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 8:
    0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x900552c4 pthreadcondtimedwait + 676
    2 com.apple.Foundation 0x92c605d4 FCONDITION_WAITTIMEOUT + 144
    3 com.apple.Foundation 0x92c604f0 -[NSConditionLock lockWhenCondition:beforeDate:] + 128
    4 com.apple.MessageFramework 0x9a257d90 -[InvocationQueue _drainQueue] + 176
    5 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    6 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 9:
    0 libSystem.B.dylib 0x9000b4c8 machmsgtrap + 8
    1 libSystem.B.dylib 0x9000b41c mach_msg + 60
    2 com.apple.CoreFoundation 0x907deba8 __CFRunLoopRun + 832
    3 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific + 268
    4 com.apple.HIToolbox 0x93298b20 RunCurrentEventLoopInMode + 264
    5 com.apple.HIToolbox 0x932981b4 ReceiveNextEventCommon + 380
    6 com.apple.HIToolbox 0x932dd348 AcquireNextEventInMode + 72
    7 com.apple.HIToolbox 0x9348e278 _RunAppModalLoop + 96
    8 ...pple.osax.standardadditions 0x05d1bfec dyldstub__keymgr_get_and_lock_processwideptr + 97418156
    9 com.apple.AE 0x914ff960 aeDispatchAppleEvent(AEDesc const*, AEDesc*, unsigned long, unsigned char*) + 208
    10 com.apple.AE 0x9150afc0 sendToSelf(AEDesc const*, AEDesc*, long, long) + 372
    11 com.apple.AE 0x915038f8 AESendMessage + 648
    12 com.apple.AE 0x915033d4 aeSend + 224
    13 com.apple.HIToolbox 0x933468c8 AESend + 108
    14 com.apple.applescript 0x9898ed60 AEDefaultSendProc(AEDesc const*, AEDesc*, long, short, long, unsigned char ()(EventRecord, long*, OpaqueRgnHandle**), unsigned char ()(EventRecord, long, long, AEDesc const*), long) + 16
    15 com.apple.openscripting 0x930d5c5c InvokeOSASendUPP + 24
    16 com.apple.applescript 0x9898ed2c ComponentSend(AEDesc const*, AEDesc*, long, long) + 112
    17 com.apple.applescript 0x989cb708 TUASApplication::Send(TStackFrame_UASRemoteSend*, AEDesc*, AEDesc*, unsigned char, unsigned char, unsigned char) + 1424
    18 com.apple.applescript 0x989edfd8 UASRemoteSend(unsigned char, unsigned char, unsigned char, unsigned char, unsigned char, unsigned char*) + 368
    19 com.apple.applescript 0x989fe354 UASValue_Send(unsigned char, unsigned char, TUASClassIndex, unsigned char) + 352
    20 com.apple.applescript 0x989cf910 UASExecute1() + 328
    21 com.apple.applescript 0x989b18c8 ASExecuteEvent(AEDesc const*, unsigned long, long, unsigned long*) + 900
    22 ...ple.CoreServices.CarbonCore 0x90bdf11c CallComponentFunctionCommon + 1112
    23 com.apple.applescript 0x98985418 AppleScriptComponent + 1712
    24 ...ple.CoreServices.CarbonCore 0x90bdec60 CallComponent + 260
    25 com.apple.applescript 0x98984694 AGenericManager::HandleOSACall(ComponentParameters*) + 72
    26 com.apple.applescript 0x989842e4 GenericComponent + 216
    27 ...ple.CoreServices.CarbonCore 0x90bdec60 CallComponent + 260
    28 com.apple.openscripting 0x930ea878 OSAExecuteEvent + 52
    29 com.apple.Foundation 0x92cdd9dc -[NSAppleScript(NSPrivate) _executeAppleEvent:withMode:error:] + 164
    30 com.apple.MessageFramework 0x9a31fdb0 -[NSAppleScript(MessageRuleAdditions) executeHandlerWithEventClass:eventID:andArguments:error:] + 596
    31 com.apple.MessageFramework 0x9a31f8e0 +[NSAppleScript(MessageRuleAdditions) executeHandlerWithEventClass:eventID:inScriptAtPath:withArguments:error:] + 112
    32 com.apple.MessageFramework 0x9a2d2be4 -[MessageRule _performAppleScriptActionWithMessages:] + 264
    33 com.apple.MessageFramework 0x9a2c178c -[MessageRule performActionsOnMessages:destinationStores:rejectedMessages:messagesToBeDeleted :] + 172
    34 com.apple.MessageFramework 0x9a2c15f0 _routeMessagesInDictionary + 168
    35 com.apple.MessageFramework 0x9a2c0b58 -[MessageRouter routeMessages:fromStores:] + 1660
    36 com.apple.mail 0x000eeedc 0x1000 + 974556
    37 libobjc.A.dylib 0x90a461f4 objc_msgSendv + 180
    38 com.apple.Foundation 0x92bdcc94 -[NSInvocation invoke] + 944
    39 com.apple.MessageFramework 0x9a24e800 -[MonitoredInvocation invoke] + 144
    40 com.apple.MessageFramework 0x9a24e67c +[WorkerThread _execute:] + 76
    41 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    42 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 10:
    0 libSystem.B.dylib 0x90055468 semaphoretimedwait_signaltrap + 8
    1 libSystem.B.dylib 0x90071be8 pthreadcond_timedwait_relativenp + 556
    2 ...apple.AddressBook.framework 0x94dcdcac -[ABRemoteImageLoader workLoop] + 132
    3 com.apple.Foundation 0x92be11a0 forkThreadForFunction + 108
    4 libSystem.B.dylib 0x9002be88 pthreadbody + 96
    Thread 0 crashed with PPC Thread State 64:
    srr0: 0x00000000947d154c srr1: 0x000000000200f030 vrsave: 0x0000000000000000
    cr: 0x44482224 xer: 0x0000000000000004 lr: 0x00000000947d1530 ctr: 0x0000000000000000
    r0: 0x00000000947cbb40 r1: 0x00000000bfffdac0 r2: 0x0000000000000000 r3: 0x0000000005e136d0
    r4: 0x000000000000002a r5: 0x0000000000000010 r6: 0x0000000000000006 r7: 0x0000000000000000
    r8: 0x0000000000000001 r9: 0x0000000005e136d0 r10: 0x0000000005f0026d r11: 0x0000000028482222
    r12: 0x000000009012a680 r13: 0x0000000005e12c50 r14: 0x00000000bfffe720 r15: 0x0000000005e13680
    r16: 0x0000000005e13900 r17: 0x0000000000000000 r18: 0x0000000000000000 r19: 0x00000000bfffdb50
    r20: 0x0000000005e13900 r21: 0x00000000052fb230 r22: 0x0000000005e14770 r23: 0x0000000000000001
    r24: 0x0000000005e136e4 r25: 0x0000000000000000 r26: 0x0000000000000000 r27: 0x0000000005e12cb0
    r28: 0x0000000000000000 r29: 0x0000000005e136d0 r30: 0x0000000005e136d0 r31: 0x00000000947d1530
    Binary Images Description:
    0x1000 - 0x199fff com.apple.mail 2.1 (752) /Applications/Mail.app/Contents/MacOS/Mail
    0x5565000 - 0x5578fff com.apple.Mail.Syncer 1.1 (752.2) /System/Library/Frameworks/Message.framework/Versions/B/Resources/Syncer.syncsc hema/Contents/MacOS/Syncer
    0x5c5e000 - 0x5c60fff com.apple.AutomatorCMM 1.0 (48) /System/Library/Contextual Menu Items/AutomatorCMM.plugin/Contents/MacOS/AutomatorCMM
    0x5c63000 - 0x5c67fff com.apple.FolderActionsMenu 1.3 /System/Library/Contextual Menu Items/FolderActionsMenu.plugin/Contents/MacOS/FolderActionsMenu
    0x5c73000 - 0x5c73fff com.apple.SpotLightCM 1.0 (121.36) /System/Library/Contextual Menu Items/SpotlightCM.plugin/Contents/MacOS/SpotlightCM
    0x5c85000 - 0x5c85fff com.apple.applescript.component 1.10.7 /System/Library/Components/AppleScript.component/Contents/MacOS/AppleScript
    0x5ca0000 - 0x5ca0fff com.apple.osax.digihub 1.0 /System/Library/ScriptingAdditions/Digital Hub Scripting.osax/Contents/MacOS/Digital Hub Scripting
    0x5d0c000 - 0x5d49fff com.apple.osax.standardadditions 1.10.7 (???) /System/Library/ScriptingAdditions/StandardAdditions.osax/Contents/MacOS/Standa rdAdditions
    0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
    0x90000000 - 0x901bdfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
    0x90215000 - 0x9021afff libmathCommon.A.dylib /usr/lib/system/libmathCommon.A.dylib
    0x9021c000 - 0x90269fff com.apple.CoreText 1.0.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreText.framework/Versions/A/CoreText
    0x90294000 - 0x90345fff ATS /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ATS.framework/Versions/A/ATS
    0x90374000 - 0x9072ffff com.apple.CoreGraphics 1.258.61 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/CoreGraphics
    0x907bc000 - 0x90895fff com.apple.CoreFoundation 6.4.7 (368.28) /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x908de000 - 0x908defff com.apple.CoreServices 10.4 (???) /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
    0x908e0000 - 0x909e2fff libicucore.A.dylib /usr/lib/libicucore.A.dylib
    0x90a3c000 - 0x90ac0fff libobjc.A.dylib /usr/lib/libobjc.A.dylib
    0x90aea000 - 0x90b5cfff com.apple.framework.IOKit 1.4 (???) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
    0x90b72000 - 0x90b84fff libauto.dylib /usr/lib/libauto.dylib
    0x90b8b000 - 0x90e62fff com.apple.CoreServices.CarbonCore 681.9 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonC ore.framework/Versions/A/CarbonCore
    0x90ec8000 - 0x90f48fff com.apple.CoreServices.OSServices 4.1 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServi ces.framework/Versions/A/OSServices
    0x90f92000 - 0x90fd3fff com.apple.CFNetwork 4.0 (129.20) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CFNetwo rk.framework/Versions/A/CFNetwork
    0x90fe8000 - 0x91000fff com.apple.WebServices 1.1.2 (1.1.0) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/WebServ icesCore.framework/Versions/A/WebServicesCore
    0x91010000 - 0x91091fff com.apple.SearchKit 1.0.5 /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchK it.framework/Versions/A/SearchKit
    0x910d7000 - 0x91100fff com.apple.Metadata 10.4.4 (121.36) /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadat a.framework/Versions/A/Metadata
    0x91111000 - 0x9111ffff libz.1.dylib /usr/lib/libz.1.dylib
    0x91122000 - 0x912ddfff com.apple.security 4.6 (29770) /System/Library/Frameworks/Security.framework/Versions/A/Security
    0x913dc000 - 0x913e5fff com.apple.DiskArbitration 2.1 /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration
    0x913ec000 - 0x91414fff com.apple.SystemConfiguration 1.8.3 /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfi guration
    0x91427000 - 0x91432fff libgcc_s.1.dylib /usr/lib/libgcc_s.1.dylib
    0x91437000 - 0x9143ffff libbsm.dylib /usr/lib/libbsm.dylib
    0x91443000 - 0x914befff com.apple.audio.CoreAudio 3.0.4 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
    0x914fb000 - 0x914fbfff com.apple.ApplicationServices 10.4 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Application Services
    0x914fd000 - 0x91535fff com.apple.AE 1.5 (297) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ AE.framework/Versions/A/AE
    0x91550000 - 0x91622fff com.apple.ColorSync 4.4.9 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ColorSync.framework/Versions/A/ColorSync
    0x91675000 - 0x91706fff com.apple.print.framework.PrintCore 4.6 (177.13) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ PrintCore.framework/Versions/A/PrintCore
    0x9174d000 - 0x91804fff com.apple.QD 3.10.24 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ QD.framework/Versions/A/QD
    0x91841000 - 0x9189ffff com.apple.HIServices 1.5.3 (???) /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ HIServices.framework/Versions/A/HIServices
    0x918ce000 - 0x918effff com.apple.LangAnalysis 1.6.1 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LangAnalysis.framework/Versions/A/LangAnalysis
    0x91903000 - 0x91928fff com.apple.FindByContent 1.5 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ FindByContent.framework/Versions/A/FindByContent
    0x9193b000 - 0x9197dfff com.apple.LaunchServices 182 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ LaunchServices.framework/Versions/A/LaunchServices
    0x91999000 - 0x919adfff com.apple.speech.synthesis.framework 3.3 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ SpeechSynthesis.framework/Versions/A/SpeechSynthesis
    0x919bb000 - 0x91a01fff com.apple.ImageIO.framework 1.5.4 /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/ImageIO
    0x91a18000 - 0x91adffff libcrypto.0.9.7.dylib /usr/lib/libcrypto.0.9.7.dylib
    0x91b2d000 - 0x91b42fff libcups.2.dylib /usr/lib/libcups.2.dylib
    0x91b47000 - 0x91b65fff libJPEG.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJPEG.dylib
    0x91b6b000 - 0x91c22fff libJP2.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libJP2.dylib
    0x91c71000 - 0x91c75fff libGIF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libGIF.dylib
    0x91c77000 - 0x91cdffff libRaw.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRaw.dylib
    0x91ce4000 - 0x91d21fff libTIFF.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libTIFF.dylib
    0x91d28000 - 0x91d41fff libPng.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libPng.dylib
    0x91d46000 - 0x91d49fff libRadiance.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ ImageIO.framework/Versions/A/Resources/libRadiance.dylib
    0x91d4b000 - 0x91e29fff libxml2.2.dylib /usr/lib/libxml2.2.dylib
    0x91e49000 - 0x91e49fff com.apple.Accelerate 1.2.2 (Accelerate 1.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x91e4b000 - 0x91f30fff com.apple.vImage 2.4 /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.fr amework/Versions/A/vImage
    0x91f38000 - 0x91f57fff com.apple.Accelerate.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/vecLib
    0x91fc3000 - 0x92031fff libvMisc.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvMisc.dylib
    0x9203c000 - 0x920d1fff libvDSP.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libvDSP.dylib
    0x920eb000 - 0x92673fff libBLAS.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libBLAS.dylib
    0x926a6000 - 0x929d1fff libLAPACK.dylib /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.fr amework/Versions/A/libLAPACK.dylib
    0x92a01000 - 0x92aeffff libiconv.2.dylib /usr/lib/libiconv.2.dylib
    0x92af2000 - 0x92b7afff com.apple.DesktopServices 1.3.6 /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/Desk topServicesPriv
    0x92bbb000 - 0x92de6fff com.apple.Foundation 6.4.8 (567.29) /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
    0x92f04000 - 0x92f0efff com.apple.framework.AppleTalk 1.2.0 (???) /System/Library/Frameworks/AppleTalk.framework/Versions/A/AppleTalk
    0x92f13000 - 0x92f31fff libGL.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
    0x92f3c000 - 0x92f96fff libGLU.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
    0x92fb4000 - 0x92fb4fff com.apple.Carbon 10.4 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon
    0x92fb6000 - 0x92fcafff com.apple.ImageCapture 3.0 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture. framework/Versions/A/ImageCapture
    0x92fe2000 - 0x92ff2fff com.apple.speech.recognition.framework 3.4 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecogni tion.framework/Versions/A/SpeechRecognition
    0x92ffe000 - 0x93013fff com.apple.securityhi 2.0 (203) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.fr amework/Versions/A/SecurityHI
    0x93025000 - 0x930acfff com.apple.ink.framework 101.2 (69) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework /Versions/A/Ink
    0x930c0000 - 0x930cbfff com.apple.help 1.0.3 (32) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framewor k/Versions/A/Help
    0x930d5000 - 0x93102fff com.apple.openscripting 1.2.5 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting .framework/Versions/A/OpenScripting
    0x9311c000 - 0x9312bfff com.apple.print.framework.Print 5.2 (192.4) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framewo rk/Versions/A/Print
    0x93137000 - 0x9319dfff com.apple.htmlrendering 1.1.2 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering .framework/Versions/A/HTMLRendering
    0x931ce000 - 0x9321dfff com.apple.NavigationServices 3.4.4 (3.4.3) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationSer vices.framework/Versions/A/NavigationServices
    0x9324b000 - 0x93268fff com.apple.audio.SoundManager 3.9 /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.f ramework/Versions/A/CarbonSound
    0x9327a000 - 0x93287fff com.apple.CommonPanels 1.2.2 (73) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels. framework/Versions/A/CommonPanels
    0x93290000 - 0x9359efff com.apple.HIToolbox 1.4.9 (???) /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.fra mework/Versions/A/HIToolbox
    0x936ee000 - 0x936fafff com.apple.opengl 1.4.7 /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
    0x936ff000 - 0x9371ffff com.apple.DirectoryService.Framework 3.3 /System/Library/Frameworks/DirectoryService.framework/Versions/A/DirectoryServi ce
    0x93773000 - 0x93773fff com.apple.Cocoa 6.4 (???) /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa
    0x93775000 - 0x93da8fff com.apple.AppKit 6.4.7 (824.41) /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
    0x94135000 - 0x941a7fff com.apple.CoreData 91 (92.1) /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData
    0x941e0000 - 0x942a4fff com.apple.audio.toolbox.AudioToolbox 1.4.5 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
    0x942f6000 - 0x942f6fff com.apple.audio.units.AudioUnit 1.4 /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit
    0x942f8000 - 0x944b8fff com.apple.QuartzCore 1.4.12 /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore
    0x94502000 - 0x9453ffff libsqlite3.0.dylib /usr/lib/libsqlite3.0.dylib
    0x94547000 - 0x94597fff libGLImage.dylib /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dyl ib
    0x945a0000 - 0x945b4fff com.apple.CoreVideo 1.4 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
    0x945f9000 - 0x9463efff com.apple.bom 8.5 (86.3) /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom
    0x946c5000 - 0x946e1fff com.apple.securityfoundation 2.2 (27710) /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoun dation
    0x946f5000 - 0x94739fff com.apple.securityinterface 2.2 (27692) /System/Library/Frameworks/SecurityInterface.framework/Versions/A/SecurityInter face
    0x9475d000 - 0x9476cfff libCGATS.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCGATS.A.dylib
    0x94774000 - 0x94781fff libCSync.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib
    0x947c7000 - 0x947e0fff libRIP.A.dylib /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib
    0x94b80000 - 0x94bf1fff libstdc++.6.dylib /usr/lib/libstdc++.6.dylib
    0x94d8c000 - 0x94ebcfff com.apple.AddressBook.framework 4.0.4 (485.1) /System/Library/Frameworks/AddressBook.framework/Versions/A/AddressBook
    0x94f4e000 - 0x94f5dfff com.apple.DSObjCWrappers.Framework 1.1 /System/Library/PrivateFrameworks/DSObjCWrappers.framework/Versions/A/DSObjCWra ppers
    0x94f65000 - 0x94f92fff com.apple.LDAPFramework 1.4.1 (69.0.1) /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP
    0x94f99000 - 0x94fa9fff libsasl2.2.dylib /usr/lib/libsasl2.2.dylib
    0x94fad000 - 0x94fdcfff libssl.0.9.7.dylib /usr/lib/libssl.0.9.7.dylib
    0x94fec000 - 0x95009fff libresolv.9.dylib /usr/lib/libresolv.9.dylib
    0x95507000 - 0x95635fff edu.mit.Kerberos 5.5.23 /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos
    0x95722000 - 0x957b0fff com.apple.WebKit 419 /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit
    0x9580c000 - 0x958a2fff com.apple.JavaScriptCore 418.3 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/JavaScriptCor e.framework/Versions/A/JavaScriptCore
    0x958df000 - 0x95bebfff com.apple.WebCore 418.21 /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.frame work/Versions/A/WebCore
    0x95d74000 - 0x95d9dfff libxslt.1.dylib /usr/lib/libxslt.1.dylib
    0x95da5000 - 0x95e21fff com.apple.syncservices 2.5 (194) /System/Library/Frameworks/SyncServices.framework/Versions/A/SyncServices
    0x95fc9000 - 0x95ffbfff com.apple.PDFKit 1.0.3 /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framew ork/Versions/A/PDFKit
    0x96013000 - 0x96018fff com.apple.URLMount 2.1.3 /System/Library/PrivateFrameworks/URLMount.framework/Versions/A/URLMount
    0x96f6f000 - 0x96f8efff com.apple.vecLib 3.2.2 (vecLib 3.2.2) /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib
    0x975ff000 - 0x97624fff com.apple.speech.LatentSemanticMappingFramework 2.2 /System/Library/PrivateFrameworks/LatentSemanticMapping.framework/Versions/A/La tentSemanticMapping
    0x97a61000 - 0x97a77fff com.apple.AppleShareClient 1.5.1 /System/Library/Frameworks/AppleShareClient.framework/Versions/A/AppleShareClie nt
    0x97a81000 - 0x97abffff com.apple.AppleShareClientCore 1.5.1 /System/Library/Frameworks/AppleShareClientCore.framework/Versions/A/AppleShare ClientCore
    0x9801d000 - 0x9802bfff com.apple.DMNotification 1.0.4 (37) /System/Library/PrivateFrameworks/DMNotification.framework/Versions/A/DMNotific ation
    0x9823c000 - 0x9830dfff com.apple.QuartzComposer 1.2.4 (32.22) /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzCompose r.framework/Versions/A/QuartzComposer
    0x9838a000 - 0x9838afff com.apple.quartzframework 1.0 /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz
    0x98503000 - 0x9851bfff com.apple.slideshow 1.0.4 (1.0) /System/Library/PrivateFrameworks/Slideshow.framework/Versions/A/Slideshow
    0x988d8000 - 0x9891bfff com.apple.ISSupport 1.0.3 (16) /System/Library/PrivateFrameworks/ISSupport.framework/Versions/A/ISSupport
    0x98941000 - 0x98968fff com.apple.DotMacSyncManager 1.0.4 (155) /System/Library/PrivateFrameworks/DotMacSyncManager.framework/Versions/A/DotMac SyncManager
    0x98983000 - 0x98a2dfff com.apple.applescript 1.10.7 /System/Library/PrivateFrameworks/AppleScript.framework/Versions/A/AppleScript
    0x98a92000 - 0x98ad5fff com.apple.PAPICommon 2.5 (131) /System/Library/PrivateFrameworks/DotMacLegacy.framework/Versions/A/DotMacLegac y
    0x9a228000 - 0x9a233fff com.apple.IMFramework 3.1.4 (429) /System/Library/Frameworks/InstantMessage.framework/Versions/A/InstantMessage
    0x9a23e000 - 0x9a397fff com.apple.MessageFramework 2.1 (752.2) /System/Library/Frameworks/Message.framework/Versions/B/Message
    Power Mac G4 (dual 1GH mirror)   Mac OS X (10.4.9)  
    Power Mac G4 (dual 1GH mirror)   Mac OS X (10.4.9)  
    Power Mac G4 (dual 1GH mirror)   Mac OS X (10.4.9)  
    Power Mac G4 (dual 1GH mirror)   Mac OS X (10.4.9)  

    I saw that link you mentioned when I googled previously to comming here looking for similar issues.
    Here is Apple's example script, you can easily view it by turning on the Script menu bar in the AppleScript Utility application, then in Mail hold down the option key while accessing the script menu, Mail Scripts -> Rule Actions -> Sample Rule Action Script
    Sample Rule Action Script
    Copyright © 2003 Apple Computer, Inc.
    You may incorporate this Apple sample code into your program(s) without
    restriction. This Apple sample code has been provided "AS IS" and the
    responsibility for its operation is yours. You are not permitted to
    redistribute this Apple sample code as "Apple sample code" after having
    made changes. If you're going to redistribute the code, we require
    that you make it clear that the code was descended from Apple sample
    code, but that you've made changes.
    This script is an example of how to write an AppleScript that can be
    attached as a rule action. See Mail Help for details and Mail's
    AppleScript dictionary for the full terminology for the 'perform mail
    action with messages' handler.
    If you attach this script to a rule action, and the rule
    matches an incoming message, a dialog box will display, showing
    the name of the rule that matched and the subject of the message
    that matched. One dialog per matched message will appear.
    This is also an example of how you can write scripts that appear in the
    Scripts menu and can pass in parameters for the selected messages and/or
    mailboxes in Mail's main viewer window.
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    set theText to "This AppleScript is intended to be used as an AppleScript rule action, but is also an example of how to write scripts that act on a selection of messages or mailboxes." & return & return & "To view this script, hold down the option key and select it again from the Scripts menu."
    repeat with eachMessage in theMessages
    set theSubject to subject of eachMessage
    try
    -- If this is not being executed as a rule action,
    -- getting the name of theRule variable will fail.
    set theRuleName to name of theRule
    set theText to "The rule named '" & theRuleName & "' matched this message:"
    set theText to theText & return & return & "Subject: " & theSubject
    display dialog theText
    set theText to ""
    end try
    end repeat
    if theText is not equal to "" then
    display dialog theText buttons {"OK"} default button 1
    end if
    end tell
    end perform mail action with messages
    end using terms from
    As far as Mail being busy I've disabled, junk mail filtering, set Check for New Mail to Manually and disabled all other rules except the one that I'm trying to debug here. Additionally Mail is only configured for 2 POP mail boxes that are completely empty except for the 1 email message that would meet the rule's condition. I run the rule by right clicking on the email and then selecting Apply Rules.
    The following AppleScript works... instead of using display dialog, I create a new mail message and set the body of the message to the text I want to display... work great!
    using terms from application "Mail"
    on perform mail action with messages theMessages for rule theRule
    tell application "Mail"
    repeat with eachMessage in theMessages
    set theNewBody to subject of eachMessage & return
    set theNewBody to theNewBody & sender of eachMessage & return
    set theNewSubject to "display dialog message..."
    set newMessage to make new outgoing message with properties {subject:theNewSubject, content:theNewBody & return & return}
    tell newMessage
    set visible to true
    end tell
    end repeat
    end tell
    end perform mail action with messages
    end using terms from
    So it definitely appears to be an issue with the Display Dialog command. Makes debugging scripts kind of hard
    Thanks for your help debugging the issue. I profess I don't know how to read the crash logs, how could you tell that it was the display dialog command, causing Mail to crash? Is there any other info that is in there that could help us figure out why it only crashes about 95% of the time?
    Is there anyway to tell if this has been submitted to apple as a mail/applescript bug? But is there any know work around?
    Regards,
    -- Greg

Maybe you are looking for