kern/131506: pipes in forked procs sometimes hang under Linux emulation 2.6.16

Arno J. Klaassen arno at heho.snv.jussieu.fr
Sun Feb 8 08:00:09 PST 2009


>Number:         131506
>Category:       kern
>Synopsis:       pipes in forked procs sometimes hang under Linux emulation 2.6.16
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 08 16:00:08 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Arno J. Klaassen
>Release:        head
>Organization:
SCITO SA
>Environment:
FreeBSD m37 8.0-CURRENT FreeBSD 8.0-CURRENT #1: Sun Feb  8 02:55:14 CET 2009     toor at m37:/usr/obj/raid1/bsd/src-current/sys/SEMPRON64  amd64
>Description:


portinstall gentoo-stage3
chroot /usr/local/gentoo-stage3
emerge libIDL

it will hang on the following output :

  libIDL 0.8.11 configuration complete

  C Preprocessor: "i486-pc-linux-gnu-gcc -E"
  Standard input supported.

  bison -y -d -v 2>/dev/null ./parser.y

in a freebsd-shell all implied procs ar in ppwiat or piperd state :

# ps axlww | fgrep 410
    0  4104  1659   0  76  0  2576  1748 ppwait D+     0    0:00.03 make (gmake)
    0  4105  4104   0  76  0  3316  2548 wait   I+     0    0:00.01 /bin/sh -c bison -y -d -v 2>/dev/null ./parser.y (bash)
    0  4106  4105   0  76  0  3044  2008 ppwait D+     0    0:00.03 bison -y -d -v ./parser.y
    0  4107  4106   0  76  0  2432  1532 piperd I+     0    0:00.01 /usr/bin/m4 /usr/share/bison/m4sugar/m4sugar.m4 - /usr/share/bison/yacc.c
    0  4118  1392   0  44  0  6000  2416 -      R+     1    0:00.00 fgrep 410 (bash)


NB, for some specific input-files 'i486-linux-gcc -pipe ' exhibits
the same behaviour but most often works OK
>How-To-Repeat:

portinstall gentoo-stage3
chroot /usr/local/gentoo-stage3
emerge libIDL
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list