[Tioga-users] Stack Smashing
Andrew Cooper
tioga at thirlmere.plus.com
Sun Jan 27 17:52:47 EST 2008
Hello all,
I've just installed my favourite plotting tools, Tioga 1.6 and Ctioga
1.6.2, under Ubuntu 7.10 ('Gutsy'). The default install of Tioga seems
to work fine (well, the tests ran OK). Ctioga's tests, however, all died
with the following opaque statement:
*** stack smashing detected ***: ruby terminated
Aborted (core dumped)
It turns out that gcc has SSP turned on by default, as packaged
currently in Ubuntu. See:
https://wiki.ubuntu.com/GccSsp
So I recompiled Tioga with -fno-stack-protector and the problem "went
away", of course. I had a very brief stab at trying to figure out where
exactly the overrun was, but with no luck. After recompiling one file at
a time without SSP, I think the problem might be in axes.c, but that's
as far as I got.
Hope this is of some use.
Regards,
--
Andrew
email: a.p.cooper at durham.ac.uk
More information about the Tioga-users
mailing list