Re: gnat 4.1.0 stack overflow on Fedora Core 5



brian.b.mcguinness@xxxxxxxx wrote:
I made the mistake of upgrading from Fedora Core 4 to Fedora Core 5 and
now a number of programs are broken, including gnat:



This is most likely due to the default state of the exec shield.

Check out this discussion (it has pointers into the GCC forums as well)

http://sourceforge.net/forum/forum.php?thread_id=1479304&forum_id=40858

Original submitter on that thread is still convinced there is a bug. I am not so sure I would call it a bug but I understand his basic premise.
.



Relevant Pages

  • Re: 2-dimensional arrays and functions
    ... >> invokes undefined behaviour. ... > little bug is in the right place in my brains forget location. ... attempted access through those pointers or references yields ...
    (alt.comp.lang.learn.c-cpp)
  • =?UTF-8?B?UmU6IEFSTS9MaW51eDogICBJcyB0aGlzIGEgY3Jvc3MtY29tcGlsZXI=?= =?UTF-8?B?IGJ1Zz8g77yIb
    ... This is not strictly a bug.. ... Gcc got a better aliasing analysis backend recently that is more strict about the rules. ... The way around this is to cast the one of the pointers temporarily to. ...
    (comp.arch.embedded)
  • Re: Linux vs Solaris?
    ... >> doesn't know to deal properly with it shouldn't be writing such ... > is basically in the same category of dereferncing NULL pointers. ... And why dereferencing NULL pointers should be a bug? ...
    (comp.unix.programmer)
  • Re: fprintf question
    ... > libraries they had to use which dereferenced null pointers. ... a bug in one's application. ... Speaking as a programmer, I'd rather ... Solaris also does a right thing: when dereferencing NULL ...
    (comp.unix.programmer)
  • Re: Hopefully, kmalloc() will always succeed, but if it doesnt then....
    ... This is not a bug. ... All of the pointers are initialized, ... kmalloc() fails, then one of them will be set to NULL. ...
    (Linux-Kernel)