[mythtv] ALSA crash with backtrace

Robert Clark mythtv at ratty.org.uk
Sat Dec 4 19:54:15 UTC 2004


I'm seeing a crash trying to open the ALSA device with the latest CVS:

2004-12-04 19:44:27.634 Stream #1 (audio track #1) is an audio stream with 2 channels.
2004-12-04 19:44:27.634 Auto-selecting audio track #1 (stream #1).
2004-12-04 19:44:27.634 It has 2 channels and we needed at least 2
2004-12-04 19:44:27.635 Initializing audio parms from stream #0.
2004-12-04 19:44:28.098 Killing AudioOutputDSP
2004-12-04 19:44:28.113 Opening audio device 'hw:0,0'.
2004-12-04 19:44:28.311 in SetParameters(format=2, channels=2, rate=48000, buffer_time=500000, period_time=125000)
2004-12-04 19:44:28.312 get_buffer_size returned 14002645
2004-12-04 19:44:28.321 set_period_time_near returned 125000
2004-12-04 19:44:28.321 get_period_size returned 0
 
Program received signal SIGFPE, Arithmetic exception.
[Switching to Thread 68656048 (LWP 31993)]
0x0088b25f in snd_pcm_sw_params () from /usr/lib/libasound.so.2
(gdb) bt
#0  0x0088b25f in snd_pcm_sw_params () from /usr/lib/libasound.so.2
#1  0x00e817b9 in AudioOutputALSA::SetParameters (this=0xf46b3008, handle=0x8690ae0, access=16384,
    format=SND_PCM_FORMAT_S16_LE, channels=2, rate=48000, buffer_time=500000, period_time=125000) at audiooutputalsa.cpp:409
#2  0x00e7cc0c in AudioOutputALSA::OpenDevice (this=0xf46b3008) at audiooutputalsa.cpp:80
#3  0x00e71db8 in AudioOutputBase::Reconfigure (this=0xf46b3008, laudio_bits=68655216, laudio_channels=68655248,
    laudio_samplerate=48000) at audiooutputbase.cpp:119
#4  0x00e7c650 in AudioOutputALSA (this=0xf46b3008, audiodevice=Cannot access memory at address 0x4000
) at audiooutputalsa.cpp:24
#5  0x00e52156 in AudioOutput::OpenAudio (audiodevice=
      {static null = {static null = <same as static member of an already seen type>, d = 0x8576070, static shared_null = 0x8576070}, d = 0x861c128, static shared_null = 0x8576070}, audio_bits=16, audio_channels=2, audio_samplerate=48000,
    source=AUDIOOUTPUT_VIDEO, set_initial_vol=true) at audiooutput.cpp:33
#6  0x0029e824 in NuppelVideoPlayer::StartPlaying (this=0x90e8098) at NuppelVideoPlayer.cpp:1715
#7  0x00351d02 in SpawnDecode (param=0x90e8098) at tv_play.cpp:194
#8  0x007c598c in start_thread () from /lib/tls/libpthread.so.0
#9  0x010957da in clone () from /lib/tls/libc.so.6

I've not tried using ALSA with mythtv before, but "mplayer -ao
alsa:device=hw#0.0" works fine.

	Robert


More information about the mythtv-dev mailing list