Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 7650

Summary: gplflash: Builds with audio even if no audio present --> crash
Product: Gentoo Linux Reporter: Klaus Kusche <Klaus.Kusche>
Component: New packagesAssignee: Joel Hill (RETIRED) <hillster>
Status: VERIFIED FIXED    
Severity: normal    
Priority: High    
Version: 1.2   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: gplflash-0.4.12.ebuild

Description Klaus Kusche 2002-09-08 10:16:30 UTC
gplflash is compiled assuming that sound is always present.

When mozilla calls the gplflash plugin and no sound is present, an error message
"open dsp: ..." is printed on the starting terminal, and mozilla crashes with a
SIGSEGV immediately afterwards.

As far as I can tell, gplflash offers an option -DNOSOUND to compile without
sound, but the ebuild never uses that option, even if it is obvious from the use
flags that the machine has no sound.
Comment 1 Matthew Kennedy (RETIRED) gentoo-dev 2002-12-14 00:11:07 UTC
assigned
Comment 2 Heinrich Wendel (RETIRED) gentoo-dev 2004-03-13 09:02:47 UTC
any status?
Comment 3 Klaus Kusche 2004-03-15 12:31:49 UTC
I'm currently no longer using this package, but had a quick look at the ebuild and did a ebuild compile.

Situation unchanged: It still doesn't compile the package with -DNOSOUND, although there is no sound software at all on my system (and all sound-related flags are explicitely turned off in my USE settings).
Comment 4 Jeremy Huddleston (RETIRED) gentoo-dev 2004-05-13 11:37:12 UTC
not a sound package... reassigning based on ChangeLog
Comment 5 Markus Rothe (RETIRED) gentoo-dev 2004-10-25 02:45:04 UTC
I've done a new ebuild (thx for help goes to genstef).

It includes the -DNOSOUND flag is also a version bump to 0.4.12.

markus
Comment 6 Markus Rothe (RETIRED) gentoo-dev 2004-10-25 02:45:58 UTC
Created attachment 42548 [details]
gplflash-0.4.12.ebuild

the ebuild
Comment 7 Markus Rothe (RETIRED) gentoo-dev 2004-11-03 07:33:08 UTC
ebuild is now in portage:

KEYWORDS="-ppc64 ~x86 ~ppc ~sparc ~amd64"

to bad.. segmention faults on ppc64.. :-/

Markus
Comment 8 Markus Rothe (RETIRED) gentoo-dev 2004-11-03 07:33:28 UTC
closing..
Comment 9 Luca Guglielmetti 2005-06-03 04:18:21 UTC
Segmentation fault for me too..

#  emerge info 
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20041102-r1, 2.6.11.11 i686)
=================================================================
System uname: 2.6.11.11 i686 AMD Athlon(tm) XP 2200+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Apr 28 2005, 18:00:35)]
dev-lang/python:     2.3.5
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.16
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -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/share/config
/usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo/"
LANG="it_IT@euro"
LINGUAS="it"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X aalib alsa apache2 apm avi berkdb bitmap-fonts c++ cdr crypt
cups curl directfb divx4linux dvd emboss encode esd fam fbdev flac foomaticdb
fortran gaim gd gdbm gif gmail gpm gtk gtk2 imagemagick imap imlib java jpeg
junit libg++ libwww live mad maildir mikmod mmx motif mp3 mpeg mysql nas ncurses
network nls ogg oggvorbis opengl oss pam pdflib perl png python qt quicktime
readline rtc sdl slang spell sse ssl svg svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts vorbis xine xml xml2 xmms xv zlib linguas_it
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS

software used:
net-www/gplflash 0.4.13
www-client/mozilla-firefox 1.0.4


reproducible: always

steps tu reproduce: open with firefox a web site with an swf animation, for example 
http://web.ticino.com/guglie/pub/flash/flashMX/fisica/elastico/elastico.html:
firefox crash with the follwing message:

$ firefox   
No running windows found
NP_Initialize
New
SetWindow
SetWindow
NewStream
WriteReady
Write
decoding...
WriteReady
Write
Zlib data error : unknown compression method
Unable to read ZLIB data
WriteReady
Write
/usr/libexec/mozilla-launcher: line 547: 12849 Segmentation fault      "$mozbin"
"$@"
firefox-bin exited with non-zero status (139)