public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/39306] New: -fstack-check + large frame == SIGSEGV
@ 2009-02-25 17:47 ppluzhnikov at google dot com
2009-02-25 17:56 ` [Bug middle-end/39306] " pinskia at gcc dot gnu dot org
2009-02-26 8:17 ` ebotcazou at gcc dot gnu dot org
0 siblings, 2 replies; 3+ messages in thread
From: ppluzhnikov at google dot com @ 2009-02-25 17:47 UTC (permalink / raw)
To: gcc-bugs
Discovered as a failure of GDB test:
FAIL: gdb.base/stack-checking.exp: continue to breakpoint: breakpoint for big
frame
With current SVN head @144426:
/* t.c */
void foo() { char buf[524188]; }
int main() { foo(); return 0; }
i686-unknown-linux-gnu-gcc t.c -fstack-check && ./a.out
Segmentation fault
AFAICT, this is a regression from 4.3.1
Problem also happens in x86_64-unknown-linux-gnu.
Minimal size to crash appears to be about 57058.
--
Summary: -fstack-check + large frame == SIGSEGV
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: ppluzhnikov at google dot com
GCC build triplet: i686-unknown-linux-gnu
GCC host triplet: i686-unknown-linux-gnu
GCC target triplet: i686-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39306
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/39306] -fstack-check + large frame == SIGSEGV
2009-02-25 17:47 [Bug c/39306] New: -fstack-check + large frame == SIGSEGV ppluzhnikov at google dot com
@ 2009-02-25 17:56 ` pinskia at gcc dot gnu dot org
2009-02-26 8:17 ` ebotcazou at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-02-25 17:56 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from pinskia at gcc dot gnu dot org 2009-02-25 17:56 -------
fstack-check is known to be broken on x86 GNU/Linux, see PR 13757.
So I don't think this is a regression even.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39306
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug middle-end/39306] -fstack-check + large frame == SIGSEGV
2009-02-25 17:47 [Bug c/39306] New: -fstack-check + large frame == SIGSEGV ppluzhnikov at google dot com
2009-02-25 17:56 ` [Bug middle-end/39306] " pinskia at gcc dot gnu dot org
@ 2009-02-26 8:17 ` ebotcazou at gcc dot gnu dot org
1 sibling, 0 replies; 3+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2009-02-26 8:17 UTC (permalink / raw)
To: gcc-bugs
------- Comment #2 from ebotcazou at gcc dot gnu dot org 2009-02-26 08:16 -------
> fstack-check is known to be broken on x86 GNU/Linux, see PR 13757.
Yes, the current implementation is non-functional on x86{-64}/Linux.
*** This bug has been marked as a duplicate of 13757 ***
--
ebotcazou at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ebotcazou at gcc dot gnu dot
| |org
Status|UNCONFIRMED |RESOLVED
Resolution| |DUPLICATE
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39306
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-02-26 8:17 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-25 17:47 [Bug c/39306] New: -fstack-check + large frame == SIGSEGV ppluzhnikov at google dot com
2009-02-25 17:56 ` [Bug middle-end/39306] " pinskia at gcc dot gnu dot org
2009-02-26 8:17 ` ebotcazou at gcc dot gnu dot org
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).