Re: osascript crashed and burned getting raw source of huge email attachments
Re: osascript crashed and burned getting raw source of huge email attachments
- Subject: Re: osascript crashed and burned getting raw source of huge email attachments
- From: fortepianissimo <email@hidden>
- Date: Fri, 19 Mar 2004 23:30:26 -0800 (PST)
>
>I'd really like someone from Apple to take a look at this problem.
I'm
>
>willing to send a message with attachment that proved (at least on
two
>
>different Mac/Panther) to be able to crash osascript to whomever
>
>interested. Please send me email if you'd like to take a look at the
>
>test message and the simple testGetSrc.scpt.
>
>(BTW I'm the developer of JunkMatcher - I knew this problem from
>
>reports of several users)
>
I can't test it because I don't use Mail. (Ick.)
>
Where *exactly* does the failure occur? (Which line of the program?)
>
Is it a Mail.app failure, or can you reproduce it by getting the same
>
large data from elsewhere (such as from a file)?
I'm not sure if it's AppleScript's error or Mail's error - but my hunch
is the former. The odd thing is the same script, when run in Script
Editor, it works fine (get the raw source from the selected mail and
dump it as string to a file). But when run using osascript, it seg
fault.
I've tested with several arrangement of different picture attachments,
and so far it seems that if the size is over 2.3MB I got a seg fault.
What made it worse, is that whenever a crash occurs, the script itself
is corrupted somehow - subsequent run using the same script will almost
always produce seg fault.
(why on earth the script itself needs to be modified whenever it's run?
is it ok to chmod u-w on the file? will I still get the same
functionality from the script?)
__________________________________
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
http://taxes.yahoo.com/filing.html
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.