Hi,
I'm hoping someone can shed some light on a problem I've having. I'm
running Mozart 1.3.2 under Mac OS X 10.4.11, and my stand-alone app
seems to block/hang when loading a particular pickled file. However,
I am able to load the same file successfully when running the command
by feeding a buffer. To illustrate, the first example below hangs
after printing tmpHere2#testing, while the second runs to completion
just fine. The first example runs fine under Linux. (The 00-22+.ds
file is quite large, almost 33M, in case that matters).
Irene
%%%%%%First Example, executed from command-line after being compiled with ozc -x
functor
import Pickle System Application
define
Show=System.show
{Show tmpHere}
{Pickle.save testing '/Users/ilg10/Documents/tagger/data/Apr07/00-33+.ds'}
{Show tmpHere1}
T={Pickle.load '/Users/ilg10/Documents/tagger/data/Apr07/00-33+.ds'}
{Show tmpHere2#T}
Tmp={Pickle.load '/Users/ilg10/Documents/tagger/data/Apr07/00-22+.ds'}
{Show tmpDone#Tmp.2.word}
{Application.exit 0}
end
%%%%%%% Second Example, executed by feeding the buffer
declare
{Show tmpHere}
{Pickle.save testing '/Users/ilg10/Documents/tagger/data/Apr07/00-33+.ds'}
{Show tmpHere1}
T={Pickle.load '/Users/ilg10/Documents/tagger/data/Apr07/00-33+.ds'}
{Show tmpHere2#T}
Tmp={Pickle.load '/Users/ilg10/Documents/tagger/data/Apr07/00-22+.ds'}
{Show tmpDone#Tmp.2.word}
_________________________________________________________________________________
mozart-users mailing list
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users