From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 28608 invoked from network); 28 Apr 1998 14:25:33 -0000 Received: from mea.tmt.tele.fi (root@194.252.70.2) by mail2.redhat.com with SMTP; 28 Apr 1998 14:25:33 -0000 Received: by mea.tmt.tele.fi id <92207-30361>; Tue, 28 Apr 1998 17:24:41 +0300 Subject: glibc 2.0.7-4 and pause() have problems To: axp-list@redhat.com Date: Tue, 28 Apr 1998 17:24:41 +0300 (EEST) Cc: linux-kernel@vger.rutgers.edu From: Matti Aarnio Phone: +358-20402082 (office, with redirection to cellular) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <19980428142445Z92207-30361+14@mea.tmt.tele.fi> 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 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