Closed
Bug 64652
Opened 24 years ago
Closed 24 years ago
browser crashes when page with applet is printed in absence of java plugin
Categories
(Core Graveyard :: Plug-ins, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: shrir, Assigned: serhunt)
References
()
Details
trunk build 20010108 linux (also seen on branch) Steps: 1 Go to the above url 2 Click 'Cancel' on the download java plugin dialog. 3 Print the webpage 4 Observe that the browser crashes.
Comment 1•24 years ago
|
||
The printing API in the module needs to handle this.
Assignee: dcone → edburns
Component: Printing → OJI
This is a plugin bug.
Assignee: edburns → av
Component: OJI → Plug-ins
Comment 3•24 years ago
|
||
Using yeterday's pull on Linux, I do not crash. Note: this site redirects to http://www.awayirs.com Shrir, can you try to reproduce with a more recent build and if it still crashes, attach a stack trace? Thanks!
Reporter | ||
Comment 5•24 years ago
|
||
no longer happening on the linux branch and trunk builds (0129). Seems to have got fixed. I just verified it. Closing as WFM..
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
I tried it on Linux, but since I did not have a printer configured, I saw an error message on console, saying printer not found, the browser was not crashed. Then I tried it on Solaris with printer configured, when printing a page with applet (i.e., java.sun.com), it crashed, see log and stack below. I suspect if my Linux had a printer configured, it would crash too. Should this bug be reopened? Crash log and stack: ... nsWidget::~nsWidget() of toplevel: 36 widgets still exist. WEBSHELL- = 4 ###!!! ASSERTION: no window in frame tree: 'nsnull != window', file nsFrame.cpp, line 2056 ###!!! Break: at file nsFrame.cpp, line 2056 InstantiateEmbededPlugin for application/x-java-vm Inside nsPluginHostImpl::FindStoppedPluginForURL... For * found plugin NONE Inside ns4xPluginInstance::Start(void)... ###!!! ASSERTION: no super window!: 'mSuperWin', file nsWindow.cpp, line 2552 ###!!! Break: at file nsWindow.cpp, line 2552 InstantiateEmbededPlugin.. returning Inside ns4xPluginInstance::SetWindow(a4f700)... About to create new ws_info... Gtk-WARNING **: invalid cast from (NULL) pointer to `GtkXtBin' Program received signal SIGSEGV, Segmentation fault. 0xfb629a8c in ns4xPluginInstance::SetWindow (this=0x6c8ce0, window=0xa4f700) at ns4xPluginInstance.cpp:622 622 ws->display = GTK_XTBIN(mXtBin)->xtdisplay; (gdb) where #0 0xfb629a8c in ns4xPluginInstance::SetWindow (this=0x6c8ce0, window=0xa4f700) at ns4xPluginInstance.cpp:622 #1 0xfbb95774 in nsObjectFrame::DidReflow (this=0xa41d34, aPresContext=0x45e868, aStatus=1) at nsObjectFrame.cpp:1228 #2 0xfbb8c408 in nsLineLayout::ReflowFrame (this=0xffbe7be8, aFrame=0xa41d34, aNextRCFrame=0xffbe6ff8, aReflowStatus=@0xffbe7ac0, aMetrics=0x0, aPushedFrame=@0xffbe6ebc) at nsLineLayout.cpp:1116 #3 0xfbb841c8 in nsInlineFrame::ReflowInlineFrame (this=0xb3f9d0, aPresContext=0x45e868, aReflowState=@0xffbe7158, irs=@0xffbe6ff8, aFrame=0xa41d34, aStatus=@0xffbe7ac0) at nsInlineFrame.cpp:597 #4 0xfbb83948 in nsInlineFrame::ReflowFrames (this=0xb3f9d0, aPresContext=0x45e868, aReflowState=@0xffbe7158, irs=@0xffbe6ff8, aMetrics=@0xffbe7118, aStatus=@0xffbe7ac0) at nsInlineFrame.cpp:412 ...
Reporter | ||
Comment 7•24 years ago
|
||
hmm, works fine with or without an applet on the page for me. Joe, I hope you are using a recent nightly..Thanks. Feel free to reopen if you think this is still happening on a recent build. Thanks!
Does your Linux have a printer configured? Did you print out a page with applet but without Java plugin linked, Shrirang?
Reporter | ||
Comment 9•24 years ago
|
||
yep my linux has a printer configured but I printed a page with an applet and the java plugin linked.
Comment 10•24 years ago
|
||
Try it without Java plugin (unlike libplugin_oji.so in .../mozilla/dist/bin/plugins, i.e., move it to somewhere else), I believe it'll crash.
Updated•2 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•