Closed
Bug 232896
Opened 22 years ago
Closed 22 years ago
Java plugin causes Mozilla 1.6 to crash
Categories
(Core Graveyard :: Java: OJI, defect)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 211786
People
(Reporter: jimlane, Assigned: yuanyi21)
Details
User-Agent:
Build Identifier: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.6) Gecko/20040202
I've built Mozilla 1.6 from source of Solaris 8. Everything seems to work fine
except for the Java plugin. When I make the symlink to the plugins directory the
browser will crash on startup. Depending on the version of the plugin I'm trying
to use I get either a "Bus error" or
"INTERNAL ERROR on Browser End: No manager for initializing factory?".
I did the build using GCC rather than Forte. Does this matter? I think not
because I did a source build of Firebird 0.7 with the same GCC and the java
plugin works fine.
Anyway, how do I figure out which version of the plugin I need to use?
Let me know if you need more information about how I did this.
My about:buildconfig looks like:
Build platform
target
sparc-sun-solaris2.8
Build tools
Compiler Version Compiler flags
gcc gcc version 3.2 -Wno-long-long -pedantic -I/pkgs/gtk-1.2/gtk-1.2.7/include
-I/pkgs/gtk-1.2/glib-1.2.7/sparc-sun-solaris2.5.1/lib/glib/include
-I/pkgs/libIDL/include -pthreads
c++ gcc version 3.2 -fno-rtti -fno-exceptions -Wno-long-long -pedantic
-fshort-wchar -pthreads -I/local/X11R5/include
Configure arguments
--prefix=/h/20/jimlane/mozilla --exec-prefix=/h/20/jimlane/mozilla/solaris
--disable-xprint --disable-debug --enable-optimize=-O2 --enable-strip
--enable-crypto
Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Updated•22 years ago
|
Summary: Java plugin causes Mozilla 1.6 to crash → Java plugin causes Mozilla 1.6 to crash
Updated•22 years ago
|
Assignee: nobody → kyle.yuan
Component: Build Config → Java: OJI
This probably is the compiler-mismatch issue. Have you tried to build mozilla
using Forte or gcc 2.9x?
OS: other → SunOS
Hardware: Other → Sun
Comment 2•22 years ago
|
||
Hi,
I have the experience, that mozilla is woriking better on Solaris, if it is
compiled with the Sun Compiler included all plugins.
I use Sun One 8 with the java plugin (j2sdk1.4.2_02)
(In reply to comment #1)
> This probably is the compiler-mismatch issue. Have you tried to build mozilla
> using Forte or gcc 2.9x?
I built it with gcc 2.9x. The whole shooting match works fine, except for the
java plugin. Even the flash plugin worked fine. Argh!
(In reply to comment #2)
> Hi,
>
> I have the experience, that mozilla is woriking better on Solaris, if it is
> compiled with the Sun Compiler included all plugins.
>
> I use Sun One 8 with the java plugin (j2sdk1.4.2_02)
Manuel: i was worried that that might be the case. I've started trying a rebuild
with Forte but I'm running into problems with libraries and what not. Right now
it says it can't run the gtk test program, notwithstanding the fact that I
specified --disable-tests. Argh!
Comment 5•22 years ago
|
||
Hi Jim,
I used to get that Bus Error problem when i was missing dependencies for Java.
I did'nt have '/usr/java/lib' in my LD_LIBRARY_PATH and '/usr/bin' was'nt in my
PATH. When i included them in my Mozilla startup script the plugin worked fine.
I have the symbolic link to the java plugin in my Mozilla plugins folder and
it's working fine on Mozilla 1.6.
I like to explecitly define PATH and LD_LIBRARY_PATH in my Mozilla startup
scripts as it make's it easier to track down these kinds of problems.
*** This bug has been marked as a duplicate of 211786 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Updated•22 years ago
|
OS: SunOS → Solaris
QA Contact: build-config → java.oji
You need to log in
before you can comment on or make changes to this bug.
Description
•