public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* other/6760: Large array in class causes sigsegv at init
@ 2002-05-21 13:06 don_reid
0 siblings, 0 replies; 2+ messages in thread
From: don_reid @ 2002-05-21 13:06 UTC (permalink / raw)
To: gcc-gnats
>Number: 6760
>Category: other
>Synopsis: Large array in class causes sigsegv at init
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue May 21 13:06:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator: Don Reid
>Release: gcc version 2.95.4 20011002 (Debian prerelease)
>Organization:
>Environment:
Debian - Woody
>Description:
Large array in class causes sigsegv.
I don't know if it is an error that the compiler did not complain, or that the _start code did not check.
>How-To-Repeat:
compile and run
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.cpp"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.cpp"
Y2xhc3MgYmlnX2ZyYW1lIHsKICAgIHB1YmxpYzoKCWludCBidWZbNDA5NiAqIDEwMjRdOwp9OwoK
bWFpbigpIHsKCWJpZ19mcmFtZSBmcmFtZTsKCglmcmFtZS5idWZbMF0gPSAwOwp9Cg==
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: other/6760: Large array in class causes sigsegv at init
@ 2002-05-22 5:15 jakub
0 siblings, 0 replies; 2+ messages in thread
From: jakub @ 2002-05-22 5:15 UTC (permalink / raw)
To: don_reid, gcc-bugs, gcc-prs, nobody
Synopsis: Large array in class causes sigsegv at init
State-Changed-From-To: open->closed
State-Changed-By: jakub
State-Changed-When: Wed May 22 05:15:13 2002
State-Changed-Why:
This is not a compiler bug.
You triggered a stack limit when you build a 16MB object
on the stack, while the usual stack limit is 8MB.
Retry after ulimit -Ss 32768
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=6760
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-05-22 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-05-21 13:06 other/6760: Large array in class causes sigsegv at init don_reid
2002-05-22 5:15 jakub
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).