[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Openexr-devel] Re: Mac stuff
From: |
Jo Meder |
Subject: |
[Openexr-devel] Re: Mac stuff |
Date: |
Sun, 13 Apr 2003 00:03:10 +1200 |
Hi Paul,
Paul wrote:
> > It is interesting why it doesn't work, because I haven't yet come
> > across
> > anything ( not platform dependant ) that just flat out won't work on OS
> > 9. To my mind OS 9's big disadvantage all these years ( really, I mean
> > classic Mac OS rather than simply OS 9 ) has been memory related
> > issues.
>
> Actually, it is a memory-related issue: It looks like the problem is
> that IlmImfTest is running out of stack space on OS 9.
Of course, duh, that would normally be something I'd check. Brain seizure...
<snip>
> Stack-heap collisions are the most
> common cause of old-style OS 9 lockups in my experience, although
> they're usually caused by infinite recursion rather than large one-time
> stack allocations.
Indeed, I've seen it many times myself.
<snip>
> Hopefully, I've provided a solution. If you don't want to change the
> stack size, you could change testLut.cpp to allocate the HalfLut in the
> heap using a std::auto_ptr - this is the approach we took in the core
> EXR library (see IlmImfPizCompressor.C).
You have, thanks. I will keep this in mind when using OpenEXR, although
generally I allocate anything of any size on the heap anyway.
> The CFM targets will stick around for awhile, I think - many popular
> image processing programs are still CFM on the Mac.
Great.
Regards,
Jo
--
Jo Meder
Planetside Software
address@hidden
Terragen for Macintosh
Photorealistic landscapes on your Mac
<http://www.planetside.co.uk/terragen/mac/>