Comment 31 for bug 221038

Revision history for this message
Alexander Pokluda (apokluda) wrote :

Here is some more information, in case it is useful:

Here's what Boxee's prints to stdout when pulse audio crashes:

boxee@ubuntu-server:/opt/boxee$ ./run-boxee-desktop
12/07/09 14:04:38#DEBUG#bxbgprocess.cpp:146(Start)#bg process initialized. 1 worker threads created.
12/07/09 14:04:38#DEBUG#bxcurl.cpp:63(Initialize)#curl initialized. version <7.18.2>

Running Boxee test...
And the log goes to... /tmp/boxee-boxee.log
is rtorrent running: 0
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
Boxee: pcm_pulse.c:361: pulse_write: Assertion `pcm->stream' failed.
Aborted

Here's what appears in Boxee's log, when pulse audio crashes:

10:05:11 T:4120659856 M:1482825728 INFO: Loading skin file: boxee_video_context.xml
10:05:15 T:3696761744 M:1479155712 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:16 T:3696761744 M:1479196672 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:16 T:4120659856 M:1479196672 INFO: CheckIdle - Closing session to http ://www.google.com (easy=0xb033060, multi=(nil))
10:05:17 T:4120659856 M:1479204864 INFO: CheckIdle - Closing session to http ://xoap.weather.com (easy=0xaf90948, multi=0xb4f2f80)
10:05:18 T:3696761744 M:1479208960 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:18 T:4120659856 M:1479208960 INFO: CheckIdle - Closing session to http ://akas.imdb.com (easy=0xb111820, multi=0xafcf640)
10:05:19 T:3696761744 M:1479208960 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:23 T:3696761744 M:1478553600 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:23 T:3705465744 M:1477476352 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 14.985015 fps
10:05:24 T:3705465744 M:1478524928 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
10:05:25 T:3696761744 M:1479225344 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:26 T:3705465744 M:1478438912 INFO: CDVDPlayerVideo - Stillframe detected, switching to forced 14.985015 fps
10:05:27 T:3705465744 M:1478930432 INFO: CDVDPlayerVideo - Stillframe left, switching to normal playback
10:05:32 T:3731082128 M:1478774784 WARNING: SkipBytes - request negative skip which is not supported.
10:05:32 T:3696761744 M:1478774784 WARNING: CALSADirectSound::CALSADirectSound - device is not able to pause playback, will flush instead
10:05:32 T:3696761744 M:1479233536 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
10:05:38 T:4120659856 M:1480056832 INFO: CheckIdle - Closing session to http ://blip.tv (easy=0xb1ded58, multi=0xb03e020)
10:06:02 T:4120659856 M:1480032256 INFO: CheckIdle - Closing session to http ://a27.video2.blip.tv (easy=0xb80a3e0, multi=0xb1f67f0)
10:06:10 T:4120659856 M:1480007680 NOTICE: Samba is idle. Closing the remaining connections
10:35:39 T:3696761744 M:1480056832 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
10:35:39 T:3696761744 M:1480056832 ERROR: Flush - flush-prepare, alsa error: -5 - Input/output

Here's what VLC prints to stdout when pulse audio crashes:

boxee@ubuntu-server:~$ vlc
VLC media player 0.9.9a Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.9a Grishenko - (c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ./configure '--build=x86_64-linux-gnu' '--enable-maintainer-mode' '--enable-release' '--prefix=/usr' '--enable-libtool' '--enable-fast-install' '--with-binary-version=2ubuntu1' '--disable-update-check' '--disable-gnome' '--disable-gtk' '--disable-familiar' '--disable-fb' '--enable-ggi' '--enable-sdl' '--enable-esd' '--enable-mad' '--enable-jack' '--enable-pulse' '--enable-lirc' '--enable-a52' '--enable-aa' '--enable-dvbpsi' '--enable-mozilla' '--with-mozilla-pkg=libxul-plugin' '--disable-kde' '--enable-mp4' '--enable-dvb' '--disable-satellite' '--enable-ogg' '--enable-vorbis' '--enable-shout' '--enable-qt4' '--disable-slp' '--enable-flac' '--disable-skins' '--disable-basic-skins' '--enable-skins2' '--enable-freetype' '--enable-mkv' '--enable-speex' '--enable-caca' '--enable-live555' '--enable-libmpeg2' '--enable-fribidi' '--enable-cdio' '--enable-mod' '--enable-theora' '--enable-modplug' '--enable-dvdnav' '--enable-gnutls' '--enable-ffmpeg' '--enable-ncurses' '--enable-smb' '--disable-gnomevfs' '--enable-bonjour' '--enable-mpc' '--enable-vcd' '--enable-vcdx' '--enable-notify' '--enable-twolame' '--enable-faad' '--disable-zvbi' '--enable-telx' '--enable-mediacontrol-bindings' '--disable-atmo' '--enable-taglib' '--enable-libass' '--enable-libdca' '--enable-realrtsp' '--disable-dv' '--enable-x264' '--enable-alsa' '--enable-v4l' '--enable-v4l2' '--enable-pvr' '--enable-svgalib' '--enable-dvd' '--without-dvdcss' 'build_alias=x86_64-linux-gnu' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,--as-needed' 'CPPFLAGS=' 'CXXFLAGS=-g -O2'
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
I: caps.c: Dropping root privileges.
I: caps.c: Limited capabilities successfully to CAP_SYS_NICE.
[00000455] alsa audio output error: cannot recover from buffer underrun
[00000455] alsa audio output error: ALSA error: Input/output error
vlc: pcm_pulse.c:312: pulse_delay: Assertion `pcm->stream' failed.
Aborted

I've also attached the output of alsa-info.sh. In my last post, I said that my on-board sound device had a Realteck chip, but I think I was mistaken. Here's what ALSA recognizes:

!!Soundcards recognised by ALSA
!!-----------------------------

 0 [NVidia ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe028000 irq 23
 1 [Audigy ]: Audigy - Audigy 1 [SB0090]
                      Audigy 1 [SB0090] (rev.3, serial:0x511102) at 0xcc00, irq 17