This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug ada/20753] ACATS ce3810b segfault at runtime on hppa-linux


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-09-17 12:15 -------
> Program received signal SIGSEGV, Segmentation fault.
> 0x00015540 in system.secondary_stack.ss_release (m=) at s-secsta.adb:477
> Current language:  auto; currently ada
> (gdb) bt
> #0  0x00015540 in system.secondary_stack.ss_release (m=) at s-secsta.adb:477
> #1  0x00027a1c in _ada_ce3810b ()
> #2  0x00011c9c in main ()

The stack is trashed because a routine of the runtime writes one byte past the
end of the slot it is passed.  Recompile the runtime without -gnatp and you will
see a nice CONSTRAINT_ERROR.

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20753


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]