Closed Bug 354771 Opened 18 years ago Closed 18 years ago

Crash with <xul:listbox>, float, position: absolute [@ nsHTMLReflowState::ComputeRelativeOffsets] [@ GetNearestContainingBlock]

Categories

(Core :: XUL, defect)

defect
Not set
critical

Tracking

()

VERIFIED FIXED

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(1 file)

(deleted), application/vnd.mozilla.xul+xml
Details
Nightly: [@ nsHTMLReflowState::ComputeRelativeOffsets]
Debug: Crash [@ nsIFrame::GetParent] called from GetNearestContainingBlock

###!!! ASSERTION: Placeholder relationship should have been torn down: '!shell->FrameManager()->GetPlaceholderFrameFor(mOutOfFlowFrame)', file /Users/admin/trunk/mozilla/layout/generic/nsPlaceholderFrame.cpp, line 89

###!!! ASSERTION: no placeholder frame: 'nsnull != placeholderFrame', file /Users/admin/trunk/mozilla/layout/generic/nsHTMLReflowState.cpp, line 1044
Attached file testcase (deleted) —
Crashes on WinXP too.
OS: Mac OS X 10.4 → All
Hardware: Macintosh → All
Stack, courtesy of airbag:

[ 0]  ebp = 0x0012e5b0  eip = 0x0075fae0  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x0035fae0 GetNearestContainingBlock (c:\build\mozilla\layout\generic\nshtmlreflowstate.cpp:662)
[ 1]  ebp = 0x0012e5f8  eip = 0x00760b0e  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x00360b0e nsHTMLReflowState::InitAbsoluteConstraints (c:\build\mozilla\layout\generic\nshtmlreflowstate.cpp:1059)
[ 2]  ebp = 0x0012e624  eip = 0x00761899  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x00361899 nsHTMLReflowState::InitConstraints (c:\build\mozilla\layout\generic\nshtmlreflowstate.cpp:1965)
[ 3]  ebp = 0x0012e644  eip = 0x00761a7b  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x00361a7b nsHTMLReflowState::Init (c:\build\mozilla\layout\generic\nshtmlreflowstate.cpp:344)
[ 4]  ebp = 0x0012e66c  eip = 0x00761fac  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x00361fac nsHTMLReflowState::nsHTMLReflowState (c:\build\mozilla\layout\generic\nshtmlreflowstate.cpp:318)
[ 5]  ebp = 0x0012e8dc  eip = 0x008e9091  "C:\build\mozilla\debugbuild.vc8\dist\bin\firefox.exe" + 0x004e9091 nsAbsoluteContainingBlock::ReflowAbsoluteFrame (c:\build\mozilla\layout\generic\nsabsolutecontainingblock.cpp:514)
[ 6]  ebp = 0x3000bde5  eip = 0x0012e904  "0x0" + 0x0012e904
Something seems to have fixed this, since I don't crash with today's Win32 Minefield or SeaMonkey trunk builds.
This no longer crashes for me.
The fix for bug 322625 probably fixed this, since it fixed an inconsistency in GetAbsoluteContainingBlock.
Status: NEW → RESOLVED
Closed: 18 years ago
Depends on: 322625
Resolution: --- → FIXED
Verified FIXED using build 2006-10-19-08 of SeaMonkey trunk under Windows XP; no crash on https://bugzilla.mozilla.org/attachment.cgi?id=240561
Status: RESOLVED → VERIFIED
Crashtest checked in.
Flags: in-testsuite+
Now that the crashtest is in, refdyn noticed that the way the testcase is displayed isn't consistent.  See bug 409577.
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.xul → xptoolkit.widgets
Crash Signature: [@ nsHTMLReflowState::ComputeRelativeOffsets] [@ GetNearestContainingBlock]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: