public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "dave at hiauly1 dot hia dot nrc dot ca" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug other/31827] limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth failure
Date: Wed, 23 May 2007 23:53:00 -0000	[thread overview]
Message-ID: <20070523235317.10343.qmail@sourceware.org> (raw)
In-Reply-To: <bug-31827-276@http.gcc.gnu.org/bugzilla/>



------- Comment #3 from dave at hiauly1 dot hia dot nrc dot ca  2007-05-24 00:53 -------
Subject: Re:  limits-exprparen.c: Pid 2297 received a SIGSEGV for stack growth
failure

> This test runs fine on my IA64 HP-UX and Linux boxes and on my HPPA HP-UX boxes
> where I have increased the stack size.  If I change the test case to do more
> nesting, I can get it to fail.

For the record, these are the limits on the machine where I saw
the failure:

-bash-2.05b$ ulimit -a
core file size        (blocks, -c) 2097151
data seg size         (kbytes, -d) 786432
file size             (blocks, -f) unlimited
max memory size       (kbytes, -m) unlimited
open files                    (-n) 256
pipe size          (512 bytes, -p) 16
stack size            (kbytes, -s) 16384
cpu time             (seconds, -t) unlimited
max user processes            (-u) 76
virtual memory        (kbytes, -v) unlimited

I believe the stack size limit is double the default value.  The machine
has 7 GB of memory, so I doubt swap is an issue.

It's my personal belief that nesting routines to great depths
is bad design.  It makes debugging nearly impossible.  It's
possible we are hurt on hppa64 because the argument pointer isn't
a fixed register and this prevents the sibcall optimization
from occurring.

Dave


-- 


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


  parent reply	other threads:[~2007-05-23 23:53 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-04 23:03 [Bug other/31827] New: " danglin at gcc dot gnu dot org
2007-05-07  1:29 ` [Bug other/31827] " pinskia at gcc dot gnu dot org
2007-05-23 21:19 ` sje at cup dot hp dot com
2007-05-23 23:53 ` dave at hiauly1 dot hia dot nrc dot ca [this message]
2008-12-29  7:27 ` pinskia at gcc dot gnu dot org
2008-12-29  7:27 ` [Bug middle-end/31827] " pinskia at gcc dot gnu dot org
2009-07-23  6:53 ` ubizjak at gmail dot com
2009-11-03 10:23 ` bonzini at gnu dot org
2009-11-03 12:23 ` bonzini at gnu dot org
2009-11-03 18:59 ` bonzini at 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=20070523235317.10343.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).