Closed Bug 15651 Opened 25 years ago Closed 25 years ago

Collapsing and then expanding menubar crashes...

Categories

(Core :: XUL, defect, P3)

defect

Tracking

()

VERIFIED DUPLICATE of bug 15489

People

(Reporter: jst, Assigned: trudelle)

Details

Seems like this could be due to something corrupting memory somewhere
since I've seen the wierdest stack traces when trying to debug this,
some that don't make any sence at all! One possible problem could be
that the frame hash in the frame manager (or some other code that maps
content to frames) isn't for some reason in sync with existsing frames
(I'm not sure at all about this).

From what I can tell from the stack trace below the frame hash might have
something to do with this (thus I'm cc'ing troy since he wrote the frame
hash if I recall correctly).

But then again this might be a bogus stack trace so don't take it too
seriously.

Program received signal SIGSEGV, Segmentation fault.
0x40dc4cc4 in nsCSSFrameConstructor::ContentChanged (this=0x82abdf8,
    aPresContext=0x8291fc0, aContent=0x8737978, aSubContent=0x0)
    at nsCSSFrameConstructor.cpp:6691
6691        frame->ContentChanged(aPresContext, aContent, aSubContent);
            ^^^^^-comes from shell->GetPrimaryFrameFor(...)
(gdb) bt 10
#0  0x40dc4cc4 in nsCSSFrameConstructor::ContentChanged (this=0x82abdf8,
    aPresContext=0x8291fc0, aContent=0x8737978, aSubContent=0x0)
    at nsCSSFrameConstructor.cpp:6691
#1  0x40eacee1 in StyleSetImpl::ContentChanged (this=0x82abdb0,
    aPresContext=0x8291fc0, aContent=0x8737978, aSubContent=0x0)
    at nsStyleSet.cpp:903
#2  0x40cb6e0e in PresShell::ContentChanged (this=0x82abe40,
    aDocument=0x8281560, aContent=0x8737978, aSubContent=0x0)
    at nsPresShell.cpp:1693
#3  0x4088f151 in XULDocumentImpl::ContentChanged (this=0x8281560,
    aContent=0x8737978, aSubContent=0x0) at nsXULDocument.cpp:1683
...
(gdb) print frame
$20 = (nsIFrame *) 0x87cfe00
(gdb) print *frame
$21 = {<nsISupports> = {_vptr. = 0x0}, }

I'll continue investigating, If anyone has some input let me know...
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
marking as a dupe, please add your worthwhile comments to that bug


*** This bug has been marked as a duplicate of 15489 ***
Status: RESOLVED → VERIFIED
Verifying that this was one of a bunch of duplicates of the bug in question.
You need to log in before you can comment on or make changes to this bug.