tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Select broken in current?



I just updated my machine to latest -current as of yesterday and noticed
mpg123 from pkgsrc stopped working. It uses a child process to buffer audio
output (19007 in the ktrace below) and when that is ready, it tells the 
parent to proceed with the decoding (the writing of 1 byte). The parent
(18830), however, returns from the select and imediately goes into error
mode, cleans up and exits - w/o even looking at the 1 byte the buffer process
has sent:

 19007      1 mpg123   CALL  write(4,0xffffffffffffb738,1)
 19007      1 mpg123   GIO   fd 4 wrote 1 bytes
       "\^B"
 19007      1 mpg123   RET   write 1, -18632/0xffffffffffffb738
 18830      1 mpg123   RET   __select50 1, -18632/0xffffffffffffb738
 18830      1 mpg123   CALL  write(2,0xffffffffffffae00,0x37)
 18830      1 mpg123   GIO   fd 2 wrote 55 bytes
       "[audio.c:538] error: Buffer process didn't initialize!\n"

I haven't recompiled the mpg123 pkg yet (not sure that would help, and don't
want to kill this testing environment).

Any ideas?

Martin


Home | Main Index | Thread Index | Old Index