Closed Bug 73916 Opened 24 years ago Closed 23 years ago

Crash by clicking on a link; may be Java-related

Categories

(Core Graveyard :: Java: OJI, defect, P3)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 84093
mozilla0.9.6

People

(Reporter: mbialkowski, Assigned: joe.chou)

References

()

Details

(Keywords: crash)

At http://members.nbci.com/charleyx, a Java-based menu attempts to load in the left-hand frame. It fails to load. Clicking on the "Load HTML Menu" link, or even attempting to reload the frame, causes Mozilla to segfault. Using build 2001032809 and the Java 2 plugin available through http://home.netscape.com/plugins/jvm.html. The last few lines in the console leading up to the segfault: Document http://www.google.com/ loaded successfully Document http://www.google.com/search?q=X-men+mutatis loaded successfully JavaScript error: http://members.nbci.com/_XMCM/charleyx/footer.js line 10: unterminated string literal Document http://members.nbci.com/_XMCM/charleyx/jexplorer/popupchat.html loaded successfully Document http://members.nbci.com/charleyx/ loaded successfully /usr/local/mozilla/mozilla/run-mozilla.sh: line 72: 764 Segmentation fault $prog ${1+"$@"} Unfortunately, I don't have a debugger installed, and I probably wouldn't understand much of the output anyway. Sorry. But I hope this helps.
Severity: normal → critical
Keywords: crash
Here's the output from the java console: HTML Installation finished. Jar cache option: null Jar archive(s): null Jar cache version(s): null Applet Installation finished. Opening http://members.nbci.com/_XMCM/charleyx/jexplorer/TreeApp.class Connecting http://members.nbci.com/_XMCM/charleyx/jexplorer/TreeApp.class with proxy=webcache-cup.eng.sun.com:8080 Connecting http://members.nbci.com/_XMCM/charleyx/jexplorer/TreeApp.class with cookie " " java.lang.NullPointerException at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:749) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:520) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:326) at sun.net.www.protocol.http.HttpURLConnection.getHeaderField(HttpURLConnection.java:788) at sun.plugin.protocol.jdk12.http.HttpURLConnection.checkCookieHeader(HttpURLConnection.java:267) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(HttpURLConnection.java:324) at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:230) at sun.applet.AppletClassLoader.getBytes(AppletClassLoader.java:218) at sun.applet.AppletClassLoader.access$100(AppletClassLoader.java:41) at sun.applet.AppletClassLoader$1.run(AppletClassLoader.java:137) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:134) at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:221) at java.lang.ClassLoader.loadClass(ClassLoader.java:297) at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108) at java.lang.ClassLoader.loadClass(ClassLoader.java:253) at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:366) at sun.applet.AppletPanel.createApplet(AppletPanel.java:579) at sun.plugin.AppletViewer.createApplet(AppletViewer.java:1157) at sun.applet.AppletPanel.runLoader(AppletPanel.java:515) at sun.applet.AppletPanel.run(AppletPanel.java:293) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484)
I have confirmed this bug.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
p3
Priority: -- → P3
SPAM: reassigning all OJI bugs to new OJI QA, pmac ( 227 bugs)
QA Contact: shrir → pmac
Really strange url. I try it with IE 5.5 on NT and IE prompt a dialog and suggest to debug application. If I load this url using NS 4.72 on NT browser crashed and I get a feedback form. NS 4.7x on Linux and Solaris load this applet correctly and I can url by this applet. Neo any exception to console. Of course, NS4.7x using internal java jdk1.1.5. But if I load this url using Mozilla 0.9.3 on Linux with jre plugin 1.3.1 (Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3+) Gecko/20010827) applet works fine and I can load anither url's from this site using this applet. Also I loaded it using Mozilla 0.9.3 on NT with jre plugin 1.3.0_02(Mozilla/5.0 (Windows; U; WinNT4.0; en-US; rv:0.9.3+) Gecko/20010820) and applet also works fine. If I using mozilla on Linux and NT after this applet loaded, I try to close Mozilla using FIle->Quit and have an following exception to java console: java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThread) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:272 ) at java.security.AccessController.checkPermission(AccessController.java:399) at java.lang.SecurityManager.checkPermission(SecurityManager.java:545) at sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:109) at java.lang.Thread.checkAccess(Thread.java:1053) at java.lang.Thread.stop(Thread.java:572) at popup.stop(popup.java) at TreeApp.destroy(TreeApp.java) at sun.applet.AppletPanel.run(AppletPanel.java:387) at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:127) at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:123) at java.lang.Thread.run(Thread.java:484) IMHO : Looks like this applet is invalid, but it works with Mozilla on Linux.
Ressign to Joe Chou, as I am no longer working officially on OJI.
Assignee: edburns → joe.chou
Status: ASSIGNED → NEW
Target Milestone: --- → mozilla0.9.6
The original URL is now a 404
Reporter, can you please point to another testcase for this bug. Otherwise this bug should be closed as invalid.
Doing the following seems to take care of mozillla 0.9.5 crashing on links to java applets (thanks to manly): $ ulimit -s 2048 $ LD_ASSUME_KERNEL=2.2.5 $ export LD_ASSUME_KERNEL
*** This bug has been marked as a duplicate of 84093 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
Chris Petersen is a new QA contact for oji component. His email is: petersen@netscape.com
Assignee: joe.chou → petersen
fixing small error for pmac@netscape.com (filter with : SPAMMAILSUCKS)
Assignee: petersen → joe.chou
QA Contact: pmac → petersen
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.