Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55594 - dev-java/blackdown-jdk 1.4.2_rc1 + net-www/mozilla-firefox 0.x segfaults on advanced java applets
Summary: dev-java/blackdown-jdk 1.4.2_rc1 + net-www/mozilla-firefox 0.x segfaults on a...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Java team
URL: http://spil.tv2.dk/hjerterfri/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-29 10:10 UTC by Henrik Bidstrup
Modified: 2004-11-17 13:59 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 Henrik Bidstrup 2004-06-29 10:10:16 UTC
64bit enviroment.
FireFox 0.9-r1 is compiled with java support and "about:plugins" shows java active.
http://www.lemonadegame.com/ works fine
but a more advanced java applet like on this site(Danish online Hearts game)
http://spil.tv2.dk/hjerterfri/
makes Java and Firefox Segfault. It also happens on my internet banking and other complicated java applets.

Jun 27 01:52:54 alpha java_vm[1998]: segfault at 0000002ae580fee8 rip 0000002a959210dc rsp 0000002ae580fef0 error 6
Jun 27 01:56:01 alpha firefox-bin[2227]: segfault at 0000000001072000 rip 0000002a9742df5b rsp 0000007fbfffeab8 error 4

This might be a problem on x86 as well, if I am to believe the forums. But I haven't tested it.

Reproducible: Always
Steps to Reproduce:
1. Open http://spil.tv2.dk/hjerterfri/

Actual Results:  
Segfault, Firefox disappears

Expected Results:  
ermm... not crashed

System uname: 2.6.5-gentoo-r1 x86_64 5
ACCEPT_KEYWORDS="amd64"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
FEATURES="autoaddcvs ccache sandbox"
USE="X acl alsa amd64 crypt dga dvd dvdr encode gif imlib jpeg ncurses nls
oggvorbis opengl pam png sdl ssl tcltk tiff truetype xmms xvid"
Comment 1 Francisco Rodera 2004-07-05 06:53:27 UTC
"This might be a problem on x86 as well, if I am to believe the forums. But I haven't tested it."

I've tested it, and it crashes on x86 too.
Comment 2 Francisco Rodera 2004-07-05 06:57:29 UTC
Oops, i forgot to add my system info:

Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0,                            2.6.7-mm4)
=================================================================
System uname: 2.6.7-mm4 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mfpmath=sse,387 -O3 -pipe -fforce-addr -fomit-fra                           me-pointer -funroll-loops -falign-functions=32 -maccumulate-outgoing-args -                           ffast-math -fprefetch-loop-arrays -fPIC"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kd                           e/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mfpmath=sse,387 -O3 -pipe -fforce-addr -fomit-f                           rame-pointer -funroll-loops -falign-functions=32 -maccumulate-outgoing-args                            -ffast-math -fprefetch-loop-arrays -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub                           /Linux/distributions/gentoo"
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="X alsa apm avi berkdb cdr crypt dvd encode esd foomaticdb gdbm gif gpm                            gtk gtk2 imlib java jpeg libg++ libwww mad mikmod motif mpeg ncurses nls o                           ggvorbis opengl oss pam pdflib perl pic png python quicktime readline sdl s                           lang spell ssl svga tcltk tcpd truetype x86 xml2 xmms xv zlib"
Comment 3 Andy Daniels 2004-08-11 13:07:20 UTC
my error is a little different (but I'm pretty sure it's the same issue)

LoadPlugin() /opt/blackdown-jdk-1.4.2_rc1/jre/plugin/amd64/mozilla/libjavaplugin_oji.so returned 109c970
INTERNAL ERROR on Browser End: Could not get the JVM manager

System info:
[ebuild   R   ] dev-java/blackdown-jdk-1.4.2_rc1-r1
[ebuild   R   ] net-www/mozilla-firefox-0.9.3-r1
(I will try to test with alternate builds, and report back)

Portage 2.0.50-r9 (gcc34-amd64-2004.1, gcc-3.4.1, glibc-2.3.4.20040619-r1, 2.6.7
-gentoo-r13)
=================================================================
System uname: 2.6.7-gentoo-r13 x86_64 12
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-march=k8 -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/s
hare/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
x/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 alsa amd64 apm avi berkdb crypt debug divx4linux dvd dvdr encode foomatic
db gdbm gif gpm gtk gtk2 imlib jpeg libg++ mad mikmod mozilla mpeg ncurses nls n
ptl oggvorbis opengl pam pdflib perl png python qt quicktime readline rtc ruby s
amba sdl slang spell ssl tcpd theora truetype usb wmf xml2 xmms xv xvid zlib"
Comment 4 Andy Daniels 2004-08-13 16:28:43 UTC
I'm pretty sure my stated problem was due to no java use flag... recompiling firefox (now with oji support) leaves me with a far more similar problem.
Comment 5 Andy Daniels 2004-08-31 13:08:41 UTC
There has been very few comments on the blackdown mailing list, but it seems to be a consensus that crashes on more complex applets are definitely a blackdown (upstream for us) bug.  I think for the time being this bug should probably be closed given the suspected causes.
Comment 6 Aron Griffis (RETIRED) gentoo-dev 2004-11-13 16:37:53 UTC
Re-assigning to the java team in case they want to poke further at this.  At least I fixed the oji problem in the mozilla builds, Andy... ;-)
Comment 7 Andy Daniels 2004-11-17 11:46:26 UTC
There was an actual problem with the ebuilds?  I meant I was just being dumb, and forgot to add mozilla use flag, hehehe.  Anyway...  No one has been following up on this, very little talk on blackdowns mailing lists, not much relating to this (as I mentioned earlier).  There are several kernel versions which have problems with java in general, they might be worth mentioning here (development-sources 2.6.7, 2.6.8-rc1 and2.6.8-rc2 do not work reliably with Java).  Not to mention blackdown-jdk-1.4.2 final is out.  I think this was an upstream bug to begin with (other than the kernel issues).  I would advise someone with the power to do so close this bug.

cheers,
Andy-
Comment 8 Karl Trygve Kalleberg (RETIRED) gentoo-dev 2004-11-17 13:59:58 UTC
Try running the applet in the blackdown appletviewer.

If it does not crash the appletviewer, there's obviously some funky business on amd64 with the java interface between firefox and blackdown that we may be able to debug.

Will probably require building most packages with proper debugging info.