Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 125479 - media-sound/alsaplayer-0.99.76-r2 stable request
Summary: media-sound/alsaplayer-0.99.76-r2 stable request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: IA-64 team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-08 07:17 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2006-07-12 15:05 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 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-03-08 07:17:32 UTC
As the summary say, I'd like to get latest alsaplayer marked stable, so that we can get rid of the (buggy) gtk interface. There are plenty of other players using GTK interfaces, alsaplayer is still a decent player for commandline, but it doesn't support unicode in the gtk1 support, and it's unmaintained upstream.

Thanks,
Diego
Comment 1 nixnut (RETIRED) gentoo-dev 2006-03-10 11:51:35 UTC
Stable on ppc
Comment 2 Andrej Kacian (RETIRED) gentoo-dev 2006-03-10 14:29:05 UTC
ticho@hiker /usr/gentoo/portage/media-sound/alsaplayer $ gdb alsaplayer
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/alsaplayer 
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1210943824 (LWP 6141)]
[New Thread -1213944912 (LWP 6146)]
[New Thread -1222337616 (LWP 6147)]
[Thread -1222337616 (zombie) exited]
[Thread -1213944912 (LWP 6146) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210943824 (LWP 6141)]
0xb7f4d1cc in pthread_join () from /lib/libpthread.so.0
(gdb) bt
#0  0xb7f4d1cc in pthread_join () from /lib/libpthread.so.0
#1  0x0804fd9b in AlsaNode::~AlsaNode ()
#2  0x08057610 in main ()


$ emerge --info
Portage 2.1_pre5-r4 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-suspend2-r6 i686)
=================================================================
System uname: 2.6.15-suspend2-r6 i686 Intel(R) Pentium(R) M processor 1600MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -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/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/gentoo/distfiles"
FEATURES="autoconfig ccache collision-protect confcache distlocks sandbox sfperms sign strict"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo http://ftp.easynet.nl/mirror/gentoo"
LANG="en_US.UTF-8"
LC_ALL="POSIX"
MAKEOPTS="-j2"
PKGDIR="/usr/gentoo/packages"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/gentoo/portage"
PORTDIR_OVERLAY="/usr/gentoo/overlay"
SYNC="rsync://gentoo.ynet.sk/gentoo-portage"
USE="x86 X aac aalib acpi alsa avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt curl dillo dri dvd eds emboss encode esd firefox flac foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 hal howl imap imlib ipv6 jpeg jpek2k libg++ libwww lm_sensors mmx motif moznocompose moznoirc moznomail mp3 mpeg mplayer ncurses nls nptl nptlonly ogg opengl oss pam pdflib perl pmu png python quicktime readline real rtc sasl sdl sse sse2 ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode vorbis win32codecs wma xface xinerama xml xml2 xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux userland_GNU video_cards_ati"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LDFLAGS, LINGUAS
Comment 3 Matthias Langer 2006-03-21 03:31:50 UTC
I can confirm #2; it's exactly the same for me (identical gdb output)

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r5 i686)
=================================================================
System uname: 2.6.15-gentoo-r5 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
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/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 /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colission-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.inode.at/ "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
LINGUAS="de en"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aalib alsa apm audiofile avi berkdb bitmap-fonts bonobo bzip2 bzlib cairo cdr cli crypt css ctype cups curl dba dbus divx4linux dri dts dv dvd dvdr dvdread emboss encode evo exif expat fam fame fastbuild ffmpeg firefox flac foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal idn imagemagick imlib ipv6 java jpeg junit lcms libg++ libwww mad memlimit mhash mikmod mmx mmxext mng motif mp3 mpeg nautilus ncurses nls nptl nsplugin nvidia ogg oggvorbis openal opengl pam pcre pdflib perl plotutils png posix python quicktime readline real ruby sdl session simplexml slang soap sockets speex spell spl sqlite sse ssl subtitles svga tcltk tcpd tetex theora tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma xine xml xml2 xmms xsl xv xvid zlib linguas_de linguas_en userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LDFLAGS
Comment 4 Matthias Langer 2006-03-21 03:34:57 UTC
By the way, i've emerge alsa-player with:
+alsa +audiofile -doc -esd +flac -jack +mikmod -nas +nls +ogg +opengl -oss +vorbis -xosd
Comment 5 Simon Stelling (RETIRED) gentoo-dev 2006-04-08 03:55:11 UTC
sound herd: ping
Comment 6 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-15 09:05:09 UTC
Can't reproduce, can someone provide a full backtrace on a system with splitdebug?
Comment 7 Matthias Langer 2006-04-18 18:56:54 UTC
As i'm using portage-2.0.54 splitdebug isn't available to me; hoever, i compiled alsaplayer-0.99.76-r2 [ +alsa +audiofile -doc -esd +flac -jack +mikmod -nas +nls +ogg +opengl -oss +vorbis -xosd ] with CFLAGS="-g -ggdb ..." FEATURES="nostrip" and got the follwoing bt:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211468096 (LWP 14973)]
0xb7ec510c in pthread_join () from /lib/tls/libpthread.so.0
(gdb) back
#0  0xb7ec510c in pthread_join () from /lib/tls/libpthread.so.0
#1  0x0804fdb1 in ~AlsaNode (this=0x82582b0) at AlsaNode.cpp:476
#2  0x080573fa in main (argc=1, argv=0xbfc06644) at Main.cpp:965
Comment 8 Matthias Langer 2006-04-19 08:47:17 UTC
By the way, alsaplayer-0.99.76-r2 [+alsa +audiofile -doc -esd -flac -jack +mikmod -nas +nls +ogg +opengl -oss +vorbis -xosd ] also quits instantly with SIGSEGV on this box (i'll provide a bt later, but i'm almost sure that it will be the same as in comment #7):

Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15.6 i686)
=================================================================
System uname: 2.6.15.6 i686 AMD Athlon(tm) XP 1900+
Gentoo Base System version 1.6.14
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig colission-protect distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sh.cvut.cz/MIRRORS/gentoo/gentoo "
LC_ALL="en_US.UTF-8"
LINGUAS="en de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow 3dnowext X acpi alsa apm audiofile avi berkdb bitmap-fonts browserplugin bzip2 bzlib cairo cli crypt ctype curl dba dbus dri dvd emboss encode exif expat fam fastbuild firefox foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal idn imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad memlimit mikmod mime mmx mmxext mng motif mp3 mpeg ncurses nls nptl nsplugin nvidia ogg oggvorbis opengl pam pcre pdflib perl png posix pppd python quicktime readline real ruby sdl session simplexml soap sockets spell spl sqlite sse ssl tcpd tokenizer truetype truetype-fonts type1-fonts udev unicode usb vorbis win32codecs wma xine xml xml2 xsl xv xvid zlib linguas_en linguas_de userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LDFLAGS
Comment 9 Matthias Langer 2006-04-19 18:26:28 UTC
i've just verified that the bt for the box mentioned in comment #8 is exactly the same as in comment #7.
Comment 10 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-19 19:45:32 UTC
I'm afraid that is not enough to debug the problem :/

I need the output of this command rather: "thread apply all bt full" .
This gets the backtrace full of stack information for all the threads running. It's more likely to be useful to find the source of the problem than the simple backtrace.
Comment 11 Matthias Langer 2006-04-19 20:53:36 UTC
i fear this won't help you either:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211357504 (LWP 18096)]
0xb7ee010c in pthread_join () from /lib/tls/libpthread.so.0
(gdb) thread apply all bt full

Thread 1 (Thread -1211357504 (LWP 18096)):
#0  0xb7ee010c in pthread_join () from /lib/tls/libpthread.so.0
No symbol table info available.
#1  0x0804fdb1 in ~AlsaNode (this=0x82582b0) at AlsaNode.cpp:476
No locals.
#2  0x080573fa in main (argc=1, argv=0xbfa1f904) at Main.cpp:965
        newitems = {<std::_Vector_base<std::basic_string<char, std::char_traits<char>, std::allocator<char> >,std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {
    _M_impl = {<std::allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<__gnu_cxx::new_allocator<std::basic_string<char, std::char_traits<char>, std::allocator<char> > >> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0,
      _M_end_of_storage = 0x0}}, <No data fields>}
Comment 12 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-19 21:07:51 UTC
Okay, then please get me this:

up
print looper_thread
Comment 13 Matthias Langer 2006-04-20 05:07:03 UTC
here it is:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1211038016 (LWP 18448)]
0xb7f2e10c in pthread_join () from /lib/tls/libpthread.so.0
(gdb) up
#1  0x0804fdb1 in ~AlsaNode (this=0x82582b0) at AlsaNode.cpp:476
476     AlsaNode.cpp: No such file or directory.
        in AlsaNode.cpp
(gdb) print looper_thread
$1 = 0
Comment 14 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-20 09:43:09 UTC
Okay I'm committing a -r3 that should solve the issue, the thread pointer was NULL.
Please try with that (should work), and thanks for the help.
Comment 15 Matthias Langer 2006-04-20 14:14:06 UTC
Well, your patch seems to work fine as i'm just listening to music with alsaplayer-0.99.76-r3. However, is there a specific reason for '--disable-gtk' ?
Comment 16 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-20 14:49:45 UTC
Yes, it crashes way more because UTF-8 support is completely broken and unfixable (GTK 1.2 doesn't handle it at all).

alsaplayer remains an useful cli player, for gui players you can find plenty of.
Comment 17 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-04-20 14:52:01 UTC
Arches who stabled -r2, please test and mark -r3 rather, that has the fixes to this crash.
Comment 18 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-04-22 20:56:16 UTC
-r3 stable on x86
Comment 19 Thomas Cort (RETIRED) gentoo-dev 2006-04-22 21:52:15 UTC
-r3 stable on alpha and amd64.
Comment 20 Joe Jezak (RETIRED) gentoo-dev 2006-04-28 12:22:03 UTC
Marked -r3 stable on ppc.
Comment 21 Diego Elio Pettenò (RETIRED) gentoo-dev 2006-05-26 13:46:00 UTC
IA64 Ping.
Comment 22 Aron Griffis (RETIRED) gentoo-dev 2006-07-12 15:05:01 UTC
ia64 done.  I also removed -r2 since it was clearly being kept only for ia64