Re: Stack Overflow
Re: Stack Overflow
- Subject: Re: Stack Overflow
- From: Christopher Nebel <email@hidden>
- Date: Mon, 01 Dec 2014 14:15:49 -0800
How do you know the problem is a stack overflow? What’s the exact text of the dialog? If it actually says “Stack overflow”, then it’s coming from AppleScript, and is — or at least should be — a trappable error. (And it has nothing to do with running out of VM space, so Activity Monitor or top(1) won’t help in diagnosing it.) Why it’s happening now and not before is a bigger question.
—Chris N.
> On Nov 13, 2014, at 11:24 AM, Stockly, Ed <email@hidden> wrote:
>
> So One of the machines had a stack overflow this morning and when I used UI
> Browser to look at the dialog, I learned that it belonged to the AppleScript
> applet.
>
> Every line in the script is inside an on error block, so it's not something
> I can trap, or use GUI scripting to clear. (I use a lot of GUI scripting
> with this to clear flash, java script and other dialogs as they come up.)
>
> I'm thinking I'm going to sample the memory on a regular basis and save it
> to log files, then, when execution is halted due to a stack overflow, I'll
> be able to see if anything seemed to get overloaded as the overflow
> approached.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden