Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139989 - media-sound/zinf removal (gcc41 compile error, crash, and execstack)
Summary: media-sound/zinf removal (gcc41 compile error, crash, and execstack)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo TreeCleaner Project
URL:
Whiteboard: REMOVED
Keywords: PMASKED
: 147439 (view as bug list)
Depends on: 148154
Blocks:
  Show dependency tree
 
Reported: 2006-07-11 05:51 UTC by Thomas Cort (RETIRED)
Modified: 2006-10-25 13:52 UTC (History)
2 users (show)

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


Attachments
scanelf-execstack.log for zinf (scanelf-execstack.log,363 bytes, text/plain)
2006-07-13 12:46 UTC, Christian Faulhammer (RETIRED)
Details
zinf x86 gdb session (zinf.gdb,7.73 KB, text/plain)
2006-08-20 16:40 UTC, Matthias Langer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Cort (RETIRED) gentoo-dev 2006-07-11 05:51:07 UTC
Please mark =media-sound/zinf-2.2.5-r3 stable so that we can remove the older revisions which aren't ported to modular X. Thanks!

I've already done amd64.
Comment 1 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-13 12:45:41 UTC
Emerges fine, but:

This is what I get when starting zinf.

(<unknown>:10327): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a  drawable with depth 32

(<unknown>:10327): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a  drawable with depth 32

(<unknown>:10327): Gdk-WARNING **: Attempt to draw a drawable with depth 24 to a  drawable with depth 32

(<unknown>:10327): Gdk-CRITICAL **: gdk_window_set_back_pixmap: assertion `pixmap == NULL || gdk_drawable_get_depth (window) == gdk_drawable_get_depth (pixmap)' failed
The program '<unknown>' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 328 error_code 8 request_code 62 minor_code 0)


Tried switching to color depth 32, but my driver does not support it.  When looking for the first error message there is only a mail in the zinf-develop mailing list asking for help for a similar problem (in 2005 without solution).


When emerging the following appears:
QA Notice: the following files contain runtime text relocations
 Text relocations force the dynamic linker to perform extra
 work at startup, waste system resources, and may pose a security
 risk.  On some architectures, the code may not even function
 properly, if at all.
 For more information, see http://hardened.gentoo.org/pic-fix-guide.xml
 Please include this file in your report:
 /var/tmp/portage/zinf-2.2.5-r3/temp/scanelf-textrel.log
"TEXTREL usr/lib/zinf/plugins/xingmp3.lmc"

QA Notice: the following files contain executable stacks
 Files with executable stacks will not work properly (or at all!)
 on some architectures/operating systems.  A bug should be filed
 at http://bugs.gentoo.org/ to make sure the file is fixed.
 For more information, see http://hardened.gentoo.org/gnu-stack.xml
 Please include this file in your report:
 /var/tmp/portage/zinf-2.2.5-r3/temp/scanelf-execstack.log
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-13 12:46:08 UTC
Created attachment 91657 [details]
scanelf-execstack.log for zinf
Comment 3 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-13 12:49:37 UTC
Portage 2.1-r1 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.6.15
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
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"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE@euro"
LC_ALL="de_DE@euro"
LINGUAS="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.informatik.rwth-aachen.de/gentoo-portage"
USE="x86 3dnow 3dnowext X Xaw3d a52 alsa apache2 artworkextra asf audiofile avi bash-completion beagle berkdb bidi bitmap-fonts bootsplash branding bzip2 cairo cdda cddb cdparanoia cdr cli cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dlloader dri dts dvd dvdr dvdread dvi eds emacs emboss encode esd evo exif expat fam fat fbcon fdftk ffmpeg firefox foomaticdb fortran ftp gb gcj gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imap imlib ipv6 isdnlog java javascript jikes jpeg jpeg2k ldap leim libg++ libwww lm_sensors mad maildir matroska mbox mikmod mime mmx mmxext mng mono motif mp3 mpeg mpeg2 mule nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia ogg opengl pam pcre pdf pdflib perl plotutils pmu png ppds pppd preview-latex print python qt qt3 qt4 quicktime readline reflection reiserfs samba sdk session slang spell spl sse ssl svg svga t1lib tcltk tcpd theora thunderbird tiff truetype truetype-fonts type1-fonts udev usb vcd videos vorbis win32codecs wmf wxwindows xine xml xorg xosd xv xvid zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux linguas_de userland_GNU video_cards_radeon video_cards_vesa video_cards_fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 4 Thomas Cort (RETIRED) gentoo-dev 2006-07-13 13:05:40 UTC
(In reply to comment #1)
> Tried switching to color depth 32, but my driver does not support it.  When
> looking for the first error message there is only a mail in the zinf-develop
> mailing list asking for help for a similar problem (in 2005 without solution).

Are you using binary drivers? If so, try zinf without them.

> QA Notice: the following files contain runtime text relocations

Try emerging with USE="-x86" (it will disable the x86opts configure option).

Does the previous stable version (2.2.5-r2) work?
Comment 5 Christian Faulhammer (RETIRED) gentoo-dev 2006-07-14 00:17:34 UTC
(In reply to comment #4)
> (In reply to comment #1)
> > Tried switching to color depth 32, but my driver does not support it.  When
> > looking for the first error message there is only a mail in the zinf-develop
> > mailing list asking for help for a similar problem (in 2005 without solution).
> Are you using binary drivers? If so, try zinf without them.

 No I am not using any binary driver, the open source radeon is my choice.

> > QA Notice: the following files contain runtime text relocations
> Try emerging with USE="-x86" (it will disable the x86opts configure option).
Still textrels.  And does not get it running either.


> Does the previous stable version (2.2.5-r2) work?

Apart from the x11 virtual with liboldX etc. the following packages are emerged when using the latest stable.  Why has the gnome support been taken away or the other deps changed?

dev-db/metakit-2.4.9.3-r2
gnome-base/orbit-0.5.17-r1
dev-util/indent-2.2.9-r2
dev-libs/boost-1.33.1

The stable one has textrel issues, too.  Gives the same error messages.
Comment 6 Andrej Kacian (RETIRED) gentoo-dev 2006-07-23 18:46:45 UTC
I'm hit by the same bug. I'm using xorg's radeon driver.
Comment 7 Matthias Langer 2006-08-20 16:40:21 UTC
Created attachment 94732 [details]
zinf x86 gdb session

well, i've experimented a bit with zinf-2.2.5-r3  USE="X alsa gtk ipv6 mp3 nls vorbis -arts -corba -debug -esd -xosd" on x86. while i did not suffer from the problem described in comment #1 and confirmed in comment #6 (i'm using nvidia-kernel-1.0.8762-r1) i quickly found a way to reliably crash zinf (see attachment):

1.) start the prog
2.) play some music
3.) fool around in the options-menu
4.) press cancel

i can also confirm the QA issues with the package ....
Comment 8 Matthias Langer 2006-08-20 16:41:07 UTC
btw. here is emerge --info:

Portage 2.1-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-gentoo-r12 i686)
=================================================================
System uname: 2.6.16-gentoo-r12 i686 AMD Athlon(tm) XP 2400+
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.3.5-r2, 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon-xp -ggdb -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer sandbox sfperms strict test"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="en_US.utf8"
LC_ALL="en_US.utf8"
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://192.168.0.1/gentoo-portage"
USE="x86 3dnow 3dnowext X a52 aac acpi alsa apm audiofile avi beagle berkdb bitmap-fonts bzip2 cairo cdr cli crypt css cups dbus dlloader dri dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac foomaticdb fortran gdbm gif ginac gmp gnome gphoto2 gpm gstreamer gtk gtk2 hal howl icq imlib ipv6 isdnlog java javascript jpeg jpeg2k lcms libg++ libwww mad mikmod mime mmx mmxext motif mozsvg mp3 mpeg msn nautilus ncurses nfs nls nptl nsplugin nvidia offensive ogg oggvorbis opengl pam pcre pdflib perl plotutils png posix pppd python qt3 qt4 quicktime readline real reflection ruby sdl session sockets spell spl sqlite3 sse ssl subtitles svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb vcd vorbis win32codecs wma xine xml xmms xorg xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_de userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 9 Thomas Cort (RETIRED) gentoo-dev 2006-08-20 17:03:38 UTC
Looks like there is a gcc-4.1 compile error too. Removing arches until this package is fixed. There haven't been any new releases since February 14, 2004, but there have been some CVS commits in the last 4 months. I'll check CVS and debian for fixes.

if /bin/sh ../../libtool --mode=compile x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../config  -D_REENTRANT -I../../base/include -I../../base/unix/include -I../../lib/utf8 -I../../ui/include -I../../lmc/include -I../../io/include -I../../mdb  -DLOCALEDIR=\"/usr/share/locale\" -DUNIX_LIBDIR=\"/usr/lib64\" -DUNIX_DATADIR=\"/usr/share\"   -march=athlon64 -O -pipe -frerun-cse-after-loop -MT mutex.lo -MD -MP -MF ".deps/mutex.Tpo" \
  -c -o mutex.lo `test -f 'src/mutex.cpp' || echo './'`src/mutex.cpp; \
then mv -f ".deps/mutex.Tpo" ".deps/mutex.Plo"; \
else rm -f ".deps/mutex.Tpo"; exit 1; \
fi
../../base/include/queue.h: In member function 'bool Queue<T>::IsEmpty()':
../../base/include/queue.h:165: error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available
../../base/include/queue.h:165: error: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
../../base/include/queue.h: In member function 'void Queue<T>::GetLock()':
../../base/include/queue.h:170: error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available
../../base/include/queue.h: In member function 'void Queue<T>::ReleaseLock()':
../../base/include/queue.h:176: error: there are no arguments to 'assert' that depend on a template parameter, so a declaration of 'assert' must be available
../../base/include/player.h: At global scope:
../../base/include/player.h:158: error: extra qualification 'Player::' on member 'SetEQData'
../../base/include/player.h:164: error: extra qualification 'Player::' on member 'SendVisBuf'
make[2]: *** [bootstrap.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
 x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../config -D_REENTRANT -I../../base/include -I../../base/unix/include -I../../lib/utf8 -I../../ui/include -I../../lmc/include -I../../io/include -I../../mdb -DLOCALEDIR=\"/usr/share/locale\" -DUNIX_LIBDIR=\"/usr/lib64\" -DUNIX_DATADIR=\"/usr/share\" -march=athlon64 -O -pipe -frerun-cse-after-loop -MT mutex.lo -MD -MP -MF .deps/mutex.Tpo -c src/mutex.cpp  -fPIC -DPIC -o .libs/mutex.o
make[2]: Leaving directory `/var/tmp/portage/zinf-2.2.5-r3/work/zinf-2.2.5/base/unix'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/zinf-2.2.5-r3/work/zinf-2.2.5/base'
make: *** [all-recursive] Error 1

# emerge --info

Portage 2.1-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.17-gentoo-r4 x86_64 AMD Turion(tm) 64 Mobile Technology ML-32
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs distlocks metadata-transfer multilib-strict sandbox sfperms strict"
GENTOO_MIRRORS="http://adelie.polymtl.ca/ ftp://cs.ubishops.ca/pub/gentoo http://distfiles.gentoo.org/"
LINGUAS="en fr"
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://larry@rsync.larrythecow.net/gentoo-portage"
USE="amd64 X aac acpi aim alsa audacious audiofile berkdb bitmap-fonts browserplugin bzip2 cli crypt cups dbus dlloader dri encode firefox flac gdbm glut gnome gphoto2 gpm gtk gtk2 hal icq ipv6 isdnlog jabber java jpeg libg++ lua mad mikmod mono moznocompose moznoirc moznomail mp3 mpeg msn ncurses nls nocd nptl nptlonly nsplugin offensive ogg oggvorbis openal opengl oscar pam pcre perl png ppds pppd python readline reflection session shorten sndfile spell spl ssl symlink tcpd truetype-fonts type1-fonts udev unicode userlocales vorbis wxgtk1 xface xmms xorg xvid yahoo zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux linguas_en linguas_fr userland_GNU video_cards_sis"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Jakub Moc (RETIRED) gentoo-dev 2006-09-13 04:21:07 UTC
*** Bug 147439 has been marked as a duplicate of this bug. ***
Comment 11 Thomas Cort (RETIRED) gentoo-dev 2006-09-15 16:59:27 UTC
Adding treecleaners@g.o to mask and remove this package. x11-themes/zinf-themes will need to go too. I already talked to HumpBack about it.... his words in #gentoo-dev "KILL KILL KILL".

Reasons: The package doesn't compile, there isn't a stable x86 version ported to modular-x, it crashes for some people, it has no ebuild maintainer, no one from sound team has stepped up to fix zinf, no release since 2004, the stuff in cvs doesn't work (autogen fails), and it has an exec stack QA warning on x86. Also, other packages offer the same look & feel and functionality (xmms, audacious, bmpx, ...).
Comment 12 Andrej Kacian (RETIRED) gentoo-dev 2006-09-16 03:39:13 UTC
Well, R.I.P., zinf. Thanks for the work, guys!
Comment 13 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-09-18 21:43:49 UTC
Pending Removal Oct 16th
Comment 14 kalium 2006-09-21 14:19:29 UTC
> Also, other packages offer the same look & feel and functionality (xmms,
> audacious, bmpx, ...).

xmms: alsa+internet streaming = does not work
audacious: unstable like hell (drop an URL on the main window)
bmpx: pretty outdated -- as far as I know

Luckily, there is amarok. And its development is probably going faster than the rest of the audio players together :-)
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2006-10-25 13:45:22 UTC
Removed.