This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug ada/20753] ACATS ce3810b segfault at runtime on hppa-linux
- From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Sep 2005 12:15:15 -0000
- Subject: [Bug ada/20753] ACATS ce3810b segfault at runtime on hppa-linux
- References: <20050404191913.20753.laurent@guerby.net>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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