Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92956 - pcm_dmix hangs on device close with alsa-lib-1.0.9_rc3
Summary: pcm_dmix hangs on device close with alsa-lib-1.0.9_rc3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 10:53 UTC by Magnus Lidbom
Modified: 2005-05-27 15:46 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
timer-flush-blocking.diff (timer-flush-blocking.diff,1.15 KB, patch)
2005-05-17 10:55 UTC, Magnus Lidbom
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Magnus Lidbom 2005-05-17 10:53:40 UTC
When using dmix playback will sporadically hang, often when jumping forward or
backwards with xine-ui or similar media player. There is a resolved bug in the
alsa bugtracker: https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1074.
I've tried the interim patch submitted there and it resolves the problem for me. 

Reproducible: Always
Steps to Reproduce:
1.Configure xine-ui for playback via a dmix device specified in asound.conf
2.Open a file and jump forwards and backwards in the file rapidly.

Actual Results:  
Xine hangs

Expected Results:  
No hang.

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r1,
2.6.11-gentoo-r6 i686)
=================================================================
System uname: 2.6.11-gentoo-r6 i686 AMD Athlon(tm)
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5,dev-lang/python-2.4.1 [2.4.1 (#1, May
17 2005, 12:57:44)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env
/usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/lib/X11/xkb /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks nostrip sandbox
sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LINGUAS="en sv"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X aac aalib acl acpi alsa apache2 apm arts audiofile avi
bash-completion berkdb bidi bindist bitmap-fonts bluetooth cddb cdparanoia cdr
cjk crypt cups curl dga directfb doc dv dvd dvdr dvdread emacs emboss encode esd
fam fbcon flac foomaticdb fortran freetds freetype gcj gdbm gif gnome gnutls gpm
gtk gtk2 gtkhtml imagemagick imap imlib innodb ipv6 java javascript jikes jpeg
jpeg2k junit kde kdeenablefinal kerberos krb4 ldap libg++ libwww lirc
logitech-mouse mad mikmod mmx mono motif mozdevelop mozilla mp3 mpeg mysql
ncurses nls nptl odbc ogg oggvorbis opengl oss pam pdflib perl pic png pthreads
python qemu-fast qt quicktime readline real ruby samba scanner sdl slang softmmu
speex spell sqlite sse ssl svg svga symlink tcltk tcpd tetex theora tiff
truetype truetype-fonts type1-fonts unicode usb videos vorbis win32codecs
wxwindows x86 xine xinerama xml xml2 xosd xv xvid zlib linguas_en linguas_sv
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Magnus Lidbom 2005-05-17 10:55:44 UTC
Created attachment 59142 [details, diff]
timer-flush-blocking.diff

The patch from the alsa bugtracker.
Comment 2 Jan Brinkmann (RETIRED) gentoo-dev 2005-05-27 14:59:09 UTC
please test with 1.0.9 which i commited ~1 hour ago, thanks
Comment 3 Magnus Lidbom 2005-05-27 15:46:06 UTC
(In reply to comment #2)
> please test with 1.0.9 which i commited ~1 hour ago, thanks

Works perfectly. Thanks!