Sound segmentation fault

Anyone still following this thread? Sam? Ryan? Still haven’t found a fix for this bug :-/.

I’m downloading FreeBSD 5.1 isos right now to install in vmware to see
if I can reproduce the problem.

–ryan.On Fri, 2003-12-26 at 21:45, John Thorne wrote:

Anyone still following this thread? Sam? Ryan? Still haven’t found a fix for this bug :-/.

I’m downloading FreeBSD 5.1 isos right now to install in vmware to see
if I can reproduce the problem.===========

Thanks, also note that this bug appears when a system does not have an audio card. I really appreciate all the help.

Thanks again.


Juan

Thanks, also note that this bug appears when a system does not have
an audio card. I really appreciate all the help.

I couldn’t reproduce the crash, using SDL_sound’s playsound, SDL_mixer’s
playwave, and your test program. FreeBSD/x86 5.1 in vmware (without a
virtual sound device exposed), SDL_mixer 1.2.5, SDL_sound 1.0.1, and the
CVS version of SDL. In all cases, the program reports that it can’t find
an audio device and cleanly exits.

Perhaps this is broken in the version of SDL you’re using, and we’ve
since fixed it in CVS?

My installation of FreeBSD was totally default, then I used the ports
tree to install bash2, autoconf, automake, and libtool. SDL was built
from CVS, the rest was built from official tarballs.

I’m out of useful ideas for you, I’m afraid. :frowning:

–ryan.

Perhaps this is broken in the version of SDL you’re using, and we’ve
since fixed it in CVS?===

No dice :-/.

===

My installation of FreeBSD was totally default, then I used the ports
tree to install bash2, autoconf, automake, and libtool. SDL was built
from CVS, the rest was built from official tarballs.

===

Here too, with the exception that I recompiled the kernel with ‘device pcm’.

===

I’m out of useful ideas for you, I’m afraid. :frowning:

===

Just now I linked /dev/null to /dev/dsp ‘ln -s /dev/null /dev/dsp’ and that stopped sdl from core dumping. Don’t think this bug is all that major, and it should be fine as long as most users don’t use FreeBSD 5.1 ( heh ), and have an audio card welded to their system( or don’t mind their home dir littered with .core files ). Thank you very much for taking your time out to help out, and I hope you enjoy your new years celebrations.

Thanks again,


Juan

Here too, with the exception that I recompiled the kernel with ‘device pcm’.

(For completeness, I went back and did this…still can’t reproduce the
crash…)

–ryan.