[Tioga-users] Weird memory leaking?

Bill Paxton paxton at kitp.ucsb.edu
Mon Dec 17 18:34:15 EST 2007


Hi Ken,

On Dec 17, 2007, at 1:21 PM, Ken Shen wrote:
> 2007-12-17 13:16:34.903 osascript[6865:10b] *** _NSAutoreleaseNoPool 
> ():
> Object 0x128890 of class NSPathStore2 autoreleased with no pool in  
> place -
> just leaking
> Stack: (0x91f3e27f 0x91e4cb67 0x91e545bf 0x91e540be 0x91e58b6b 0xc58e6
> 0xc5b5b 0x946c4f97 0x946c52f6 0x925a6c74 0x92598668 0x925a17de  
> 0x925a45ab
> 0x952c002f 0x2241be 0x227e41 0x228004 0x20fc81 0x20ff4b 0x20ffe9  
> 0x207a71
> 0x92c75ef5 0x946c3168 0x223708 0x223826 0x222bfd 0x222fc1 0x22390d
> 0x92c75ef5 0x946d4312 0x946cc0d8 0x946cc85d 0x2088)
>


This is a leak from the Apple Scripting program -- on the mac, the  
default pdf viewer, called Preview,
has the nasty feature of not refreshing the image of an already-open  
file when it is called from the
shell to (re)open it.   To get around that, we have a script that  
gets Preview to do a "Revert" along with
the open.  The script seems to have triggered a bug in the new OSX  
version of AppleScripts.

Two possible "solutions" --
(1) disable the script and do "Revert" by hand as necessary, or
(2) ignore the error messages and wait for Apple to fix the bug.

To disable the script, open your ~/.tiogainit and change pdf_viewer  
from 'repreview' to 'open'.

Good luck!

BTW: you might want to be really brave and try the Mac GUI for Tioga:
http://theory.kitp.ucsb.edu/~paxton/Tioga-1.5.dmg

Cheers,
Bill

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/tioga-users/attachments/20071217/d58f3050/attachment.html 


More information about the Tioga-users mailing list