Subject: kern/30515: "cda" program gets stuck while opening a named pipe
To: None <kern-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: Matthias Scheler <tron@colwyn.zhadum.de>
List: netbsd-bugs
Date: 06/13/2005 17:37:00
>Number:         30515
>Category:       kern
>Synopsis:       "cda" program gets stuck while opening a named pipe
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 13 17:37:00 +0000 2005
>Originator:     Matthias Scheler
>Release:        NetBSD 3.99.6 2005-06-13 sources
>Organization:
Matthias Scheler                                  http://scheler.de/~matthias/
>Environment:
System: NetBSD lyssa.zhadum.de 3.99.6 NetBSD 3.99.6 (LYSSA) #0: Mon Jun 13 10:51:11 BST 2005 tron@lyssa.zhadum.de:/src/sys/compile/LYSSA i386
Architecture: i386
Machine: i386

>Description:

The "cda" program (part of the "xmcd" package) now longer works under
NetBSD-current. It gets stuck while opening a named pipe:

 12391 cda      CALL  open(0x809d3c0,0x100,0xbfbfe068)
 12391 cda      NAMI  "/tmp/.cdaudio/send.f0b"
 12391 cda      RET   open -1 errno 4 Interrupted system call
 12391 cda      PSIG  SIGINT SIG_DFL

The named pipe looks fine:

prw-------  1 tron  wheel  0 Jun 13 18:24 /tmp/.cdaudio/send.f0b

The same code works fine under NetBSD 3.0_BETA on a macppc system
and earlier version of NetBSD-current on the same system.

>How-To-Repeat:
cd pkgsrc/audio/xmcd
make install
/usr/pkg/bin/cda -dev /dev/rcd0d on

>Fix:
None provided.