public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ebotcazou at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug ada/20753] ACATS ce3810b segfault at runtime on hppa-linux
Date: Sat, 17 Sep 2005 12:15:00 -0000	[thread overview]
Message-ID: <20050917121515.14844.qmail@sourceware.org> (raw)
In-Reply-To: <20050404191913.20753.laurent@guerby.net>


------- 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


  parent reply	other threads:[~2005-09-17 12:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-04 19:19 [Bug ada/20753] New: " laurent at guerby dot net
2005-04-05  1:58 ` [Bug ada/20753] " danglin at gcc dot gnu dot org
2005-09-16 18:15 ` laurent at guerby dot net
2005-09-16 18:29 ` christian dot joensson at gmail dot com
2005-09-16 18:48 ` christian dot joensson at gmail dot com
2005-09-16 18:50 ` ebotcazou at gcc dot gnu dot org
2005-09-17 12:08 ` christian dot joensson at gmail dot com
2005-09-17 12:15 ` ebotcazou at gcc dot gnu dot org [this message]
2005-09-17 12:17 ` [Bug ada/20753] ACATS ce3810b segfault at runtime on hppa and sparc-linux laurent at guerby dot net
2005-09-17 12:28 ` ebotcazou at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20050917121515.14844.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).