mplayer segfaults with alsa-lib-1.0.12-rc1 if an old /etc/asound.conf is present.
Created attachment 93016 [details] asound.conf
using alsa-driver-1.0.12_rc1-r1 gdb output: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1224005952 (LWP 21323)] 0xb7c9e5bc in snd_pcm_direct_parse_bindings (dmix=0x87d3708, params=0xbfd1ec20, cfg=0x87d3110) at pcm_direct.c:1401 1401 pcm_direct.c: No such file or directory. in pcm_direct.c (gdb) print dmix->bindings $1 = (unsigned int *) 0x0 emerge --info: Portage 2.1.1_pre4 (default-linux/x86/2006.0, gcc-3.4.6/vanilla, glibc-2.4-r3, 2.6.17-suspend2-r2 i686) ================================================================= System uname: 2.6.17-suspend2-r2 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r2 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=pentium-m -falign-functions=64 -pipe -fomit-frame-pointer " CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=pentium-m -falign-functions=64 -pipe -fomit-frame-pointer " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror" LINGUAS="en de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="x86 X aac aalib acpi alsa apache2 apic asf avi berkdb bitmap-fonts bluetooth bzip2 cairo cli crypt ctype cups dga dhcp dlloader dri dvd dvdread effects emboss encode esd fam fame fbsplash flac font-server foomaticdb fortran gd gdbm gif glitz gnokii gpm gstreamer gtk2 i8x0 iconv imlib ipv6 irmc isdnlog jabber jack joystick jpeg jpeg2k kde kdepim kdexdeltas ldap libg++ libvisual libwww lm_sensors mad mhash mikmod mjpeg mmx mng motif moznocompose moznoirc moznomail moznoroaming mp3 mpeg mpm-prefork musicbrainz mysql nas ncurses netjack nls no-seamonkey nogecko-sdk nptl nptlonly objc ogg openexr opengl oss pam pcmcia pcre pdflib perl pic plugin pmu png pnp portaudio pppd python qt qt3 qt4 quicktime readline real reflection samba sasl sdl session sftplogging simplexml soap socks5 spell spl sqlite sse sse2 ssl svg tcltk tcpd theora tiff transparent-proxy truetype truetype-fonts type1-fonts udev unicode userlocales v4l v4l2 vorbis webdav wifi win32codecs xext xime xinerama xml xml2 xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics input_devices_joystick kernel_linux linguas_en linguas_de userland_GNU video_cards_i810 video_cards_i830 video_cards_i915" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
I have a patch for it (took from alsa's hg repo), will issue a -r1 now.
Fixed in 1.0.12_rc1-r1, thanks for reporting and for the backtrace :)
thanks for giving me a hand - and reminding me that /etc/asound.conf is pretty much similar to asoundrc ;-)
*** Bug 141805 has been marked as a duplicate of this bug. ***
Bug #121370 looks familiar. That's my own bug as well. I'll be sure to remeber to remove my .asoundrc before the next time I submit a ALSA bug.