Pike hangs on checking if signal handlers reset automatically
Imported from http://bugzilla.roxen.com/bugzilla/show_bug.cgi?id=262
Reported by Honza Petrous hop@unibase.cz
Solaris SPARC 2.6, Sparcstation 1
Configure hangs on "checking if signal handlers reset automatically...".
sunny[/]# uname -a
SunOS sunny 5.6 Generic_105181-12 sun4c sparc SUNW,Sun_4_60
sunny[/]# ps -ft pts/5
UID PID PPID C STIME TTY TIME CMD
root 18523 18522 0 10:28:09 pts/5 0:02 ./conftest
root 15004 11234 0 10:01:14 pts/5 0:51 /bin/sh ./configure
root 18522 15004 0 10:28:09 pts/5 0:00 /bin/sh ./configure
root 11234 11231 0 14:18:45 pts/5 0:04 tcsh
sunny[/]# truss -p 18523
Received signal #14, SIGALRM, in lwp_sema_wait() [caught]
lwp_sema_wait(0xEF6984D8) Err#91 ERESTART
sigprocmask(SIG_SETMASK, 0xEF39CE2C, 0x00000000) = 0
lwp_sema_post(0x00021D70) = 0
lwp_sema_wait(0x00021D70) = 0
lwp_mutex_unlock(0xEF69B1C8) = 0
lwp_mutex_lock(0xEF69B1C8) = 0
setitimer(ITIMER_REAL, 0xEF39C888, 0x00000000) = 0
setcontext(0xEF39C820)
sigprocmask(SIG_BLOCK, 0xEF6984C8, 0x00000000) = 0
setitimer(ITIMER_REAL, 0xEF39CCD0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xEF6984C8, 0x00000000) = 0
Received signal #14, SIGALRM, in lwp_sema_wait() [caught]
lwp_sema_wait(0xEF6984D8) Err#91 ERESTART
sigprocmask(SIG_SETMASK, 0xEF39CE2C, 0x00000000) = 0
lwp_sema_post(0x00021D70) = 0
lwp_sema_wait(0x00021D70) = 0
setcontext(0xEF39C820)
lwp_sema_post(0xEF6984D8) = 0
sigprocmask(SIG_BLOCK, 0xEF6984C8, 0x00000000) = 0
setitimer(ITIMER_REAL, 0xEF39CCD0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xEF6984C8, 0x00000000) = 0
lwp_sema_wait(0xEF6984D8) = 0
sigprocmask(SIG_BLOCK, 0xEF6984C8, 0x00000000) = 0
setitimer(ITIMER_REAL, 0xEF39CCD0, 0x00000000) = 0
sigprocmask(SIG_UNBLOCK, 0xEF6984C8, 0x00000000) = 0
Received signal #14, SIGALRM, in lwp_sema_wait() [caught]
lwp_sema_wait(0xEF6984D8) Err#91 ERESTART
sigprocmask(SIG_SETMASK, 0xEF39CE2C, 0x00000000) = 0
[ ... and so on ...]
/Honza