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

Bug 121484

Summary: Firefox crashes when using net-www/netscape-flash
Product: Gentoo Linux Reporter: Andreas Schäfer <gentryx>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED DUPLICATE    
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: FreeBSD   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andreas Schäfer 2006-02-03 15:58:49 UTC
[Overview:]
When I've emerged "net-www/netscape-flash" and use firefox to visit a page containing flash (e.g. the login page at wolfemails.net) it will crash immediately after loading the page.

[Steps to Reproduce:]
1) emerge =net-www/netscape-flash-7.0.61
2) emerge firefox
3) firefox http://wolfemails.net

[Actual Results:]
Firefox crashes

[Expected Results:]
It should be a good boy and display the web page.

[Additional Information:]
When crashing, Firefox always leaves this error log:
---------8<---SNIP-------->8--------

For application/x-shockwave-flash found plugin /opt/netscape/plugins/libflashplayer.so
LoadPlugin() /opt/netscape/plugins/libflashplayer.so returned 8d872e8
nsPluginNativeWindowGtk2: NPPVpluginNeedsXEmbed=0
nsPluginNativeWindowGtk2: call SetWindow with xid=0x2a0214c
About to create new ws_info...
About to create new xtbin of 1 X 1 from 0x902da18...
About to show xtbin(0x90077d8)...
completed gtk_widget_show(0x90077d8)
nsPluginNativeWindowGtk2: NPPVpluginNeedsXEmbed=0
nsPluginNativeWindowGtk2: call SetWindow with xid=0x2a0214c
The program 'Gecko' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 89 error_code 8 request_code 146 minor_code 3)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
nsStringStats
 => mAllocCount:          45347
 => mReallocCount:        10528
 => mFreeCount:           34160  --  LEAKED 11187 !!!
 => mShareCount:          51293
 => mAdoptCount:           5009
 => mAdoptFreeCount:       4789  --  LEAKED 220 !!!
firefox-bin exited with non-zero status (1)

---------8<---SNIP-------->8--------

I've tried out the following versions of Firefox and they all exhibit the same (crash-)behaviour:
  mozilla-firefox-1.0.7-r4.ebuild
  mozilla-firefox-1.5-r11.ebuild
  mozilla-firefox-1.5-r9.ebuild
The flash version I've been using was "net-www/netscape-flash-7.0.61". 

[Steps to Avoid the Problem:]
(I wish it would always be so easy...) 
The crashes stop when I unmerge net-www/netscape-flash and reappear when I remerge the package. 

Can anybody confirm this? If yes we should perhaps define a block between these two packages. Please see also https://bugzilla.mozilla.org/show_bug.cgi?id=317209

Regards!
-Andreas

ps: before I forget -- emerge --info yields:
Portage 2.1_pre4-r1 (default-linux/x86/2005.1, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo-r1 i686)
=================================================================
System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.12.0_pre13
dev-lang/python:     2.3.5, 2.4.2
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-r1
sys-devel/binutils:  2.15.92.0.2-r1, 2.16.1-r1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -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.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/"
LANG="de_DE@euro"
LINGUAS="de en"
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="3dnow X aac acpi alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts cdr crypt cups dba divx4linux doc dvd dvdread eds emacs emboss encode exif f77 foomaticdb fortran gdbm gif gnome gpm gstreamer gtk gtk2 imlib ipv6 java jpeg kde libg++ libwww lirc mad mikmod mjpeg mmx motif mp3 mpeg musicbrainz mysql ncurses nls nsplugin nvidia ogg oggvorbis opengl oss pam pdflib perl png ppds python qt quicktime readline ruby sdl session slang spell sqlite sse ssl svga tcpd threads tiff truetype truetype-fonts type1-fonts usb vorbis x86 xml2 xmms xprint xscreensaver xv xvid zlib elibc_glibc kernel_linux linguas_de linguas_en userland_GNU"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LC_ALL, LDFLAGS
Comment 1 Jory A. Pratt 2006-02-05 05:15:17 UTC
Have ya tested with a clean profile? I just loaded page fine using nspluginwrapper for 64bit firefox using 32bit plugins without a problem.
Comment 2 Andreas Schäfer 2006-02-05 07:40:46 UTC
Yes, I've tried a clean profile but still got the same error. However, I'm running    a 32 bit system (Athlon XP) and (as I've heard this might be important) a 16-bit color resolution.
Comment 3 Andreas Schäfer 2006-02-06 02:18:25 UTC
ok, i think i got to know what goes wrong:
https://bugzilla.mozilla.org/show_bug.cgi?id=317209
flash will only run in 24-bit mode or needs the environment var XLIB_SKIP_ARGB_VISUALS=1 

this might be a goog clue after having merged flash: "buddy! remember to set XLIB_SKIP_ARGB_VISUALS=1 if you're running xorg in a 16-bit mode"
Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-03-15 06:14:11 UTC

*** This bug has been marked as a duplicate of 99869 ***