Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Sep 2005 10:16:13 -0700
From:      Mike Hunter <mhunter@ack.berkeley.edu>
To:        Greg Lewis <glewis@eyesbeyond.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Java (jdk1.5) woes with firefox (1.0.6) and opera (8.5)
Message-ID:  <20050930171613.GC26743@malcolm.berkeley.edu>
In-Reply-To: <20050928194514.GA20631@misty.eyesbeyond.com>
References:  <20050928190349.GA72194@malcolm.berkeley.edu> <20050928194514.GA20631@misty.eyesbeyond.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sep 28, "Greg Lewis" wrote:

> On Wed, Sep 28, 2005 at 12:03:49PM -0700, Mike Hunter wrote:
> > I recently upgraded to jdk1.5.0 in (perhaps foolhearty) search of a better
> > java plugin experience.  Now unfortunately both firefox and opera crash
> > hard when exposed to java pages.
> > 
> > For firefox, I get:
> > 
> > --------------------------------------------------------------------
> > #
> > # An unexpected error has been detected by HotSpot Virtual Machine:
> > #
> > #  SIGSEGV (0xb) at pc=0x35bb9adc, pid=57515, tid=0x822e000
> > #
> > # Java VM: Java HotSpot(TM) Client VM (1.5.0-p2-root_27_sep_2005_14_45 mixed mode)
> > # Problematic frame:
> > # C  [libmawt.so+0xd6adc]  processTree+0x284
> 
> This is a known problem (see recent posts to freebsd-java).  There isn't
> a solution yet.  I didn't see this with my plugin testing, but quite a
> few people are hitting it.

I'll keep my eye out for updates, maybe I'll even subscribe to -java :)
Let me know if I can help with anything.

> > For opera, I get:
> > 
> > --------------------------------------------------------------------
> > /usr/libexec/ld-elf.so.1: /usr/local/jdk1.5.0/jre/lib/i386/client/libjvm.so: Undefined symbol "__cxa_atexit"
> > --------------------------------------------------------------------
> > 
> > Interestingly for opera, the about box says "no java runtime installed", but
> > the java preference has a validated path to the JRE....
> 
> Interesting.  I've never gotten the plugin to work with Opera.  It would
> be nice to figure it out.  It looks like you may be able to get it a little
> further with an appropriate LD_PRELOAD.

I may look into it, but I'm more interested in having it work with
firefox; I was just hoping opera would be the easy way out :)

> > Versions:  jdk1.5.0, firefox 1.0.6, opera 8.50
> 
> Out of interest, what FreeBSD version and what versions of X and OpenMotif?

I'm running Fbsd 5.4...I don't remember which version of X, only that I
built it after the Xorg switch.  I'll write again when I log into my fbsd
desktop again (I'm writing now because I feel guilty for not replying,
maybe I should have just waited :).)

> > Last but not least, a beginner question:  How do you run firefox in gdb?
> > I found firefox-bin, but it won't launch without the environment grooming
> > that its scriptup scripts perform, and I can't run gdb on the startup
> > script :(
> 
> Determine the environment variables you need to set from the start up
> script.  Set them.  Run gdb on firefox-bin.

I was afraid of that :(  I saw the other suggestion about attaching gdb
after launch, but in the past that's always crashed the application for
me...maybe I'll give it another try when.

Mike



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050930171613.GC26743>