Bug#406798: Segmentation fault when sound card in use
Gnaural
gnaural at users.sourceforge.net
Fri Apr 27 13:05:32 UTC 2007
My sound card:
00:1e.2 Multimedia audio controller: Intel Corporation
82801G (ICH7 Family) AC'97 Audio Controller (rev 01)
Running the standard test program patest_sine (taken
from a current PortAudio snapshot), using the current
debian unstable portaudio libs 19+svn20070125-1
segfaults:
debio:~/src/portaudio$ bin/.libs/patest_sine
PortAudio Test: output sine wave. SR = 44100, BufSize
= 64
Segmentation fault
debio:~/src/portaudio$
Running gdb produced this extra info:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211468096 (LWP 27428)]
main () at ./test/patest_sine.c:122
122 outputParameters.suggestedLatency =
Pa_GetDeviceInfo( outputParameters.device
)->defaultLowOutputLatency;
Running same by trading out
/usr/lib/libportaudio.so.2.0.0
/usr/lib/libportaudio.so.2
with same provided in the latest portaudio snapshot
(http://www.portaudio.com/download.html) works fine.
Basically, i think the solution is simply upgrading to
the latest snapshot. The problem with PortAudio 19
with ALSA is that you really need the latest snapshot
for it to deal properly with dmix (the way ALSA apps
share sound card ports when there is no available
hardware mixing); their offered "stable" version
doesn't seem to handle dmix at all, and I get the
sense that the version currently in Unstable
(20070125) was still kind of shaky on it.
More information about the Pkg-voip-maintainers
mailing list