Re: A fifo and signal bug

Alex Buell (alex.buell@tahallah.demon.co.uk)
Sat, 21 Nov 1998 13:21:38 -0500 (EST)


On Fri, 20 Nov 1998, H.J. Lu wrote:

> The testcase has just straight system calls. I don't think
> glibc is involved here. It failed with libc 5.4.46, glibc
> 2.0 and glibc 2.1 on linux 2.1.129.

System information as in signature.
Here's the ltrace output:

tahallah[alex]:/home/alex/src/test > ltrace a.out
__libc_start_main(0x080487f4, 1, 0xbffff744, 0x0804854c, 0x080497c4
<unfinished ...>
unlink("test.fifo") = -1
mkfifo("test.fifo", 0777) = 0
fork() = 1712
sleep(5) = 0
kill(1712, 20) = 0
--- SIGCHLD (Child exited) ---
sleep(5) = 0
open("test.fifo", 2049, 03260) = -1
perror("parent: open") = <void>
parent: open: Device not configured
kill(1712, 9) = 0
--- SIGCHLD (Child exited) ---
waitpid(1712, 0xbffff6f0, 2, 1712, 0) = 1712
unlink("test.fifo") = 0
+++ exited (status 176) +++
tahallah[alex]:/home/alex/src/test > ltrace a.out 1
__libc_start_main(0x080487f4, 2, 0xbffff724, 0x0804854c, 0x080497c4
<unfinished ...>
unlink("test.fifo") = -1
mkfifo("test.fifo", 0777) = 0
atoi(0xbffff85a, 0xbffff6d8, 0x0804873a, 0x0804a844, 0x0804a858) = 1
fork() = 1715
sleep(5) = 0
open("test.fifo", 2049, 03263 <unfinished ...>
--- SIGCHLD (Child exited) ---
<... open resumed> ) = 4
waitpid(1715, 0xbffff6d0, 2, 1715, 1) = 1715
close(4) = 0
unlink("test.fifo") = 0
+++ exited (status 179) +++

Cheers,
Alex

--
 /\_/\  Legalise cannabis now! 
( o.o ) Grow some cannabis today!
 > ^ <  Peace, Love, Unity and Respect to all.

http://www.tahallah.demon.co.uk - *new* - rewritten for text browser users!

Linux tahallah 2.1.129 #63 SMP Thu Nov 19 19:13:09 EST 1998 Two Intel Pentium Pro 166MHz processors, 331.78 total bogomips, 48M RAM System library 2.0.102

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/