Bruno Haible bruno at clisp.org writes:
Here's the minimal patch needed to CVS libsigsegv to expose the bug, as
well as work around it for Irix 5.3.
Nice work! I'm applying this only slightly modified version.
- In the configuration test, keep room to both sides of the ss_sp value.
ad73682838ae0e66832aad97a8fbc5fb935130c6 Mon Sep 17 00:00:00 2001
From: Eric Blake [EMAIL PROTECTED]
Date: Tue, 23 Sep 2008 08:47:26 -0600
Subject: [PATCH] c-stack: work around Irix sigaltstack bug
* m4/c-stack.m4 (AC_SYS_XSI_STACK_OVERFLOW_HEURISTIC): Check
whether sigaltstack uses wrong end of stack_t (copied in part from
Hi Eric,
- In the configuration test, keep room to both sides of the ss_sp value.
On IRIX, we don't want the test to crash. We want it to exit(1)
reasonably.
We need to do this consistently, then. The subsequent configure check
(whether
longjmp works from a stack overflow
On Mon, Sep 22, 2008 at 12:01:23AM +0200, Bruno Haible wrote:
Tom G. Christensen wrote:
cc-3316 cc: ERROR File = handler-unix.c, Line = 490
The expression must be a pointer to a complete object type.
ss.ss_sp = extra_stack + extra_stack_size - sizeof (void *);
Hi Eric,
Here's the minimal patch needed to CVS libsigsegv to expose the bug, as
well as work around it for Irix 5.3.
Nice work! I'm applying this only slightly modified version.
- In the configuration test, keep room to both sides of the ss_sp value.
On IRIX, we don't want the test to
On Sun, Sep 21, 2008 at 04:03:54PM +0200, Bruno Haible wrote:
Hi Eric,
Here's the minimal patch needed to CVS libsigsegv to expose the bug, as
well as work around it for Irix 5.3.
Nice work! I'm applying this only slightly modified version.
- In the configuration test, keep room to
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Tom G. Christensen on 9/21/2008 2:30 PM:
cc-3316 cc: ERROR File = handler-unix.c, Line = 490
The expression must be a pointer to a complete object type.
ss.ss_sp = extra_stack + extra_stack_size - sizeof (void *);
In message [EMAIL PROTECTED], Eric Blake writes:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Tom G. Christensen on 9/21/2008 2:30 PM:
cc-3316 cc: ERROR File = handler-unix.c, Line = 490
The expression must be a pointer to a complete object type.
ss.ss_sp = extra_stack
Tom G. Christensen wrote:
I grabbed this and tried to build it on Irix 5.3, 6.2 6.5(.30m).
All 3 platforms report:
checking for correct stack_t interpretation... no
Even IRIX 6.5?! Thanks for the info.
cc-3316 cc: ERROR File = handler-unix.c, Line = 490
The expression must be a pointer
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
According to Eric Blake on 9/16/2008 4:50 PM:
I've finally figured out why c-stack is being finicky on Irix 5.3 [1]. POSIX
requires that sigaltstack be given ss_sp pointing to the smallest address in
the alternate stack. But Irix is
I've finally figured out why c-stack is being finicky on Irix 5.3 [1]. POSIX
requires that sigaltstack be given ss_sp pointing to the smallest address in
the alternate stack. But Irix is non-compliant, and treats ss_sp as the
starting address of the stack (which, since it grows down, makes it
still working on a patch that makes lib/signal.in.h add
the #define for sa_sigaction if HAVE_SIGACTION
!HAVE_STRUCT_SIGACTION_SA_SIGACTION. I'll post a snapshot for you to try
once I get it completed.
Now that you've fixed this I've run the tests from the latest gnulib
c-stack module on Irix
12 matches
Mail list logo