I just downloaded and compiled asd. It took me a few
hours to find all the right libraries that it needs for
compilation, but I managed and it finally compiled and
installed fine.
When I run 'asd-sink-oss', it seems to work properly,
and it waits for a connection.
But as soon as I try to play a sound using any method
(sine 440 | asdcat, mpg123 -s test.mp3 | asdcat, etc.),
asd immediately segfaults:
** Message: Starting.
** Message: DSP: Capabilities are 'DUPLEX REALTIME
TRIGGER MMAP'.
** Message: DSP: Fragment settings wanted: 4 * 8192b
** Message: DSP: Actual fragment settings for write: 4
* 8192b
** Message: AUDIO: Memory mapping of playback buffer
failed. Falling back to write().
** Message: UNIX: Successfully created server socket
'/root/.asd-ng/paul.sink.4958'.
** Message: INET: Success created server socket on port
4700.
** Message: Native sample type is 16 bit, signed,
little endian, stereo, 44100 Hz
** Message: UNIX: Connection recieved.
** Message: CLIENT: Added client 0x80703d8.
** Message: PACKET: Client 0x80703d8 (asdcat) welcomed us.
** Message: CLIENT|OUTPUT: Created simple buffer with
size 65536.
** Message: PACKET: Client 0x80703d8 (asdcat) enabled
CSM_SIMPLE for output.
** Message: PACKET: Requesting prebuf for client 0x80703d8.
** Message: CLIENT: Prebuffering ended for client
0x80703d8 (10240).
** Message: MIXER: Audio has modifyable buffer of 0 bytes.
** Message: MIXER: No rewinding possible.
** Message: MIXER: Mixing 1 clients.
** Message: AUDIO: start
** ERROR **: file simple.c: line 103
(simple_buffer_advance): assertion failed: (l <=
c->simple.length)
aborting...
Trace/breakpoint trap
I installed libshbuf version 0.0.2 and libsample from CVS.
Logged In: YES
user_id=83339
** FYI **
I noticed this only occurs when I use 'asd-sink-oss'. I
have ALSA drivers installed for my sound card and OSS
emulation enabled. When I use 'asd-sink-alsa', asd works
fine and it doesn't crash.
I use OSS emulation a lot and I've never had any problems
with any other applications that play sound via the OSS
emulation drivers.
Logged In: YES
user_id=83339
Silly me, I didn't mention the version of asd I was using!
It got it from CVS May 26 at 22:10. I hope this is helpful.