Ogle CVS problem: alsa as output freezes Ogle
Karol Pietrzak <[email protected]>
| Newsgroups | gmane.comp.video.ogle.devel |
|---|---|
| Message-ID | <[email protected]> |
Hello.
I'm using Ogle from CVS 20020220 and Alsa 0.9.0 rc7 (everything is
0.9.0rc7, from kernel modules to libs). I would like to report the
using alsa as audio output causes Ogle to freeze completely at the
first second of audio.
For example, first comes the DVD warning, and all is well. Then comes
the distributor logo with some audio, which is what causes ogle to
freeze.
Ogle shows the first few frames (maybe 4 frames) and then Ogle freezes,
without ever playing a sound. The Ogle window remains with the frame
it froze at indefinitely. [OSS output works correctly, and any other
alsa app works correctly as well.]
I don't know whether the following is helpful:
# gdb --pid=`pidof ogle_audio`
GNU gdb 5.2.1
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
details.
This GDB was configured as "i586-suse-linux".
Attaching to process 21191
Reading symbols from /usr/lib/ogle/ogle_audio...done.
Reading symbols from /usr/lib/ogle/libmsgevents.so.4...done.
Loaded symbols for /usr/lib/ogle/libmsgevents.so.4
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libpthread.so.0...done.
[New Thread 1024 (LWP 21191)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/liba52.so.0...done.
Loaded symbols for /usr/lib/liba52.so.0
Reading symbols from /usr/lib/libmad.so.0...done.
Loaded symbols for /usr/lib/libmad.so.0
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
0x402d1814 in ioctl () from /lib/libc.so.6
(gdb) bt
#0 0x402d1814 in ioctl () from /lib/libc.so.6
#1 0x40097478 in __JCR_LIST__ () from /usr/lib/libasound.so.2
#2 0x40056392 in snd_pcm_hw_refine () from /usr/lib/libasound.so.2
#3 0x400541f1 in snd_pcm_hw_param_set () from /usr/lib/libasound.so.2
#4 0x400549ba in snd_pcm_hw_param_refine_multiple () from
/usr/lib/libasound.so.2
#5 0x400636fa in snd_pcm_plug_hw_refine_schange () from
/usr/lib/libasound.so.2
#6 0x400560f7 in snd_pcm_hw_refine_slave () from
/usr/lib/libasound.so.2
#7 0x40063ee2 in snd_pcm_plug_hw_refine () from /usr/lib/libasound.so.2
#8 0x40056392 in snd_pcm_hw_refine () from /usr/lib/libasound.so.2
#9 0x40052edf in snd_pcm_hw_param_set_first () from
/usr/lib/libasound.so.2
#10 0x4005467f in snd_pcm_hw_param_set_near () from
/usr/lib/libasound.so.2
#11 0x4004d9fa in snd_pcm_hw_params_set_rate_near@ALSA_0.9.0rc4 ()
from /usr/lib/libasound.so.2
#12 0x40051766 in snd_pcm_hw_params_set_rate_near@@ALSA_0.9 ()
from /usr/lib/libasound.so.2
#13 0x08051931 in set_hwparams (instance=0x805c5b0) at alsa_audio.c:81
#14 0x08050504 in ogle_ao_init (instance=0xbb80, audio_info=0xbfffc4a0)
at ogle_ao.c:64
(gdb)