mplayer segfaults while opening the alsa pcm device, with alsa-lib-1.0.9*, downgrading to 1.0.8 fixed it again for me, the question is, who's to blame the new alsalib, or mplayer ... Reproducible: Always Steps to Reproduce: 1. 2. 3.
i have the exact same problem. i would think that its mplayer's fault. i would'nt imagine that the error message would be "Segementation fault" if the lib faulted. i think mplayer would say something about a bad library in that case. anyway, sys info if you desire: smithj ~ # emerge --info Portage 2.0.51.19 (default-linux/x86, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.12-rc1 i686) ================================================================= System uname: 2.6.12-rc1 i686 Intel(R) Celeron(R) CPU 2.00GHz Gentoo Base System version 1.6.10 Python: dev-lang/python-2.3.5 [2.3.5 (#1, Mar 25 2005, 00:09:34)] ccache version 2.4 [enabled] dev-lang/python: 2.3.5 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6 sys-devel/binutils: 2.15.92.0.2-r7 sys-devel/libtool: 1.5.14 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=pentium4 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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 /var/qmail/alias /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="x86 X aalib acpi aim alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups curl dba dvd emboss encode esd fam flac fluxbox font-server foomaticdb fortran ftp gd gd-external gdbm gif gnome gpm gstreamer gtk gtk2 icq idea imagemagick imap imlib java jikes jpeg junit libg++ libwww mad mbox mikmod mmx mmx2 motif mozilla mp3 mpeg ncurses nls nptl nptlonly oggvorbis opengl pam pcmcia pdflib perl php pic png posix python qt quicktime readline ruby samba sdl spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev usb vim xml2 xmms xprint xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
sorry, i just noticed something. i can't get xine-ui or xmms to output any music/audio eithor. i don't get segfaults there, but they simply freeze. maybe it is the lib... strange that mplayer/xine/xmms react so differently, though
ah. one more thing. this bugs appears to be a duplicate of 87385
Seems to be a duplicate indeed, didn't notice the other bug, since I only realized problems with mplayer, totem (for example) worked fine ... mplayer crashes on this call: snd_pcm_open(0x84fe590, 0xbfffb410, 0, 0, 0xbfffb410 <unfinished ...> which kinda confuses me, since the function prototype from the lib CVS states only 4 parameters ..... See: int snd_pcm_open ( snd_pcm_t ** pcmp, const char * name, snd_pcm_stream_t stream, int mode ) Opens a PCM. Parameters: pcmp Returned PCM handle name ASCII identifier of the PCM handle stream Wanted stream mode Open mode (see SND_PCM_NONBLOCK, SND_PCM_ASYNC) Returns: 0 on success otherwise a negative error code xmms works fine though for me ... This is definately weird ....
Dupe of bug 87385. Can the opener please mark it as such?
*** This bug has been marked as a duplicate of 87385 ***