Closed Bug 412721 Opened 17 years ago Closed 17 years ago

Firefox 3.0b3pre latest crashes when printing Java applet

Categories

(Core Graveyard :: Java: Live Connect, defect, P2)

x86
Windows XP
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: danielle.pham, Unassigned)

References

()

Details

Attachments

(1 file)

103.97 KB, application/octet-stream
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011604 Minefield/3.0b3pre Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9b3pre) Gecko/2008011604 Minefield/3.0b3pre Firefox 3.0b3pre crashes when printing any Java applet. Steps to reproduce: - 3.0b3pre latest (today 1/16/08). - any version of Java (say, JRE 6 update 3 is the latest currently on http://java.com/). - Run any applet (say, select one from http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets.html) - Click File->Print I had verified this is the case on Windows XP, but have not checked on Solaris and Linux yet. This problem is a regression. I'm not sure when it started but if I revert back to FF3.0b2pre (build dated on 11/19/07), there'd be no crash during printing. Stepping into our code, I see that Plugin printing code went fine; the crash actually happened after handle is back to the browser side. Without a debug build of FF, a minidump collected (attached) also suggested the crash happened at xul!jsj_JavaInstanceMethodWrapper+0x2940b: We at Sun currently working on the new generation of Java Plugin. The new Java Plugin requires FF3.0. Note that, when you try with JRE 6u3, it is the classic OJI Java Plugin that will be used. But the problem is reproducible whether OJI Java Plugin or the new Java Plugin is used. This FF crash when printing applet prevents us from working on the printing capability in the new Java Plugin. So this regression is considered very serious for us. As I understand, there's recently some check-in on Firefox side in related to Plugin printing (to fix printing scaling problem. https://bugzilla.mozilla.org/show_bug.cgi?id=408623). I'm not saying that this crash is causing by 408623's fix, but it may worth a check. Also, because of this crash, so we are unable to verify fix 408623 with Java Plugin. Reproducible: Always Steps to Reproduce: Steps to reproduce: - 3.0b3pre latest (today 1/16/08). - any version of Java (say, JRE 6 update 3 is the latest currently on http://java.com/). - Run any applet (say, select one from http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets.html) - Click File->Print Actual Results: Crash Expected Results: Applet printing
Attached file crash minidump.
Flags: blocking-firefox3?
Priority: -- → P2
Component: General → Java: Live Connect
Flags: blocking-firefox3?
Product: Firefox → Core
QA Contact: general → live-connect
Flags: blocking1.9?
fyi, I couldn't reproduce a crasg on Fedora7 with Java 1.6.0_04-b12 with either bonecho or minefield but did some nasty assertions in minefield: ###!!! ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr', file ../../dist/include/xpcom/nsCOMPtr.h, line 594 and a Trying to position a sizeless window; caller should have called sizeToContent() or sizeTo(). See bug 75649. Error reading print pipe -5975
As mentioned, I've only tried on WinXP and the problem is reproducible always. Also, the crash only happens with FF3. FF2 printing of Java applet on WinXP works fine.
wfm with Java Plug-in 1.6.0_03 and Mozilla/5.0 (Windows; U; Windows NT 6.0; rv:1.9b3pre) Gecko/2008011602 SeaMonkey/2.0a1pre printing and FF3.0b2 to the MS XPS document writer
Crash problem is definitely reproducible for me on multiple machines. I tried on both WinXP professional SP2 and WinVista Ultimate, using: - FF3.0b3pre 01/17/08 build (http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-trunk/firefox-3.0b3pre.en-US.win32.installer.exe) - JRE 6u3 from java.com - Make sure you load an applet onto FF. Try this one: http://java.sun.com/products/plugin/1.5.0/demos/plugin/applets/Clock/example1.html - After applet loaded, do File->Print FF crashes whether printing to a real printer or to MS Doc Image Writer (*.mdi) on WinXP or to MS XPS Doc Writer on WinVista. No crash when printing Java applet on WinXP or WinVista if FF3.0b2pre (build dated 12/12/07 or 11/19/07) is used. Also, no crash with FF3b3pre if you just do File->Print WITHOUT loading any java applet. Please contact me if you still cannot reproduce problem.
Vlad any chance this is related to the -GL changes?
Flags: blocking1.9? → blocking1.9+
Could be, could we get a breakpad report? If not I'll give this a shot on my winxp box.
Still crashing on a build from today? Could be a dupe of bug 411369.
Verified: problem is fixed with 01/22/08 build. Thank you.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
verified fixed using Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9pre) Gecko/2008050606 Minefield/3.0pre ID:2008050606 no crash on steps to reproduce from danielle and also verified per comment #9 --> Verified fixed
Status: RESOLVED → VERIFIED
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: