Stack damage compiling under IRIX with MIPSpro

2 views
Skip to first unread message

SimonB

unread,
Apr 24, 2008, 7:49:21 AM4/24/08
to OpenJPEG
Hi,
I've noticed some stack damage when compiling with SGI's MIPSpro
compiler. This manifests itself as an encoding time of 0.0 seconds,
but it goes a bit deeper than that.

Somewhere towards the end of tcd_malloc_encode() is where the damage
is taking place. When encoding 1920x1080 images with the cinema2k
profile, precno gets to 17 (of 40) and then the inner loop causes the
problem at 12 (of 16). Verified by linking in duma (previously
Electric Fence)

This isn't happening with gcc or Intel cc under Linux x86. My guess at
this point is an assumption being made about size.


Before I spend more time on it, has anyone else seen this or written a
patch?

Thanks
Simon
Reply all
Reply to author
Forward
0 new messages