Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50881 - mozilla/java-plugin crashes when trying to load a page with java-applet
Summary: mozilla/java-plugin crashes when trying to load a page with java-applet
Status: RESOLVED DUPLICATE of bug 43492
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-12 13:44 UTC by Micha Riser
Modified: 2005-07-17 13:06 UTC (History)
1 user (show)

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


Attachments
hs_err_pidXXXX.log from crashing sun-jdk (hs_err_pid12675.log,4.15 KB, text/plain)
2004-05-12 13:45 UTC, Micha Riser
Details
Error log after mozilla crash on opening java applet. (hs_err_pidX.log,4.14 KB, text/plain)
2004-05-16 07:08 UTC, Tobias Sager
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Micha Riser 2004-05-12 13:44:27 UTC
mozilla 1.6-r1 (custom build), happens as well with mozilla-firefox-bin 0.8
sun-jdk 1.4.2.04-r1, happens as well with blackdown (i.e. the javaplugin_oji.so symlinked to the blackdown version)

# ls -l /usr/lib/nsbrowser/plugins/libjavaplugin_oji.so
lrwxrwxrwx    1 root     root           70 12. Mai 22:31 /usr/lib/nsbrowser/plugins/libjavaplugin_oji.so -> /opt/sun-jdk-1.4.2.04/jre/plugin/i386/ns610-gcc32/libjavaplugin_oji.so

The hs_err_pidXXXX.log is attached.

The ouput looks quite similar to what reported in bug 43492 / 47343. I use grsec, the entries in the logfile are:
May 12 22:11:51 [kernel] grsec: signal 11 sent to (java_vm:27646) UID(500) EUID(500), parent (mozilla-bin:31457) UID(500) EUID(500)
May 12 22:11:51 [kernel] grsec: signal 6 sent to (java_vm:27646) UID(500) EUID(500), parent (mozilla-bin:31457) UID(500) EUID(500)

But it does not look like a grsec problem to me.

Reproducible: Always
Steps to Reproduce:
1. Install mozilla, install sun-jdk
2. go to webpage with java-applet (e.g. http://settlers.cs.northwestern.edu/)
3.

Actual Results:  
mozilla crashed

Expected Results:  
running the applet

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.25-gentoo-r2)
=================================================================
System uname: 2.4.25-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.00GHz
Gentoo Base System version 1.4.9
distcc 2.13 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O2 -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.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/lib/mozilla/defaults/pref /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="-march=pentium4 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://sunsite.cnlab-switch.ch/mirror/gentoo/
http://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr cjk crypt cups dvd encode esd
foomaticdb gdbm ggi gif gnome gphoto2 gpm gtk gtk2 gtkhtml guile imlib java jpeg
kde libg++ libwww mad mikmod motif mozilla moznocompose moznoirc moznomail mpeg
ncurses nls oggvorbis opengl oss pam pcmcia pdflib perl png pnp python qt
quicktime readline sdl slang spell sse ssl svga tcltk tcpd tetex truetype x86
xml2 xmms xv zlib"
Comment 1 Micha Riser 2004-05-12 13:45:52 UTC
Created attachment 31293 [details]
hs_err_pidXXXX.log from crashing sun-jdk
Comment 2 Micha Riser 2004-05-16 02:18:32 UTC
OK, it definitely IS a kernel issue. The java-plugins runs when I run my "old" kernel gentoo-2.4.20 but crashes with my "new" kernel gentoo-2.4.25. So it may well be  a gsecurity problem... I'll check the exact differences between the two kernels.
Comment 3 Tobias Sager 2004-05-16 07:07:10 UTC
I also get a crash (both with blackdown and sun jdk).
Attaching my error log.

This is my info:
<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>
Comment 4 Tobias Sager 2004-05-16 07:08:20 UTC
Created attachment 31525 [details]
Error log after mozilla crash on opening java applet.

Try for example: http://map24.ch
Comment 5 Tobias Sager 2004-05-22 01:45:14 UTC
This seems to be duplicate to bug 43492.
Recompiling my kernel without grsec solves this problem.
Comment 6 Mike Jing 2004-06-28 17:39:59 UTC
What should I do if I use mm-sources?  2.6.7-mm2 to be exact.
Comment 7 Nathan W. Labadie 2004-07-15 12:34:15 UTC
Same problem here with both the Blackdown and Sun versions of java. This happens with both Mozilla and Firefox. Both browsers show the plugin as active when viewing about:plugins. I'm currently using kernel 2.6.8-rc1. Firefox/Mozilla both give the following error when they crash:

---snip---
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable
---snip---

Running it in gdb gives the following (sorry, I'm a n00b at gdb):

---snip---
INTERNAL ERROR on Browser End: Could not read ack from child process
System error?:: Resource temporarily unavailable

Program exited with code 0377.
---snip---

Comment 8 Tobias Sager 2004-12-14 00:17:12 UTC
Duplicate of bug 43492.
Comment 9 Aron Griffis (RETIRED) gentoo-dev 2005-03-23 12:03:21 UTC

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