On Wed, 30 Mar 2011, Edward Chapin wrote:
> I get a buffer overflow if I try to load extensions from the following file:
>
> http://www.physics.ubc.ca/~echapin/saturn850.sdf.gz
>
> Apologies for the size... Try running
>
> echapin@octopus:/data0/echapin/pointsource$ gaia
> saturn850.more.smurf.bolomaps
> GAIA_DIR = /stardev/bin/gaia
> *** buffer overflow detected ***: /stardev/bin/gaia/gaia_wish terminated
> ======= Backtrace: =========
> /lib/libc.so.6(__fortify_fail+0x37)[0x7fb204d73217]
> /lib/libc.so.6(+0xfe0d0)[0x7fb204d720d0]
> /lib/libc.so.6(+0xfcf87)[0x7fb204d70f87]
> ...
>
> There are 3446 2-d images in that bolomaps extension. I don't necessarily
> expect GAIA to be able to handle all of them (I seem to remember at some
> point within the last year we already had to up some static limits used by
> ARY or something like that), but it would be nice if it either failed
> gracefully, or loaded in the first N that it is capable of.
I've gone for the latter option. Rebuild GAIA and try it out.
Cheers,
Peter.
(BTW, it was ARY running out of resources).
|