Closed Bug 56560 Opened 24 years ago Closed 24 years ago

browser crashes when loading jvm

Categories

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

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED DUPLICATE of bug 57046

People

(Reporter: stevek, Assigned: edburns)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux 2.2.16-3 i686; en-US; m18) Gecko/20001010 BuildID: 2000101309 When loading the JVM (visiting a page with an applet for the first time), the browser crashes. This is happening with this build (2000101309), but did not happen with 2000101021 or M18. Reproducible: Always Steps to Reproduce: Install browser. Start browser. Install JVM. Restart browser. Visit any Java-containing web page (i.e. live.horizonlive.com, or java.sun.com). Actual Results: browser crash Expected Results: load page and applet Here is a stack trace from the main thread: #0 0x40ab1d2a in JavaPluginInstance5::SetWindow () from /opt/mozilla/v2000101309/package/plugins/java2/plugin/i386/libjavaplugin_oji.so #1 0x40a0fd5f in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgkplugin.so #2 0x40e77e01 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #3 0x40e77211 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #4 0x40e732a8 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #5 0x40e513cd in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #6 0x40e51217 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #7 0x40e51086 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #8 0x40e50f4b in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #9 0x40e4fcd8 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #10 0x40e4f60a in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #11 0x40e4e1e5 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #12 0x40e552a9 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #13 0x40e54dc0 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #14 0x40e5097f in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #15 0x40e4f9c2 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #16 0x40e4f60a in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #17 0x40e4e1e5 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #18 0x40e57d57 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #19 0x40e660ac in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #20 0x41008310 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #21 0x41007c83 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #22 0x41005c58 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #23 0x40ff49f1 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #24 0x41005c58 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #25 0x410099c5 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #26 0x40e93d06 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #27 0x40e93f35 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #28 0x40e93d47 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #29 0x41005c58 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #30 0x41013f62 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #31 0x40e93421 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #32 0x40e57d57 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #33 0x40e91dab in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #34 0x40e6748d in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #35 0x40e82ce5 in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #36 0x40e829eb in NSGetModule () from /opt/mozilla/v2000101309/package/components/libgklayout.so #37 0x400c35d3 in PL_HandleEvent () from /opt/mozilla/vlatest/package/libxpcom.so #38 0x400c34f6 in PL_ProcessPendingEvents () from /opt/mozilla/vlatest/package/libxpcom.so #39 0x400c424d in nsEventQueueImpl::ProcessPendingEvents () from /opt/mozilla/vlatest/package/libxpcom.so #40 0x404c810f in NSGetModule () from /opt/mozilla/v2000101309/package/components/libwidget_gtk.so #41 0x404c7ecd in NSGetModule () from /opt/mozilla/v2000101309/package/components/libwidget_gtk.so #42 0x40668afa in g_io_unix_dispatch (source_data=0x824d9f8, current_time=0xbffff514, user_data=0x80bb028) at giounix.c:135 #43 0x4066a1b6 in g_main_dispatch (dispatch_time=0xbffff514) at gmain.c:656 #44 0x4066a781 in g_main_iterate (block=1, dispatch=1) at gmain.c:877 #45 0x4066a921 in g_main_run (loop=0x824da40) at gmain.c:935 #46 0x405928e9 in gtk_main () from /usr/lib/libgtk-1.2.so.0 #47 0x404c85fc in NSGetModule () from /opt/mozilla/v2000101309/package/components/libwidget_gtk.so #48 0x404618da in inflate_mask () from /opt/mozilla/v2000101309/package/components/libnsappshell.so #49 0x804e185 in JS_PushArguments () #50 0x804e5a6 in JS_PushArguments () #51 0x402619cb in __libc_start_main (main=0x804e49c <JS_PushArguments+11736>, argc=1, argv=0xbffff714, init=0x804b234 <_init>, fini=0x8054988 <_fini>, rtld_fini=0x4000ae60 <_dl_fini>, stack_end=0xbffff70c) at ../sysdeps/generic/libc-start.c:92
WFM 2000101309 linux.
Crashes for me linux 2000101512, optimized as well as debug build. Here's a stack trace with resolved symbols, obtained from trying to run the JDK 1.2 sorting demo applet from the local disk. InstantiateEmbededPlugin for application/x-java-vm Inside nsPluginHostImpl::FindStoppedPluginForURL... Create instance called in JavaPluginFactory5!!!!!!!! Succeeding in creating proxy Register Env [0] proxyenv=141496528 tid=134663320 initilizing the java plugin instantance Program received signal SIGSEGV, Segmentation fault. 0x424efd2a in ?? () from /usr2/src/mozilla-new/java2/plugin/i386/libjavaplugin_oji.so (gdb) shared libgklayout.so Reading symbols from /usr2/src/mozilla-new/OBJ/dist/bin/components/libgklayout.s o...done. (gdb) shared libgkplugin.so Reading symbols from /usr2/src/mozilla-new/OBJ/dist/bin/components/libgkplugin.s o...done. (gdb) shared libjavaplugin_oji.so Reading symbols from /usr2/src/mozilla-new/java2/plugin/i386/libjavaplugin_oji.s o...done. (gdb) bt #0 0x424efd2a in JavaPluginInstance5::SetWindow () from /usr2/src/mozilla-new/java2/plugin/i386/libjavaplugin_oji.so #1 0x40ef87e0 in nsPluginHostImpl::InstantiateEmbededPlugin () at ../../../dist/include/nsIPageSequenceFrame.h:112 #2 0x41438bb7 in nsObjectFrame::InstantiatePlugin (this=0x866afe8, aPresContext=0x86e99f0, aMetrics=@0xbfffc21c, aReflowState=@0xbfffc258, aPluginHost=0x80ae4dc, aMimetype=0x867df18 "application/x-java-vm", aURL=0x8592048) at ../../../../../mozilla/layout/html/base/src/nsObjectFrame.cpp:948 #3 0x41438200 in nsObjectFrame::Reflow (this=0x866afe8, aPresContext=0x86e99f0, aMetrics=@0xbfffc21c, aReflowState=@0xbfffc258, aStatus=@0xbfffc394) at ../../../../../mozilla/layout/html/base/src/nsObjectFrame.cpp:768 #4 0x41431ac3 in nsLineLayout::ReflowFrame (this=0xbfffc450, aFrame=0x866afe8, aNextRCFrame=0xbfffcd24, aReflowStatus=@0xbfffc394, aMetrics=0x0, aPushedFrame=@0xbfffc390) at ../../../../../mozilla/layout/html/base/src/nsLineLayout.cpp:919 #5 0x413f53ec in nsBlockFrame::ReflowInlineFrame (this=0x866aca0, aState=@0xbfffccac, aLineLayout=@0xbfffc450, aLine=0x8708df8, aFrame=0x866afe8, aLineReflowStatus=0xbfffc3f3 "") at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:4360 #6 0x413f509d in nsBlockFrame::DoReflowInlineFrames (this=0x866aca0, aState=@0xbfffccac, aLineLayout=@0xbfffc450, aLine=0x8708df8, aKeepReflowGoing=0xbfffca44, aLineReflowStatus=0xbfffc8e3 "\002", aUpdateMaximumWidth=0, aDamageDirtyArea=0) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:4245 #7 0x413f4e5f in nsBlockFrame::DoReflowInlineFramesAuto (this=0x866aca0, aState=@0xbfffccac, aLine=0x8708df8, aKeepReflowGoing=0xbfffca44, aLineReflowStatus=0xbfffc8e3 "\002", aUpdateMaximumWidth=0, aDamageDirtyArea=0) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:4177 #8 0x413f4c31 in nsBlockFrame::ReflowInlineFrames (this=0x866aca0, aState=@0xbfffccac, aLine=0x8708df8, aKeepReflowGoing=0xbfffca44, aDamageDirtyArea=0, aUpdateMaximumWidth=0) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:4124 #9 0x413f2ed5 in nsBlockFrame::ReflowLine (this=0x866aca0, aState=@0xbfffccac, aLine=0x8708df8, aKeepReflowGoing=0xbfffca44, aDamageDirtyArea=0) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:3260 #10 0x413f22de in nsBlockFrame::ReflowDirtyLines (this=0x866aca0, aState=@0xbfffccac) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:2949 #11 0x413ef963 in nsBlockFrame::Reflow (this=0x866aca0, aPresContext=0x86e99f0, aMetrics=@0xbfffd25c, aReflowState=@0xbfffcfe8, aStatus=@0xbfffd154) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:1740 #12 0x413fc6d8 in nsBlockReflowContext::DoReflowBlock (this=0xbfffd21c, aReflowState=@0xbfffcfe8, aReason=eReflowReason_Initial, aFrame=0x866aca0, aSpace=@0xbfffd160, aApplyTopMargin=1, aPrevBottomMargin=0, aIsAdjacentWithTop=0, aComputedOffsets=@0xbfffd170, aFrameReflowStatus=@0xbfffd154) at ../../../../../mozilla/layout/html/base/src/nsBlockReflowContext.cpp:561 #13 0x413fc0c9 in nsBlockReflowContext::ReflowBlock (this=0xbfffd21c, aFrame=0x866aca0, aSpace=@0xbfffd160, aApplyTopMargin=1, aPrevBottomMargin=0, aIsAdjacentWithTop=0, aComputedOffsets=@0xbfffd170, aFrameReflowStatus=@0xbfffd154) at ../../../../../mozilla/layout/html/base/src/nsBlockReflowContext.cpp:331 #14 0x413f4384 in nsBlockFrame::ReflowBlockFrame (this=0x866a950, aState=@0xbfffd65c, aLine=0x866b898, aKeepReflowGoing=0xbfffd3f4) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:3877 #15 0x413f2a30 in nsBlockFrame::ReflowLine (this=0x866a950, aState=@0xbfffd65c, aLine=0x866b898, aKeepReflowGoing=0xbfffd3f4, aDamageDirtyArea=1) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:3142 #16 0x413f22de in nsBlockFrame::ReflowDirtyLines (this=0x866a950, aState=@0xbfffd65c) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:2949 #17 0x413ef963 in nsBlockFrame::Reflow (this=0x866a950, aPresContext=0x86e99f0, aMetrics=@0xbfffdc0c, aReflowState=@0xbfffd998, aStatus=@0xbfffdb04) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:1740 #18 0x413fc6d8 in nsBlockReflowContext::DoReflowBlock (this=0xbfffdbcc, aReflowState=@0xbfffd998, aReason=eReflowReason_Dirty, aFrame=0x866a950, aSpace=@0xbfffdb10, aApplyTopMargin=1, aPrevBottomMargin=0, aIsAdjacentWithTop=1, aComputedOffsets=@0xbfffdb20, aFrameReflowStatus=@0xbfffdb04) at ../../../../../mozilla/layout/html/base/src/nsBlockReflowContext.cpp:561 #19 0x413fc0c9 in nsBlockReflowContext::ReflowBlock (this=0xbfffdbcc, aFrame=0x866a950, aSpace=@0xbfffdb10, aApplyTopMargin=1, aPrevBottomMargin=0, aIsAdjacentWithTop=1, aComputedOffsets=@0xbfffdb20, aFrameReflowStatus=@0xbfffdb04) at ../../../../../mozilla/layout/html/base/src/nsBlockReflowContext.cpp:331 #20 0x413f4384 in nsBlockFrame::ReflowBlockFrame (this=0x865ef68, aState=@0xbfffe00c, aLine=0x866a9c4, aKeepReflowGoing=0xbfffdda4) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:3877 #21 0x413f2a30 in nsBlockFrame::ReflowLine (this=0x865ef68, aState=@0xbfffe00c, aLine=0x866a9c4, aKeepReflowGoing=0xbfffdda4, aDamageDirtyArea=1) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:3142 #22 0x413f22de in nsBlockFrame::ReflowDirtyLines (this=0x865ef68, aState=@0xbfffe00c) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:2949 #23 0x413ef963 in nsBlockFrame::Reflow (this=0x865ef68, aPresContext=0x86e99f0, aMetrics=@0xbfffe3f8, aReflowState=@0xbfffe354, aStatus=@0xbfffe740) at ../../../../../mozilla/layout/html/base/src/nsBlockFrame.cpp:1740 #24 0x41400d84 in nsContainerFrame::ReflowChild (this=0x865e074, aKidFrame=0x865ef68, aPresContext=0x86e99f0, aDesiredSize=@0xbfffe3f8, aReflowState=@0xbfffe354, aX=0, aY=0, aFlags=0, aStatus=@0xbfffe740) at ../../../../../mozilla/layout/html/base/src/nsContainerFrame.cpp:693 #25 0x4141d01a in CanvasFrame::Reflow (this=0x865e074, aPresContext=0x86e99f0, aDesiredSize=@0xbfffe70c, aReflowState=@0xbfffe52c, aStatus=@0xbfffe740) at ../../../../../mozilla/layout/html/base/src/nsHTMLFrame.cpp:301 #26 0x41643353 in nsBoxToBlockAdaptor::Reflow (this=0x865eefc, aState=@0xbfffec44, aPresContext=0x86e99f0, aDesiredSize=@0xbfffe70c, aReflowState=@0xbfffeda8, aStatus=@0xbfffe740, aX=0, aY=0, aWidth=14256, aHeight=14274, aMoveFrame=1) at ../../../../../mozilla/layout/xul/base/src/nsBoxToBlockAdaptor.cpp:866 #27 0x41642a3c in nsBoxToBlockAdaptor::DoLayout (this=0x865eefc, aState=@0xbfffec44) at ../../../../../mozilla/layout/xul/base/src/nsBoxToBlockAdaptor.cpp:525 #28 0x4163fafa in nsBox::Layout (this=0x865eefc, aState=@0xbfffec44) at ../../../../../mozilla/layout/xul/base/src/nsBox.cpp:1000 #29 0x4162512e in nsScrollBoxFrame::DoLayout (this=0x865e154, aState=@0xbfffec44) at ../../../../../mozilla/layout/xul/base/src/nsScrollBoxFrame.cpp:377 #30 0x4163fafa in nsBox::Layout (this=0x865e18c, aState=@0xbfffec44) at ../../../../../mozilla/layout/xul/base/src/nsBox.cpp:1000 #31 0x41645937 in nsContainerBox::LayoutChildAt (aState=@0xbfffec44, aBox=0x865e18c, aRect=@0xbfffeb0c) at ../../../../../mozilla/layout/xul/base/src/nsContainerBox.cpp:593 #32 0x41468eee in nsGfxScrollFrameInner::LayoutBox (this=0x85edf18, aState=@0xbfffec44, aBox=0x865e18c, aRect=@0xbfffeb0c) at ../../../../../mozilla/layout/html/base/src/nsGfxScrollFrame.cpp:1029 #33 0x4146914f in nsGfxScrollFrameInner::Layout (this=0x85edf18, aState=@0xbfffec44) at ../../../../../mozilla/layout/html/base/src/nsGfxScrollFrame.cpp:1109 #34 0x41468f50 in nsGfxScrollFrame::DoLayout (this=0x865e0ac, aState=@0xbfffec44) at ../../../../../mozilla/layout/html/base/src/nsGfxScrollFrame.cpp:1037 #35 0x4163fafa in nsBox::Layout (this=0x865e0e4, aState=@0xbfffec44) at ../../../../../mozilla/layout/xul/base/src/nsBox.cpp:1000 #36 0x41654ab5 in nsBoxFrame::Reflow (this=0x865e0ac, aPresContext=0x86e99f0, aDesiredSize=@0xbfffee54, aReflowState=@0xbfffeda8, aStatus=@0xbfffefbc) at ../../../../../mozilla/layout/xul/base/src/nsBoxFrame.cpp:786 #37 0x414681ca in nsGfxScrollFrame::Reflow (this=0x865e0ac, aPresContext=0x86e99f0, aDesiredSize=@0xbfffee54, aReflowState=@0xbfffeda8, aStatus=@0xbfffefbc) at ../../../../../mozilla/layout/html/base/src/nsGfxScrollFrame.cpp:741 #38 0x41400d84 in nsContainerFrame::ReflowChild (this=0x865e038, aKidFrame=0x865e0ac, aPresContext=0x86e99f0, aDesiredSize=@0xbfffee54, aReflowState=@0xbfffeda8, aX=0, aY=0, aFlags=0, aStatus=@0xbfffefbc) at ../../../../../mozilla/layout/html/base/src/nsContainerFrame.cpp:693 #39 0x41466084 in ViewportFrame::Reflow (this=0x865e038, aPresContext=0x86e99f0, aDesiredSize=@0xbffff040, aReflowState=@0xbfffef18, aStatus=@0xbfffefbc) at ../../../../../mozilla/layout/html/base/src/nsViewportFrame.cpp:545 #40 0x4141ebce in nsHTMLReflowCommand::Dispatch (this=0x8687f88, aPresContext=0x86e99f0, aDesiredSize=@0xbffff040, aMaxSize=@0xbffff020, aRendContext=@0x876c098) at ../../../../../mozilla/layout/html/base/src/nsHTMLReflowCommand.cpp:145 #41 0x4144d894 in PresShell::ProcessReflowCommands (this=0x867df38, aInterruptible=1) at ../../../../../mozilla/layout/html/base/src/nsPresShell.cpp:5107 #42 0x41755593 in ReflowEvent::HandleEvent (this=0x86df048) at ../../../../../mozilla/layout/html/base/src/nsPresShell.cpp:4993 #43 0x4144d3fe in HandlePLEvent (aEvent=0x86df048) at ../../../../../mozilla/layout/html/base/src/nsPresShell.cpp:5004 #44 0x4012e313 in PL_HandleEvent (self=0x86df048) at ../../../mozilla/xpcom/threads/plevent.c:576 #45 0x4012e100 in PL_ProcessPendingEvents (self=0x8077300) at ../../../mozilla/xpcom/threads/plevent.c:509 #46 0x40130201 in nsEventQueueImpl::ProcessPendingEvents (this=0x80772c8) at ../../../mozilla/xpcom/threads/nsEventQueue.cpp:356 #47 0x4103e46a in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr2/src/mozilla-new/OBJ/dist/bin/components/libwidget_gtk.so #48 0x4103e049 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr2/src/mozilla-new/OBJ/dist/bin/components/libwidget_gtk.so #49 0x40702c10 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr/lib/libglib-1.2.so.0 #50 0x407042d9 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr/lib/libglib-1.2.so.0 #51 0x407048e3 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr/lib/libglib-1.2.so.0 #52 0x40704a7c in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr/lib/libglib-1.2.so.0 #53 0x4062ad97 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr/lib/libgtk-1.2.so.0 #54 0x4103ec05 in ?? () at ../../../dist/include/nsIPageSequenceFrame.h:112 from /usr2/src/mozilla-new/OBJ/dist/bin/components/libwidget_gtk.so #55 0x4212a451 in ?? () from /usr2/src/mozilla-new/OBJ/dist/bin/components/libnsappshell.so #56 0x80564e8 in main1 (argc=1, argv=0xbffff634, nativeApp=0x0) at ../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:1015 #57 0x8056c31 in main (argc=1, argv=0xbffff634) at ../../../mozilla/xpfe/bootstrap/nsAppRunner.cpp:1196 (gdb) (The location given in frame #1 is likely bogus, no idea why.) This smells of yet another subtly incompatible change in the plugin interface which has happened during the last week or so :-( Another thing to note: I can bring up the JVM from the Java console menu first, then it crashes at the first applet like above.
*** Bug 56735 has been marked as a duplicate of this bug. ***
Seems to be still present in 2000101521
*** This bug has been marked as a duplicate of 57046 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
verified.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.