Closed Bug 92626 Opened 23 years ago Closed 22 years ago

Browser crashes on pages herein

Categories

(Core Graveyard :: Java: OJI, defect)

x86
Linux
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: beanladen, Assigned: James.Melvin)

References

()

Details

(Whiteboard: [jpibug])

Attachments

(1 file)

Linux 2.4.6 /gcc 2.95 / build 2001071909

The browser crashes if you follow one of the links in the above
page (javascript ON, of course).

If you follow the underlying link the pedestrian way to /mx/isme.html 
(type it into the url bar), none of the sound examples work.
Do you have the java plugin installed?

No crash here, Solaris build 2001-07-26-22 with no Java plugin...
I am crashing on Linux with the Java2 plugin installed...

This site uses applets and the Java plugin, and the crash seems to be 
related to that. I crash on Linux with a Mozilla debug build (2001-07-14)
However, I don't crash on WinNT with a debug build from the same date.

On WinNT, I get a blank space in the page where the applet is 
supposed to run. It's a light-grey color in a rectangle at lower-left 
of the "SERENDIP Museum Exhibit window that comes up. 

I see this in the WinNT Java Console:

Gauss init
GaussAux constr
GaussAux init
SpectrumPlot init start
Gauss start
GaussAux start
java.security.AccessControlException: access denied (java.lang.RuntimePermission 
accessClassInPackage.sun.audio)
	at java.security.AccessControlContext.checkPermission(Unknown Source)
	at java.security.AccessController.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPermission(Unknown Source)
	at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
	at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
	at sun.applet.AppletClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClassInternal(Unknown Source)
	at SpectrumPlot.init(SpectrumPlot.java:406)
	at sun.applet.AppletPanel.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)


I will attach the Linux stack trace below -
On Linux: in the Mozilla debug console just before the crash:

Internal error: Null plugin manager
Program received signal SIGSEGV, Segmentation fault.
0x418c118d in ?? () from 
/u/pschwartau/system/plugins/Java2/plugin/i386/ns600/libjavaplugin_oji.so


Reassigning to Plug-ins component - 
Assignee: rogerl → av
Status: UNCONFIRMED → NEW
Component: Javascript Engine → Plug-ins
Ever confirmed: true
QA Contact: pschwartau → shrir
Attached file Linux stack trace
--> OJI
Assignee: av → edburns
Component: Plug-ins → OJI
Funny that it seems to be OJI... I had java 
TURNED OFF when that browser crashed !
Something wrong with the switches ??
4488240
Assignee: edburns → James.Melvin
Whiteboard: [jpibug]
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
I couldn't reproduce this bug on the following platforms and builds:
Linux: MOZILLA_0_9_2_BRANCH (sources from 08/21/2001)
       MOZILLA_0_9_3_BRANCH (sources from 08/20/2001)
       trunk build (obtained from ftp.mozilla.org -- latest build)

Solaris: MOZILLA_0_9_2_BRANCH (sources from 08/21/2001)

Browser does not crash.
I got the same exception mentioned in the above comments (WinNT) :

ava.security.AccessControlException: access denied (java.lang.RuntimePermission 
accessClassInPackage.sun.audio)
        at java.security.AccessControlContext.checkPermission(Unknown Source)
        at java.security.AccessController.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPermission(Unknown Source)
        at java.lang.SecurityManager.checkPackageAccess(Unknown Source)
        at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)
        at sun.applet.AppletClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
        at SpectrumPlot.init(SpectrumPlot.java:406)
        at sun.applet.AppletPanel.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)

I think this exception is caused by the rule that if
applet play *au files it must be signed (in Java 2)
i test with Mozilla 2002012508 on Debian 3.0

I found this in the file  plugin131_01.trace (plugins Java 1.3.1_01)

OJIPlugin acq Spontaneous pipe=10
Trying to enter spont monitor: 0
 OJIPlugin release
for:Thread[AWT-EventQueue-4,4,http://setiathome.ssl.berkeley.edu/davea/mx/-threadGroup]
OJIPlugin releasePipe - exiting spont monitor
java.security.PrivilegedActionException:
java.lang.reflect.InvocationTargetException: java.lang.NullPointerException
        at SpectrumPlot.voice(SpectrumPlot.java:445)
        at java.lang.reflect.Method.invoke(Native Method)
        at
sun.plugin.liveconnect.PrivilegedCallMethodAction.run(SecureInvocation.java:585)
        at java.security.AccessController.doPrivileged(Native Method)
        at
sun.plugin.liveconnect.SecureInvocation.CallMethod(SecureInvocation.java:276)
        at sun.plugin.navig.motif.AThread.handleRequest(Native Method)
        at sun.plugin.navig.motif.AThread.JNIHandleLoop(AThread.java:44)
        at sun.plugin.navig.motif.AThread.run(AThread.java:36)
                      PLUGIN ERROR 
                      ************ 
Java process: unexpected request ffffffff
I couldn't reproduce this crash on windows 98 and linux rehdat 6.2
(2002-01-28-06-trunk). However, there's an error occurred in js windows:

Gauss init

Gauss start

java.security.AccessControlException: access denied (java.lang.RuntimePermission
accessClassInPackage.sun.audio)

	at java.security.AccessControlContext.checkPermission(Unknown Source)

	at java.security.AccessController.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkPermission(Unknown Source)

	at java.lang.SecurityManager.checkPackageAccess(Unknown Source)

	at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)

	at sun.applet.AppletClassLoader.loadClass(Unknown Source)

	at java.lang.ClassLoader.loadClass(Unknown Source)

	at java.lang.ClassLoader.loadClassInternal(Unknown Source)

	at SpectrumPlot.init(SpectrumPlot.java:406)

	at sun.applet.AppletPanel.run(Unknown Source)

	at java.lang.Thread.run(Unknown Source)

Anyway, it works fine on netscape 4.x though.
I believe this bug is related to a more detailed bug 113957 
Blocks: 113957
WFM Mozilla 1.1a
Seems this can be closed now.
OK.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → WORKSFORME
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: