Closed
Bug 1469183
Opened 6 years ago
Closed 3 years ago
NS_NOTREACHED("nsWindow::SetParent called illegally") assertion failure in test browser_tab_dragdrop2.js
Categories
(Core :: Widget: Gtk, defect, P5)
Tracking
()
RESOLVED
DUPLICATE
of bug 1736949
People
(Reporter: cpeterson, Unassigned)
References
Details
(Keywords: assertion)
The GTK widget assertion (NS_NOTREACHED) below fails when running the browser/base/content/test/general/browser_tab_dragdrop2.js test because mContainer is unexpectedly *not* null. The purpose of SetParent is to reparent a child window before its parent is destroyed because destroying a parent would destroy the child. https://searchfox.org/mozilla-central/rev/14578d6f2d2ec5246572827061ecefa60a40855d/widget/gtk/nsWindow.cpp#845 NS_NOTREACHED("nsWindow::SetParent called illegally") 0 libxul.so!nsWindow::SetParent [nsWindow.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 845 + 0x0] 1 libxul.so!nsViewManager::ReparentChildWidgets [nsViewManager.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 849 + 0x10] 2 libxul.so!nsViewManager::ReparentWidgets [nsViewManager.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 870 + 0x10] 3 libxul.so!nsViewManager::InsertChild [nsViewManager.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 867 + 0x14] 4 libxul.so!InsertViewsInReverseOrder [nsSubDocumentFrame.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 1139 + 0x18] 5 libxul.so!nsSubDocumentFrame::BeginSwapDocShells [nsSubDocumentFrame.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 1163 + 0x8] 6 libxul.so!nsFrameLoader::SwapWithOtherLoader [nsFrameLoader.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 1523 + 0x18] 7 libxul.so!nsXULElement::SwapFrameLoaders [nsXULElement.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 1568 + 0x17] 8 libxul.so!nsXULElement::SwapFrameLoaders [nsXULElement.cpp:bace37d4d0e0063e09fec698ed146efc932e35c1 : 1548 + 0x16] 9 libxul.so!mozilla::dom::XULElementBinding::swapFrameLoaders [XULElementBinding.cpp: : 8228 + 0x8] ...
Comment 1•5 years ago
|
||
Priority: -- → P5
Comment 2•3 years ago
|
||
Will be solved by Bug 1736949.
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•