Subject: Re: pkg/18964 (SDL audio hangs parent thread when using esd)
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: pkgsrc-bugs
Date: 09/25/2006 13:05:04
The following reply was made to PR pkg/18964; it has been noted by GNATS.

From: Joerg Sonnenberger <joerg@britannica.bec.de>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/18964 (SDL audio hangs parent thread when using esd)
Date: Mon, 25 Sep 2006 15:03:17 +0200

 On Mon, Sep 25, 2006 at 03:00:04AM +0000, Cliff Wright wrote:
 >  @@ -759,6 +761,7 @@
 >         */
 >  
 >         /* Execute the player command */
 >  +      for(i = 0; i < 20; i++) close(i);
 >         if (execv(player_name, player_args) == -1)
 >         {
 >           /* Log the error */
 
 I guess one of the open descriptors it set back from non-blocking.
 The above is certainly not correct code (a program can somewhat expect
 0-2 to be valid decsriptors, but it hints to the real problem).
 
 Joerg