glibc 2.0.7-4 and pause() have problems

Matti Aarnio (matti.aarnio@sonera.fi)
Tue, 28 Apr 1998 17:24:41 +0300 (EEST)


Hello,

I wondered why screen-3.7.4 (per RedHat 5.0 for Alpha)
does crash in strange manner.

With lots of debugging (amongst which I found out that
dynamic loading of -lcrypt causes indigestion problems
for the current gdb when I try to debug the 'screen'
binary..) I came to conclusion that the pause() call
in glibc-2.0.7-6 is the culprit..

I then altered code around the relevant call point in
the screen program, and now it has been very stable
indeed.

Anybody with knowledge about glibc 2.0.7 bugs ? Is this
known one ?

/Matti Aarnio <matti.aarnio@sonera.fi>

Program received signal SIGHUP, Hangup.
__sigsuspend () at ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42
.../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42: No such file or
directory.
Current language: auto; currently asm
(gdb) where
#0 __sigsuspend () at ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:42
#1 0x200003abb10 in __sigpause () at ../sysdeps/posix/sigpause.c:56
#2 0x200003fd948 in __libc_pause () at ../sysdeps/unix/common/pause.c:29
#3 0x1200256c8 in Attacher () at attacher.c:552
#4 0x120004b64 in main () at screen.c:1108

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu