Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44772 - Mozilla Firefox crashes when opening a Java applet
Summary: Mozilla Firefox crashes when opening a Java applet
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-15 14:14 UTC by Charles Noneman
Modified: 2004-06-26 12:22 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 Charles Noneman 2004-03-15 14:14:22 UTC
Going to any site with a Java applet using Mozilla Firefox 0.8 will cause Firefox to crash. I am using the plugin that came with blackdown-jdk 1.4.2_rc1. The plugin works on Mozilla 1.6.

Reproducible: Always
Steps to Reproduce:
1. Emerge Firefox and Blackdown JDK
2. Fix the symlink so it points to /opt/blackdown-jdk-1.4.2_rc1/jre/plugin/amd64/mozilla/libjavaplugin_oji.so
3. Go to a site with an applet

Actual Results:  
Firefox stops taking any input. I have to force close it.

Expected Results:  
Ran the applet

These two lines were added to /var/log/messages after the crash:
Mar 15 16:32:33 CN64 java_vm[5742]: segfault at 0000007fbffe9d48 rip
0000002a991d0b0c rsp 0000007fbffefd48 error 6
Mar 15 16:32:33 CN64 java_vm[5742]: segfault at 0000007fbffe8fc0 rip
0000002a991d0b0c rsp 0000007fbffeefc0 error 6

Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.4-gentoo)
=================================================================
System uname: 2.6.4-gentoo x86_64 4
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.8
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="x86_64-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 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.noved.org/ http://mirrors.tds.net/gentoo
http://mirror.tucdemonic.org/gentoo/ http://adelie.polymtl.ca/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 apache2 apm arts avi berkdb cdr crypt cups dvd dvdr encode
foomaticdb gdbm gif gnome gpm gtk gtk2 gtkhtml imlib ipv6 java jpeg libg++
libwww mikmod motif mozilla mpeg multilib mysql ncurses nls oggvorbis opengl oss
pam pdflib perl png ppds python quicktime readline samba sdl slang spell ssl
tcpd tiff truetype unicode usb videos x xml xml2 xmms xv zlib"
Comment 1 Kris Kersey (RETIRED) gentoo-dev 2004-03-16 08:35:29 UTC
Can you give us a web address as an example to try?
Comment 2 Charles Noneman 2004-03-16 09:00:00 UTC
http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html
I started firefox from a terminal and got this message when I killed firefox after going to that site: /usr/lib/MozillaFirefox/run-mozilla.sh: line 451: 12615 Killed                  "$prog" ${1+"$@"}
Comment 3 larry schuler 2004-03-23 05:30:28 UTC
This works fine on my machine (amd64, gentoo-dev-sources 2.6.4-r1, blackdown-jdk-1.4.2.rc1, firefox 0.8)

emerge info top lines:

bash-2.05b# emerge info
Portage 2.0.50-r1 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.4-gentoo-r1)
=================================================================
System uname: 2.6.4-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.3.13
Comment 4 Aron Griffis (RETIRED) gentoo-dev 2004-04-25 20:13:19 UTC
Works fine on x86, reassigning to amd64
Comment 5 Tobias Sager 2004-05-16 07:09:48 UTC
I can crash mine on x86 when opening address from comment 2.

<snip>
Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.2.5-r2,2.3.2-r9, 2.4.25-gentoo-r2)
=================================================================
System uname: 2.4.25-gentoo-r2 i686 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
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="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache fixpackages sandbox userpriv"
GENTOO_MIRRORS="ftp://ftp.solnet.ch/mirror/Gentoo http://sunsite.cnlab-switch.ch/mirror/gentoo/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://gentoo.inode.at/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage.local"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X aalib acpi alsa apm avi berkdb bonobo cdr crypt cups dga directfb dvd encode esd ethereal fbcon foomaticdb gdbm ggi gif gphoto2 gpm gtk gtk2 gtkhtml guile imlib ipv6 java jpeg libg++ libwww mad mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcmcia pda pdflib perl png pnp python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tiff truetype trusted usb x86 xface xfs xml xml2 xmms xv zlib"
</snip>

See also bug 50881.
Comment 6 Jason Huebel (RETIRED) gentoo-dev 2004-05-21 10:30:37 UTC
user confirms this also crashes on x86 (athlon-xp) as well. reassigning to mozilla group. This one seems to be bouncing back and forth, but the common thread is that it's a mozilla issue. :-)
Comment 7 Tobias Sager 2004-05-22 01:45:29 UTC
This seems to be duplicate to bug 43492.
Recompiling my kernel without grsec solves this problem.
Comment 8 Charles Noneman 2004-06-26 12:22:33 UTC
Firefox 0.9 fixes the problem for me.