Closed Bug 197881 Opened 23 years ago Closed 21 years ago

Mozilla on Solaris crashes when a page with a Java applet is loaded

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Solaris
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: elf, Assigned: joshua.xia)

References

()

Details

(Keywords: crash)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; Q312461) Build Identifier: Mozilla 1.3 Solaris 8 downloaded March 17th Mozilla crashes when a page with a Java applet is loaded with the following error message: Plugin: unexpected work request from child INTERNAL ERROR on Browser End: Code = f60006 System error?:: Error 0 Reproducible: Always Steps to Reproduce: 1. Load a page containing a Java applet (http://www.ee.ryerson.ca/~elf/abacus/intro.html) 2. Mozilla crashes/exits 3. I'm using the following wrapper for mozilla: # Environment wrapper for mozilla on Solaris. /usr/local/bin/mozilla is a lin k to this file. -elf VER=`uname -r` MOZILLA_HOME=/usr/local/mozilla-1.3 export MOZILLA_FIVE_HOME=$MOZILLA_HOME export LD_LIBRARY_PATH=/usr/local/lib:/usr/openwin/lib:$MOZILLA_HOME:/usr/local/libIDL/lib exec $MOZILLA_HOME/mozilla -splash $* ------------------------------------------ in /usr/local/mozilla-1.3/plugins/ I have the following link: libjavaplugin_oji.so->/usr/local/java/jre/plugin/sparc/ns610/libjavaplugin_oji.so /usr/local/java is a link to /usr/local/j2sdk1.4.1/
oji
Assignee: idk → joshua.xia
Component: Java-Implemented Plugins → OJI
QA Contact: avm → dsirnapalli
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.5a; MultiZilla v1.4.0.4A) Gecko/20030621, java version "1.4.1_03" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.1_03-b02) Java HotSpot(TM) Client VM (build 1.4.1_03-b02, mixed mode) Symlinked plugin as alluded to in http://www.mozilla.org/releases/mozilla1.4rc2/#java. Instant crash when visiting java page, browser will not start. If there were some comments here from the Mozilla team, I might be tempted to spend some time debugging.....
Could it be related to 210270, which is more Linux specific? If so, release notes need updating, etc. And Sun will also need to ship a 1.4.2 JRE for Solaris x86 (IIRC, there's only a 1.4.1, and I can't get to java.sun.com at the moment for some reason)....
HMmmm. Updated the JRE, linked the new plugin. Same result.... 19796/1: stat64("/opt/mozilla/plugins/libnullplugin.so", 0x08045FD4) = 0 19796/1: getdents64(9, 0x081B1530, 8192) = 0 19796/1: resolvepath("/opt/mozilla/plugins/libjavaplugin_oji.so", "/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", 1024) = 53 19796/1: stat64("/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", 0x08045FD4) = 0 19796/1: access("/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", 0) = 0 19796/1: xstat(2, "/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", 0x08045A3C) = 0 19796/1: open("/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", O_RDONLY) = 10 19796/1: fxstat(2, 10, 0x08045A3C) = 0 19796/1: mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0) = 0xDCE80000 19796/1: mmap(0x00000000, 294912, PROT_READ|PROT_EXEC, MAP_PRIVATE, 10, 0) = 0xDC180000 19796/1: mmap(0xDC1C2000, 6796, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 10, 204800) = 0xDC1C2000 19796/1: mmap(0xDC1C4000, 15244, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE|MAP_FIXED|MAP_ANON, -1, 0) = 0xDC1C4000 19796/1: munmap(0xDC1B3000, 61440) = 0 19796/1: resolvepath("/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", "/usr/j2re1.4.2/plugin/i386/ns610/libjavaplugin_oji.so", 1023) = 53 19796/1: memcntl(0xDC180000, 54424, MC_ADVISE, MADV_WILLNEED, 0, 0) = 0 19796/1: close(10) = 0 19796/1: xstat(2, "/opt/mozilla/libXt.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/opt/mozilla/plugins/libXt.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/local/lib/mre/mre-1.5a/libXt.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/lib/libXt.so.4", 0x080459F0) = 0 19796/1: xstat(2, "/opt/mozilla/libX11.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/opt/mozilla/plugins/libX11.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/local/lib/mre/mre-1.5a/libX11.so.4", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/lib/libX11.so.4", 0x080459F0) = 0 19796/1: xstat(2, "/opt/mozilla/libdl.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/opt/mozilla/plugins/libdl.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/local/lib/mre/mre-1.5a/libdl.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/lib/libdl.so.1", 0x080459F0) = 0 19796/1: xstat(2, "/opt/mozilla/libc.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/opt/mozilla/plugins/libc.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/local/lib/mre/mre-1.5a/libc.so.1", 0x080459F0) Err#2 ENOENT 19796/1: xstat(2, "/usr/lib/libc.so.1", 0x080459F0) = 0 19796/1: mprotect(0xDC180000, 206084, PROT_READ|PROT_WRITE|PROT_EXEC) = 0 19796/1: mprotect(0xDC180000, 206084, PROT_READ|PROT_EXEC) = 0 19796/1: munmap(0xDCE80000, 4096) = 0 19796/1: Incurred fault #6, FLTBOUNDS %pc = 0x0000FFE4 19796/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x0000FFE4 19796/1: Received signal #11, SIGSEGV [caught] 19796/1: siginfo: SIGSEGV SEGV_MAPERR addr=0x0000FFE4 19796/1: sigprocmask(SIG_SETMASK, 0x08045D60, 0x00000000) = 0 19796/1: unlink("/export/home/peterl/.mozilla/peterl/4bunesve.slt/lock") = 0 19796/1: _exit(11) 19783: waitid(P_PID, 19796, 0x08046C50, WEXITED|WTRAPPED|WNOWAIT) = 0 19783: ioctl(0, TIOCGPGRP, 0x08046CC0) = 0 19783: ioctl(0, TCGETS, 0x08077F0C) = 0 19783: waitid(P_PID, 19796, 0x08046C50, WEXITED|WTRAPPED) = 0 19783: brk(0x0807D148) = 0 19783: brk(0x0807CF48) = 0 19783: _exit(11) FWIW, I've got all the latest patches running on my Solaris system as well.... Help :)
Keywords: crash
OS: other → Solaris
Hardware: Other → PC
Would it be safe to assume that Mozilla and the JRE have been built with different compilers (eg, GCC 3.2.x for Moz, GCC 2.9.x for JRE)..... Is this a Java or a Mozilla bug then?
Luis, is this still an issue for you? I have no trouble using mozilla with the java plugin on solaris, but it is necessary to use version of the plugin built with the same compiler as the mozilla binary.
No response from the reporter. Resolving worksforme.
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → WORKSFORME
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.