Closed Bug 4103 Opened 26 years ago Closed 26 years ago

[PP] apprunner "File | New Browser Window" seg faults

Categories

(Core Graveyard :: Tracking, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: dharden, Assigned: slamm)

Details

running on Linux 2.2.2 on Debian Potato with glibc 2.1. build is 20-Mar-1999 from cvs.
Assignee: don → slamm
Target Milestone: M4
Re-assinged to slamm@netscape.com and set target milestone to M4.
Priority: P3 → P1
Changed priority to P1.
Status: NEW → ASSIGNED
Summary: apprunner segfaults with file|new browser window → apprunner "File | New Browser Window" seg faults
I see this with the following steps, 1. Start apprunner 2. "File / New Browser Window" 3. Close original window 4. "File / New Browser Window" Here's the stack trace, #0 gtk_type_check_object_cast (type_object=0x81aa028, cast_type=41493) at gtktypeutils.c:637 #1 0x4009c7b9 in nsWindow::GetNativeData (this=0x81a9ea0, aDataType=0) at /export/slamm/gecko/mozilla/widget/src/gtk/nsWindow.cpp:355 #2 0x400ded94 in nsRenderingContextGTK::Init (this=0x85db598, aContext=0x8172f70, aWindow=0x81a9ea0) at /export/slamm/gecko/mozilla/gfx/src/gtk/nsRenderingContextGTK.cpp:136 #3 0x400c0b56 in DeviceContextImpl::InitRenderingContext (this=0x8172f70, aContext=0x85db598, aWin=0x81a9ea0) at /export/slamm/gecko/mozilla/gfx/src/nsDeviceContext.cpp:222 #4 0x400c0a13 in DeviceContextImpl::CreateRenderingContext (this=0x8172f70, aView=0x81a9e38, aContext=@0xbfffdbf0) at /export/slamm/gecko/mozilla/gfx/src/nsDeviceContext.cpp:187 #5 0x404798a5 in PresShell::CreateRenderingContext (this=0x81bef28, aFrame=0x826ace0, aResult=0xbfffdc3c) at /export/slamm/gecko/mozilla/layout/html/base/src/nsPresShell.cpp:1347 #6 0x40479376 in PresShell::ProcessReflowCommands (this=0x81bef28) at /export/slamm/gecko/mozilla/layout/html/base/src/nsPresShell.cpp:1226 #7 0x40477b4b in PresShell::ExitReflowLock (this=0x81bef28) at /export/slamm/gecko/mozilla/layout/html/base/src/nsPresShell.cpp:668 #8 0x4047a5d5 in PresShell::AttributeChanged (this=0x81bef28, aDocument=0x8179500, aContent=0x8290b80, aAttribute=0x81bc4d0, aHint=-1) at /export/slamm/gecko/mozilla/layout/html/base/src/nsPresShell.cpp:1737 #9 0x40d65b94 in XULDocumentImpl::AttributeChanged (this=0x8179500, aChild=0x8290b80, aAttribute=0x81bc4d0, aHint=-1) at /export/slamm/gecko/mozilla/rdf/content/src/nsXULDocument.cpp:1527 #10 0x40d45966 in RDFElementImpl::UnsetAttribute (this=0x8290b70, aNameSpaceID=0, aName=0x81bc4d0, aNotify=1) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFElement.cpp:1961 #11 0x40d60321 in RDFXULBuilderImpl::RemoveAttribute (this=0x8176018, aElement=0x8290b80, aProperty=0x83d89e0, aValue=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFXULBuilder.cpp:1919 #12 0x40d5b450 in RDFXULBuilderImpl::OnUnassert (this=0x8176018, aSubject=0x8261058, aPredicate=0x83d89e0, aObject=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFXULBuilder.cpp:823 #13 0x40d23a03 in CompositeDataSourceImpl::OnUnassert (this=0x8175f80, subject=0x8261058, predicate=0x83d89e0, object=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/base/src/nsCompositeDataSource.cpp:1085 #14 0x40d286e3 in InMemoryDataSource::Unassert (this=0x81766b8, source=0x8261058, property=0x83d89e0, target=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/base/src/nsInMemoryDataSource.cpp:1444 #15 0x40d2f954 in RDFXMLDataSourceImpl::Unassert (this=0x8176648, source=0x8261058, property=0x83d89e0, target=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/base/src/nsRDFXMLDataSource.cpp:651 #16 0x40d73911 in LocalStoreImpl::Unassert (this=0x8176588, aSource=0x8261058, aProperty=0x83d89e0, aTarget=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/datasource/src/nsLocalStore.cpp:101 #17 0x40d2308e in CompositeDataSourceImpl::Unassert (this=0x82f6ee8, aSource=0x8261058, aProperty=0x83d89e0, aTarget=0x8260ce8) at /export/slamm/gecko/mozilla/rdf/base/src/nsCompositeDataSource.cpp:791 #18 0x40d5cd97 in RDFXULBuilderImpl::OnSetAttribute (this=0x853ec68, aElement=0x85da190, aName=@0xbfffe178, aValue=@0xbfffe0c0) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFXULBuilder.cpp:1237 #19 0x40d695ff in XULDocumentImpl::OnSetAttribute (this=0x832de68, aElement=0x85da190, aName=@0xbfffe178, aValue=@0xbfffe0c0) at /export/slamm/gecko/mozilla/rdf/content/src/nsXULDocument.cpp:2939 #20 0x40d4299a in RDFElementImpl::SetAttribute (this=0x85da190, aName=@0xbfffe178, aValue=@0xbfffe0c0) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFElement.cpp:867 #21 0x40d4641e in RDFElementImpl::AddBroadcastListener (this=0x85c2f90, attr=@0xbfffe178, anElement=0x85da190) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFElement.cpp:2291 #22 0x40d673d6 in XULDocumentImpl::CreateContents (this=0x832de68, aElement=0x85da1a0) at /export/slamm/gecko/mozilla/rdf/content/src/nsXULDocument.cpp:2145 #23 0x40d468ae in RDFElementImpl::EnsureContentsGenerated (this=0x85da190) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFElement.cpp:2394 #24 0x40d44052 in RDFElementImpl::ChildCount (this=0x85da190, aResult=@0xbfffe238) at /export/slamm/gecko/mozilla/rdf/content/src/nsRDFElement.cpp:1403 #25 0x4054e9cc in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x85da1a0, aFrame=0x85dbca8, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe2c0, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:504 #26 0x40554c17 in nsCSSFrameConstructor::ConstructXULFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85da1a0, aParentFrame=0x85da308, aTag=0x81bc448, aStyleContext=0x85dc140, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe458, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, haltProcessing=@0xbfffe378) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:2581 #27 0x40556053 in nsCSSFrameConstructor::ConstructFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85da1a0, aParentFrame=0x85da308, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe458, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3230 #28 0x4054ea61 in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d8728, aFrame=0x85da308, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe458, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:510 #29 0x40554c17 in nsCSSFrameConstructor::ConstructXULFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d8728, aParentFrame=0x85d7680, aTag=0x81bc500, aStyleContext=0x85d9f10, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe5f0, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, haltProcessing=@0xbfffe510) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:2581 #30 0x40556053 in nsCSSFrameConstructor::ConstructFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d8728, aParentFrame=0x85d7680, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe5f0, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3230 #31 0x4054ea61 in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d6d08, aFrame=0x85d7680, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe5f0, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:510 #32 0x40554c17 in nsCSSFrameConstructor::ConstructXULFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d6d08, aParentFrame=0x85d5578, aTag=0x81bc500, aStyleContext=0x85d7458, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe788, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, haltProcessing=@0xbfffe6a8) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:2581 #33 0x40556053 in nsCSSFrameConstructor::ConstructFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85d6d08, aParentFrame=0x85d5578, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe788, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3230 #34 0x4054ea61 in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c52f8, aFrame=0x85d5578, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe788, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:510 #35 0x40554c17 in nsCSSFrameConstructor::ConstructXULFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c52f8, aParentFrame=0x85c41d8, aTag=0x81bc500, aStyleContext=0x85d5320, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe920, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, haltProcessing=@0xbfffe840) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:2581 #36 0x40556053 in nsCSSFrameConstructor::ConstructFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c52f8, aParentFrame=0x85c41d8, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe920, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3230 #37 0x4054ea61 in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c3b60, aFrame=0x85c41d8, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffe920, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:510 #38 0x40554c17 in nsCSSFrameConstructor::ConstructXULFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c3b60, aParentFrame=0x85c2230, aTag=0x81bc500, aStyleContext=0x85c3fb0, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffeae8, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, haltProcessing=@0xbfffe9d8) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:2581 #39 0x40556053 in nsCSSFrameConstructor::ConstructFrame (this=0x853c228, aPresContext=0x82ee228, aContent=0x85c3b60, aParentFrame=0x85c2230, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffeae8, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3230 #40 0x4054ea61 in nsCSSFrameConstructor::ProcessChildren (this=0x853c228, aPresContext=0x82ee228, aContent=0x856db48, aFrame=0x85c2230, aAbsoluteItems=@0xbfffead0, aFrameItems=@0xbfffeae8, aFixedItems=@0xbfffec04, aFloatingItems=@0xbfffeadc, aCanHaveGeneratedContent=1) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:510 #41 0x40552a47 in nsCSSFrameConstructor::ConstructDocElementFrame ( this=0x853c228, aPresContext=0x82ee228, aDocElement=0x856db48, aParentFrame=0x85c1ed8, aParentStyleContext=0x85c1040, aNewFrame=@0xbfffec10, aFixedItems=@0xbfffec04) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:1709 #42 0x40556ffa in nsCSSFrameConstructor::ContentInserted (this=0x853c228, aPresContext=0x82ee228, aContainer=0x0, aChild=0x856db48, aIndexInContainer=0) at /export/slamm/gecko/mozilla/layout/html/style/src/nsCSSFrameConstructor.cpp:3677 #43 0x405e8931 in StyleSetImpl::ContentInserted (this=0x853c1e0, aPresContext=0x82ee228, aContainer=0x0, aChild=0x856db48, aIndexInContainer=0) at /export/slamm/gecko/mozilla/layout/base/src/nsStyleSet.cpp:747 #44 0x40478568 in PresShell::InitialReflow (this=0x853c290, aWidth=12300, aHeight=13000) at /export/slamm/gecko/mozilla/layout/html/base/src/nsPresShell.cpp:875 #45 0x40d6a1db in XULDocumentImpl::StartLayout (this=0x832de68) at /export/slamm/gecko/mozilla/rdf/content/src/nsXULDocument.cpp:3156 #46 0x40d659d6 in XULDocumentImpl::EndLoad (this=0x832de68) at /export/slamm/gecko/mozilla/rdf/content/src/nsXULDocument.cpp:1485 #47 0x40d7dd3a in XULContentSinkImpl::DidBuildModel (this=0x8537530, aQualityLevel=1) at /export/slamm/gecko/mozilla/rdf/datasource/src/nsXULContentSink.cpp:428 #48 0x406bc967 in CWellFormedDTD::DidBuildModel (this=0x856ce18, anErrorCode=0, aNotifySink=1, aParser=0x8537580, aSink=0x8537530) at /export/slamm/gecko/mozilla/htmlparser/src/nsWellFormedDTD.cpp:289 #49 0x406b563e in nsParser::DidBuildModel (this=0x8537580, anErrorCode=0) at /export/slamm/gecko/mozilla/htmlparser/src/nsParser.cpp:446 #50 0x406b6256 in nsParser::ResumeParse (this=0x8537580, aDefaultDTD=0x0) at /export/slamm/gecko/mozilla/htmlparser/src/nsParser.cpp:802 #51 0x406b5725 in nsParser::EnableParser (this=0x8537580, aState=1) at /export/slamm/gecko/mozilla/htmlparser/src/nsParser.cpp:518 #52 0x40d7e54a in XULContentSinkImpl::DoneLoadingStyle (aLoader=0x85753e0, aData=@0x8575400, aRef=0x85753a8, aStatus=0) at /export/slamm/gecko/mozilla/rdf/datasource/src/nsXULContentSink.cpp:650 #53 0x4026e123 in nsUnicharStreamLoader::OnStopBinding (this=0x85753e0, aURL=0x8577840, aStatus=0, aMsg=0xbfffef60) at /export/slamm/gecko/mozilla/network/module/nsNetStreamLoader.cpp:156 #54 0x4028f132 in nsDocumentBindInfo::OnStopBinding (this=0x857d450, aURL=0x8577840, aStatus=0, aMsg=0xbfffef60) at /export/slamm/gecko/mozilla/webshell/src/nsDocLoader.cpp:1992 #55 0x402714ab in stub_complete (stream=0x856f590) at /export/slamm/gecko/mozilla/network/module/nsStubContext.cpp:765 #56 0x4018b64b in net_ProcessFile (cur_entry=0x856f4e0) at /export/slamm/gecko/mozilla/network/protocol/file/mkfile.c:1356 #57 0x40241fbb in NET_ProcessNet (ready_fd=0x0, fd_type=1) at /export/slamm/gecko/mozilla/network/main/mkgeturl.c:3355 #58 0x40249e9d in NET_PollSockets () at /export/slamm/gecko/mozilla/network/main/mkselect.c:298 #59 0x4026ad62 in nsNetlibService::NetPollSocketsCallback (aTimer=0x8575380, aClosure=0x80f83f0) at /export/slamm/gecko/mozilla/network/module/nsNetService.cpp:1277 #60 0x40154de9 in TimerImpl::FireTimeout (this=0x8575380) at /export/slamm/gecko/mozilla/base/src/gtk/nsTimer.cpp:73 #61 0x401552d2 in nsTimerExpired (aCallData=0x8575380) at /export/slamm/gecko/mozilla/base/src/gtk/nsTimer.cpp:189 #62 0x40a59990 in g_timeout_dispatch (source_data=0x81eb5b0, current_time=0xbffff410, user_data=0x8575380) at gmain.c:1147 #63 0x40a58c83 in g_main_dispatch (current_time=0xbffff410) at gmain.c:647 #64 0x40a5920f in g_main_iterate (block=1, dispatch=1) at gmain.c:854 #65 0x40a59391 in g_main_run (loop=0x8179380) at gmain.c:912 #66 0x4098644b in gtk_main () at gtkmain.c:475 #67 0x400911d8 in nsAppShell::Run (this=0x813a8e0) at /export/slamm/gecko/mozilla/widget/src/gtk/nsAppShell.cpp:208 #68 0x40017e15 in nsAppShellService::Run (this=0x80da0e0) at /export/slamm/gecko/mozilla/xpfe/appshell/src/nsAppShellService.cpp:186 #69 0x804a8cc in main (argc=1, argv=0xbffff530) at /export/slamm/gecko/mozilla/xpfe/bootstrap/nsAppRunner.cpp:337
I wonder if this could have anything to do with app cores, or the app core manager. cc'ing Rod Spears.
Summary: apprunner "File | New Browser Window" seg faults → [PP] apprunner "File | New Browser Window" seg faults
I checked this on Win32 and it works ok there. Marking as platform parity bug.
Adding scc.
Target Milestone: M4 → M5
I added this to the release notes. Marking M5.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WORKSFORME
Resolved as WORKSFORME. This works fine under Linux now. Is this a Debian-specific problem?
Status: RESOLVED → REOPENED
I still see this.
Resolution: WORKSFORME → ---
Target Milestone: M5 → M6
M6.
Update for you guys: Here, under Red Hat 6.0 and glibc 2.1, using the M5 release, I see something slightly different, though perhaps related... Seems when do "File / New Browser Window," and try to close the original, I cannot get the original window **OR** the second one to close. Seems I need to "File / Quit" and get them both to close. Why??
QA Contact: 3853 → 4137
Updating QA Contact.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
Resolution: --- → FIXED
Note for zuperdee's comment: "File | Close" is not hooked up. To close a window you have to click on you window manager's window close box. "File | New Browser Window" works fine now. Marking FIXED.
Status: RESOLVED → VERIFIED
Following slamm's original steps to reproduce this, I don't see a problem using the 1999052408 build under Red Hat 5.2. Marking as verified fixed.
Moving all Apprunner bugs past and present to Other component temporarily whilst don and I set correct component. Apprunner component will be deleted/retired shortly.
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.