Closed Bug 496366 Opened 16 years ago Closed 15 years ago

Crash [@ nsCSSFrameConstructor::AddFrameConstructionItemsInternal] with frameset in binding and onerror removing window

Categories

(Core :: DOM: Events, defect)

1.9.1 Branch
x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 531176
Tracking Status
status1.9.1 --- wanted

People

(Reporter: martijn.martijn, Assigned: smaug)

References

Details

(Keywords: crash, testcase, Whiteboard: [sg:dupe 531176] pre-1.9.3 branches only)

Crash Data

Attachments

(1 file)

Attached file zipped up testcase
See zipped up testcase. To reproduce the crash, open the file named 'parentframe3.htm' and wait 1 second. http://crash-stats.mozilla.com/report/index/63bb7fb1-c9b4-4ea4-bb2e-88dbc2090604?p=1 0 xul.dll nsCSSFrameConstructor::AddFrameConstructionItemsInternal layout/base/nsCSSFrameConstructor.cpp:5296 1 xul.dll nsCSSFrameConstructor::AddFrameConstructionItems layout/base/nsCSSFrameConstructor.cpp:5199 2 xul.dll nsCSSFrameConstructor::ContentInserted layout/base/nsCSSFrameConstructor.cpp:6571 3 xul.dll nsCSSFrameConstructor::RecreateFramesForContent layout/base/nsCSSFrameConstructor.cpp:8866 4 xul.dll nsCSSFrameConstructor::ProcessRestyledFrames layout/base/nsCSSFrameConstructor.cpp:7522 5 xul.dll PresShell::RecreateFramesFor layout/base/nsPresShell.cpp:3667 6 xul.dll PresShell::GetPrimaryFrameFor layout/base/nsPresShell.cpp:5218 7 xul.dll nsXBLStreamListener::Load This also crashes Firefox 3.0.x: http://crash-stats.mozilla.com/report/index/f48f0e4c-2a5a-4c2d-be4f-dfc3d2090604 0 xul.dll nsCSSFrameConstructor::AdjustParentFrame mozilla/layout/base/nsCSSFrameConstructor.cpp:3524 1 xul.dll nsCSSFrameConstructor::ConstructFrameInternal mozilla/layout/base/nsCSSFrameConstructor.cpp:7668 2 xul.dll nsCSSFrameConstructor::ConstructFrame mozilla/layout/base/nsCSSFrameConstructor.cpp:7580 3 xul.dll nsCSSFrameConstructor::ContentInserted mozilla/layout/base/nsCSSFrameConstructor.cpp:9152 4 xul.dll nsCSSFrameConstructor::RecreateFramesForContent mozilla/layout/base/nsCSSFrameConstructor.cpp:11315 5 xul.dll nsCSSFrameConstructor::ProcessRestyledFrames mozilla/layout/base/nsCSSFrameConstructor.cpp:10048 6 xul.dll PresShell::RecreateFramesFor mozilla/layout/base/nsPresShell.cpp:3377 7 xul.dll PresShell::GetPrimaryFrameFor mozilla/layout/base/nsPresShell.cpp:4840 8 xul.dll nsXBLBindingRequest::DocumentLoaded mozilla/content/xbl/src/nsXBLService.cpp:235 Perhaps that stack is related to bug 468211? The xmlhttprequest thing needed for the crash reminds me of bug 494617.
Flags: wanted1.9.1.x+
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.12?
Flags: blocking1.9.0.12?
dbaron: I think this is your realm, but if not, please assign to someone who can work on this.
Assignee: nobody → dbaron
Flags: wanted1.9.0.x+
Flags: wanted1.9.1.x+
dbaron, can we get some help on this one? The testcase does not crash trunk, but does crash all older branches: Firefox 3.6: 3ce26dc1-7e1f-4791-b46a-4bb9d2100202 Firefox 3.5: a92ed011-36a8-4f17-ae88-bbf8a2100202 Firefox 3: 322e38ac-e89d-4fe2-b630-a20c82100202
Whiteboard: [sg:critical?]
Version: Trunk → 1.9.1 Branch
Whiteboard: [sg:critical?] → [sg:critical?] pre-1.9.3 branches only
Sorry, I didn't see that this got assigned to me. Yes, almost definitely looks like that's what fixed it.
Assignee: dbaron → nobody
Component: Layout → DOM: Events
Depends on: 531176
QA Contact: layout → events
Olli, can you have a look here? Seems like it might be a simple matter of backporting the fix for bug 531176 to 1.9.1...
Assignee: nobody → Olli.Pettay
The branch patches in Bug 531176 fixes this one.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
Whiteboard: [sg:critical?] pre-1.9.3 branches only → [sg:dupe 531176] pre-1.9.3 branches only
Crash Signature: [@ nsCSSFrameConstructor::AddFrameConstructionItemsInternal]
Group: core-security
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: