Subject: Signal problems with -current on Sparc
To: None <>
From: Tom Ivar Helbekkmo <>
List: current-users
Date: 10/12/1998 21:28:08
The recent signal handling changes haven't come out quite right on the
Sparc.  The following little test program works fine on /i386-current,
but dumps core on /sparc-current.  Both systems are built from source
tar balls dated 1998-10-03.

#include <signal.h>
#include <stdio.h>
#include <setjmp.h>

sigjmp_buf jbuf;

void handler()
  siglongjmp(jbuf, 1);

int main (int argc, char **argv) {
  if (sigsetjmp(jbuf, 1) != 0) {
    fprintf(stderr, "SIGQUIT received\n");
    return 0;
  signal(SIGQUIT, handler);
  kill(0, SIGQUIT);
  return 0;

Popularity is the hallmark of mediocrity.  --Niles Crane, "Frasier"