Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 58748 - mplayer: crashes if arts daemon is used
Summary: mplayer: crashes if arts daemon is used
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Chris White (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-29 02:13 UTC by Selecter
Modified: 2005-01-11 15:08 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Selecter 2004-07-29 02:13:40 UTC
Program received signal SIGSEGV, Segmentation fault.
0x40276a9c in pthread_mutex_lock () from /lib/libpthread.so.0

Reproducible: Always
Steps to Reproduce:
1. Choose arts in gmplayer configuration
2. Reopen gmplayer
3. Play a movie
4. Right-click on movie window or mplayer panel



Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r6)
=================================================================
System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.16
ccache version 2.3 [disabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/
ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo
ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo
http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 arts avi cdr crypt cups encode esd gdbm gif gphoto2 gpm
gtk gtk2 imlib java jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif
mozilla mpeg ncurses nls nptl oggvorbis opengl pam pdflib perl png ppds python
qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml xml2
xmms xv zlib"
Comment 1 Selecter 2004-07-29 02:14:34 UTC
arts-1.2.3
Comment 2 Chris White (RETIRED) gentoo-dev 2004-07-29 02:25:22 UTC
Cannot reproduce with:

arts-1.3.0_beta2
mplayer-1.0_pre5-r2

This could be an nptl issue too.  Did you compile glibc with nptl?
Comment 3 Selecter 2004-07-29 03:10:24 UTC
>This could be an nptl issue too.  Did you compile glibc with nptl?

Yes I did.
Comment 4 Chris White (RETIRED) gentoo-dev 2004-07-29 10:13:59 UTC
This is something that upstream is going to have to handle then.
I believe kde is the upstream for arts.  Send a bug to their bugzilla with
the following information:

1) what version of arts your using
2) what the error you get is
3) System uname: 2.6.7-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
4) gcc-3.3.3, glibc-2.3.3.20040420-r0,
2.6.7-gentoo-r6
5) and of course, mention you're using nptl as well.

The other workaround, of course, is to either not use nptl (massive re-compile)
or to use a different audio driver (alsa is great as well).

Thanks for posting!
Comment 5 Selecter 2004-07-30 08:18:41 UTC
Can reproduce (from second try) bug on:

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.4.26-gentoo-r6)
=================================================================
System uname: 2.4.26-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -fomit-frame-pointer -march=pentium4 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/ ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://ftp.du.se/pub/os/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa arts avi cdr crypt cups encode gdbm gif gpm gtk gtk2 imlib jpeg kde libg++ libwww linguas_ru mad mikmod mmx motif mpeg ncurses nls oggvorbis opengl pam pdflib perl png ppds python qt quicktime readline sdl slang spell sse ssl svga tcpd truetype x86 xml xml2 xmms xv zlib"

I will reopen bug to see if my test on system (without nptl) has changed something.
Comment 6 Ken Nowack (RETIRED) gentoo-dev 2004-08-08 13:21:07 UTC
Happens on my system too. Been trying to figure it out for days. Recompiled everything, updated nvidia drivers, and updated to 2.6.8-r3-nitro1 kernel. Now I find out it's alsa, lol.

1) Arts 1.2.2
2) Program received signal SIGSEGV, Segmentation fault. 0x40276a9c in pthread_mutex_lock () from /lib/libpthread.so.0
3) Linux shrew 2.6.8-rc3-nitro1 #1 Sun Aug 8 08:04:50 PDT 2004 i686 AMD Athlon(tm) XP 2600+ AuthenticAMD GNU/Linux
4) gcc-3.3.3, glibc-2.3.3.20040420
5) not using nptl.
Comment 7 Selecter 2004-08-08 13:23:29 UTC
I got this error also when I try to open skin browser :)
Comment 8 Chris White (RETIRED) gentoo-dev 2004-08-17 07:53:40 UTC
The arts daemon bug should be fixed with the alsa-gui patch applied
in cvs.  If it's still an issue, re-open this bug.  Thanks for posting!
Comment 9 Roman Gaufman 2005-01-11 15:08:50 UTC
bash-2.05b$ mplayer -vo null -ao arts test.mpg 1>/dev/null
MMX2 supported but disabled

MPlayer interrupted by signal 11 in module: ao2_init
- MPlayer crashed by bad usage of CPU/FPU/RAM.
  Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and
  disassembly. Details in DOCS/HTML/en/bugreports_what.html#bugreports_crash.
- MPlayer crashed. This shouldn't happen.
  It can be a bug in the MPlayer code _or_ in your drivers _or_ in your
  gcc version. If you think it's MPlayer's fault, please read
  DOCS/HTML/en/bugreports.html and follow the instructions there. We can't and
  won't help unless you provide this information when reporting a possible bug.

Works with alsa, but alsa+dmix = laggy playback and quite frankly, I cant find anything better than arts to play multiple files (even does mmap emulation quite well for games). -- and I have an audiophile sound card I dont want to replace with sblive thank you very much (m-audio revolution - envy24HT)

multimedia root # emerge info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.10-ck1 i686)
=================================================================
System uname: 2.6.10-ck1 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux26-headers-2.6.8.1-r2
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="ftp://194.117.143.71/mirrors/gentoo ftp://194.117.143.72/mirrors/gentoo http://194.117.143.69 http://194.117.143.72 http://ftp.easynet.nl/mirror/gentoo/"
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="x86 3dnow 3dnowex X aalib acl alsa apache2 apm arts artswrappersuid audiofile avi berkdb bootsplashcdda cdparanoia cdr crypt cups encode esd fam flac foomaticdb gd gdbm gif gimpprint gphoto2 gpm gtk gtk2imagemagick imap imlib ipv6 jack jpeg kde ldap libcaca libwww live mad mikmod mmx motif mpeg mysql ncurses network nocd nptl nptlonly oggvorbis opengl oss pam pdflib perl pic png povray python qt quicktime readline real rtc scanner spell sqlite sse ssl svg svga tcpd threads tiff truetype usb userlocales xine xml xml2 xv xvid zlib"