Closed Bug 282159 Opened 20 years ago Closed 20 years ago

communication from Java applet to JavaScript precipitates crash of mozilla-bin

Categories

(Core Graveyard :: Java: OJI, defect)

1.7 Branch
PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: chenrich, Assigned: yuanyi21)

Details

(Whiteboard: [sigtrap])

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20040910
Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.7.3) Gecko/20040910

This applet responds to a mouse-click by calling a JavaScript function in the
enclosing document.  That function puts up an alert box.  When the alert box is
closed, mozilla-bin crashes.

Reproducible: Always

Steps to Reproduce:
1. Make an Xcode project including the attached files. Build Dummy.jar.
2. Run exampl1.html on Mozilla.
3. Click the mouse inside the colored square. an alert box appears.
4. dismiss the alert box by clicking on "OK."
Actual Results:  
Mozilla-bin crashes.

Expected Results:  
close the alert box.
Two TalkBack IDs:

TB3679935G
TB3678618M
Incident ID: 3679935
Stack Signature	0x06f2c3e8 32e58e1d
Product ID	Mozilla17
Build ID	2004091002
Trigger Time	2005-02-13 16:58:37.0
Platform	MacOSX
Operating System	Darwin 7.8.0
Module	
URL visited	
User Comments	Examining an HTML page, whihc contains an applet, which
communicates to a JavaScript function. This communication apparently causes
mozilla-bin to crash.
Since Last Crash	2030 sec
Total Uptime	101439 sec
Trigger Reason	SIGTRAP: Trace Trap: (signal 5)
Source File, Line No.	N/A
Stack Trace 	
0x06f2c3e8
0x06f2ce30
0x06f2ce30
0x06f2ce30
0x06f2ce30
0x06f2cfb0
0x06f2cfb0
0x06f2cfb0
0x06f2cfb0
0x06f2cfb0
0x06f2ce30
0x06f2cfb0
0x06f2cfb0
0x06f2cfb0
0x06f2a16c
libhotspot.dylib.1.0.0 + 0x1aff8 (0x96f3aff8)
libhotspot.dylib.1.0.0 + 0x3c448 (0x96f5c448)
libhotspot.dylib.1.0.0 + 0x790a8 (0x96f990a8)
libhotspot.dylib.1.0.0 + 0x89970 (0x96fa9970)
libhotspot.dylib.1.0.0 + 0x12e70c (0x9704e70c)
libhotspot.dylib.1.0.0 + 0x74e04 (0x96f94e04)
libhotspot.dylib.1.0.0 + 0x1d290c (0x970f290c)
libSystem.B.dylib.71.1.1 + 0x246e8 (0x900246e8)
Assignee: general → kyle.yuan
Component: General → Java: OJI
Product: Mozilla Application Suite → Core
QA Contact: general
Whiteboard: [sigtrap]
Version: unspecified → 1.7 Branch
I installed the latest version of JavaEmbeddingPlugin, and now this applet works
just fine.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Status: RESOLVED → UNCONFIRMED
Resolution: FIXED → ---
(In reply to comment #5)
Just to confirm, which version crashed for you?  Were you using the Java plugin
available at http://javaplugin.sourceforge.net?  And then just upgraded to the
latest version?  Or was it crashing with the Java 1.3.1 plugin?
Chris wrote:
I had been using version 0.8.3 of the Java embedding plugin. Upgrading
to version 0.9.0 fixed both 282159 and 282162.

-> WORKSFORME
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago20 years ago
Resolution: --- → WORKSFORME
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: