Closed Bug 512834 Opened 15 years ago Closed 14 years ago

Camino 1.6.X / SeaMonkey 1.1.x crashes loading any Java applet on OS X 10.6 [@registerNatives]

Categories

(Plugins Graveyard :: Java (Java Embedding Plugin), defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gws, Assigned: smichaud)

References

()

Details

(Keywords: crash)

Crash Data

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.23) Gecko/20090815 Camino/1.6.9 (like Firefox/2.0.0.23)
Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en; rv:1.8.1.23) Gecko/20090815 Camino/1.6.9 (like Firefox/2.0.0.23)

I have a local server (Linux based security camera thingie) that cannot be accessed outside of my local network.  When I try to view a video from a camera, Camino crashes hard.  The server has two options for viewing video, ActiveX (which won't work) and Java.  Java kills it.

Reproducible: Always

Steps to Reproduce:
1. you won't be able to reproduce without access to this local server
2.
3.
Actual Results:  
hard crash

Expected Results:  
I'd see the video from the camera

Console log
8/26/09 4:35:53 PM	Camino[5141]	Warning once: This application, or a library it uses, is using NSQuickDrawView, which has been deprecated. Apps should cease use of QuickDraw and move to Quartz.
8/26/09 4:36:03 PM	Camino[5141]	*** WARNING: Method runModalForWindow:relativeToWindow: in class NSApplication is deprecated. It will be removed in a future release and should no longer be used.
8/26/09 4:36:03 PM	Camino[5141]	*** WARNING: Method beginModalSessionForWindow:relativeToWindow: in class NSApplication is deprecated. It will be removed in a future release and should no longer be used.
8/26/09 4:36:25 PM	[0x0-0x2d42d4].org.mozilla.camino[5141]	JavaVM: requested Java version (1.5) not available. Using Java at "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home" instead.
8/26/09 4:36:26 PM	Camino[5141]	An uncaught exception was raised
8/26/09 4:36:26 PM	Camino[5141]	java.lang.NoClassDefFoundError: sun/plugin/javascript/webkit/JSObject
	at jep.AppletHandlerFactory.callRegisterNatives(Native Method)
	at jep.AppletHandlerFactory.initProperties(AppletHandlerFactory.java:254)
8/26/09 4:36:26 PM	Camino[5141]	*** Terminating app due to uncaught exception 'JavaNativeException', reason: 'java.lang.NoClassDefFoundError: sun/plugin/javascript/webkit/JSObject'
*** Call stack at first throw:
(
	0   CoreFoundation                      0x97af958a __raiseError + 410
	1   libobjc.A.dylib                     0x942e3f49 objc_exception_throw + 56
	2   CoreFoundation                      0x97b43af1 -[NSException raise] + 17
	3   JavaPluginCocoa                     0x20a9f93c registerNatives + 129
	4   JavaEmbeddingPlugin                 0x0e6dea65 Java_callRegisterNatives + 402
	5   ???                                 0x1400b839 0x0 + 335591481
)
8/26/09 4:36:29 PM	com.apple.launchd.peruser.502[178]	([0x0-0x2d42d4].org.mozilla.camino[5141]) Job appears to have crashed: Trace/BPT trap
8/26/09 4:36:30 PM	ReportCrash[5152]	Saved crash report for Camino[5141] version 1.6.9 (1609.08.15) to /Users/george/Library/Logs/DiagnosticReports/Camino_2009-08-26-163630_dadsiMac.crash


Note, I will attempt to attach the crash log generated

MacOS 10.6 Build 10A342
Camino 1.6.9
Attachment #396910 - Attachment mime type: application/octet-stream → text/plain
Steven, what's the 10.6-compat status of the JEP on the MOZILLA_1_8_BRANCH (looks like it's 0.9.6.4)?  (I'm not sure that's the issue here per se, but I'd like to know that information.)
Keywords: crash
(In reply to comment #2)
> what's the 10.6-compat status of the JEP on the MOZILLA_1_8_BRANCH

Not good; see bug 494246
Response to Comment #3

Both links kill Camino immediately.
it appears that Camino and Java 1.6 are not playing together well....
All versions of the JEP prior to 0.9.7 are incompatible with
SnowLeopard (they crash whenever you load any Java applet).

Try installing the latest JEP (0.9.7.2) from
http://javaplugin.sourceforge.net/.  For best results, you should
probably do the following:

Install the new JEP to your /Library/Internet Plug-Ins/ folder, then
remove older copy(ies) of the JEP from the Camino distro(s) you wish
to test.  For more information see the JEP Readme
(http://javaplugin.sourceforge.net/Readme.html).

JEP 0.9.7.2 should perhaps be bundled with 1.8-branch Camino and
Seamonkey, but there's one problem -- since 0.9.7, the JEP has only
supported OS X 10.4 and above, but Camino 1.6.X	and Seamonkey 1.1.X
support OS X 10.2 and above.
Assignee: nobody → smichaud
Component: Plug-ins → Java Embedding Plugin
Product: Camino → Core
QA Contact: plugins → java.jep
Summary: Camino crashes hard when a local web server is called to serve a video using java. Started occuring in 10.6 → Camino 1.6.X crashes loading any Java applet on OS X 10.6
Version: unspecified → 1.8 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true
I assume it's non-trivial to restore compatibility with 10.2 and 10.3 to the current JEPs ;)

Very shortly those Camino and SeaMonkey releases will exist solely for people on 10.3 (and also 10.2 in SeaMonkey's case), so I don't think we want to land a JEP that cripples Java for them, even though the greater inconvenience is to the likely-larger number of "early" adopters of 10.6.  Users with the newer OS should be moving to a newer app with a working-JEP-on-10.6 in the near future, and if the newer JEP is compatible with Gecko 1.8.1 under 10.6, the work-around in comment 7 should be bearable in the short term.
> I assume it's non-trivial to restore compatibility with 10.2 and
> 10.3 to the current JEPs ;)

Correct.

> if the newer JEP is compatible with Gecko 1.8.1 under 10.6

I did a fair amount of testing with 1.8-branch Camino/Seamonkey and
JEP 0.9.7.X on 10.6, and didn't see any major problems.
Adding the crash signatures from Breakpad to the summary so I can better track this in 2.0b3's crash-stats reports, too.

(To be clear: everything newer than 2.0b3 has JEP 0.9.7.2 and does not suffer from this crash, so this bug can remain about the 1_8 branch.)
Summary: Camino 1.6.X crashes loading any Java applet on OS X 10.6 → Camino 1.6.X crashes loading any Java applet on OS X 10.6 [@___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ ][@CoreFoundation@0x11cb07 ][@ __raiseError]
We shouldn't use___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ to
identify these crashes.  Doing so is just as pointless as using
nsObjCExceptionLogAbort() used to be (and for the same reason).

See bug 514269 comment #8.
Summary: Camino 1.6.X crashes loading any Java applet on OS X 10.6 [@___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ ][@CoreFoundation@0x11cb07 ][@ __raiseError] → Camino 1.6.X crashes loading any Java applet on OS X 10.6 [@registerNatives]
Changing summary to also include seamonkey.
Summary: Camino 1.6.X crashes loading any Java applet on OS X 10.6 [@registerNatives] → Camino 1.6.X / SeaMonkey 1.1.x crashes loading any Java applet on OS X 10.6 [@registerNatives]
Camino 1.6.10 appears to have simply disabled Java applets

Camino 2 beta declares a Java problem and doesn't run the applet.  Unfortunately, this particular applet is available only on my local domain, but there is still a Java problem.
Camino 2 release version seems to have fixed this issue
Both Camino and SeaMonkey have EOLed their 1.8.1 branch releases, so I think we can WONTFIX this now.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → WONTFIX
Component: Java Embedding Plugin → Java (Java Embedding Plugin)
Product: Core → Plugins
Version: 1.8 Branch → unspecified
Crash Signature: [@registerNatives]
Product: Plugins → Plugins Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: