[Tioga-users] Stack Smashing

Vincent Fourmond fourmond at gmail.com
Mon Jan 28 03:19:47 EST 2008


  Hello,

On Jan 27, 2008 11:52 PM, Andrew Cooper <tioga at thirlmere.plus.com> wrote:
> 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.

  Another user also encountered the problem, but we couldn't track it
to its source. I thought I had tried every single gcc option
available, but I missed this one. I'll have a look at that, and I'll
forward a patch to the mailing list -- we might actually even release
a new version (there has been lots of things going on since the last
one).

  Thanks !

      Vincent


More information about the Tioga-users mailing list