Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 1996 16:52:58 +1100 (EST)
From:      dawes@physics.usyd.edu.au
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        dawes@physics.usyd.edu.au
Subject:   ports/2204: Team can hang when stderr is a file
Message-ID:  <199612130552.QAA10241@landfill.physics.usyd.edu.au>
Resent-Message-ID: <199612130600.WAA21488@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         2204
>Category:       ports
>Synopsis:       Team can hang when stderr is a file.
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Dec 12 22:00:01 PST 1996
>Last-Modified:
>Originator:     David Dawes
>Organization:
University of Sydney, Australia
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:
>Description:

I've seen team hang when stderr is a file.  'top' reports that it is
stuck in lockf.

>How-To-Repeat:

Run team with stderr set to a file.  Sometimes it hangs.

>Fix:
	
I haven't looked into this very deeply, but #undef'ing F_SETLKW seems to
avoid the problem.  This is already done for SunOS (maybe for the same
reason?).


*** team.c.ORIG	Fri Dec 13 16:26:50 1996
--- team.c	Fri Dec 13 16:28:14 1996
***************
*** 94,99 ****
--- 94,103 ----
  # undef F_SETLKW
  #endif
  
+ #ifdef __FreeBSD__
+ # undef F_SETLKW
+ #endif
+ 
  #if (PCG)
  # include "Extend.h"
  # include "Here.h"
>Audit-Trail:
>Unformatted:




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199612130552.QAA10241>