crash if I resize window (I decrease it size)

RESOLVED WORKSFORME

Status

()

Core
XUL
--
critical
RESOLVED WORKSFORME
14 years ago
9 years ago

People

(Reporter: dmitry rusanov, Unassigned)

Tracking

({crash, testcase})

Trunk
x86
All
crash, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(3 attachments)

(Reporter)

Description

14 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a5) Gecko/20041122

I tring resize window with sample describe bellow

	<listbox flex="1">
	
		<listhead flex="1">
			<listheader flex="1" label="Пациент"/>
		</listhead>
	
		<listcols>
			<listcol flex="1"/>
		</listcols>
	  
		<listitem flex="1" orient="vertical">
	  
			<listcell orient="vertical">
	
				<vbox orient="vertical">
			
					<description orient="vertical">test test test test test test test test test
test test test test test test test test test test test test test test test test
test </description>
					
				</vbox>
				
			</listcell>
		</listitem>
		
	</listbox>


Reproducible: Always
(Reporter)

Comment 1

14 years ago
Created attachment 171704 [details]
decrease window size

decrease window size

Comment 2

14 years ago
I see the following three assertions repeatedly until the crash occurs:

###!!! ASSERTION: Row index out of range!: 'aRowIndex >=0 && aRowIndex <
GetRowCount(aIsHorizontal)', file nsGrid.cpp, line 597
Break: at file nsGrid.cpp, line 597
###!!! ASSERTION: Row index out of range!: 'aRowIndex >=0 && aRowIndex <
GetRowCount(aIsHorizontal)', file nsGrid.cpp, line 612
Break: at file nsGrid.cpp, line 612
###!!! ASSERTION: Row index out of range!: 'aRowIndex >=0 && aRowIndex <
GetRowCount(aIsHorizontal)', file nsGrid.cpp, line 583
Break: at file nsGrid.cpp, line 583
Status: UNCONFIRMED → NEW
Component: Layout → XP Toolkit/Widgets: XUL
Ever confirmed: true
Keywords: crash, testcase
OS: Windows 2000 → All
QA Contact: layout

Comment 3

14 years ago
Created attachment 171706 [details]
Call stack when assertion occurs

The crash is because we blow the stack I think...
(Reporter)

Comment 4

14 years ago
If I removed attribure orient="vertical" from listitem, than sample no crash

<listitem flex="1">
	  
			<listcell orient="vertical">
	
				<vbox orient="vertical">
			
					<description orient="vertical">test test test test test test test test test
test test test test test test test test test test test test test test test test
test </description>
					
				</vbox>
				
			</listcell>
		</listitem>
(Reporter)

Comment 5

14 years ago
Created attachment 171708 [details]
listitem without orient="vertical"

test this attachment
I don't crash with build 2005-02-01-06 on Windows XP Seamonkey trunk.
I crashed with a 2005-09-02 trunk build, with the first testcase, when
decreasing the window size.
Talkback ID: 
http://talkback-public.mozilla.org/talkback/fastfind.jsp?search=2&type=iid&id=TB9018345E
First it seemed like an endless loop, but after 20/30s it crashed.

Comment 8

13 years ago
this stack seems like bug 305905

Incident ID: 9018345
Stack Signature	GDI32.dll + 0x3773 (0x77c43773) 03a985b1
Product ID	FirefoxTrunk
Build ID	2005090206
Trigger Time	2005-09-04 02:29:28.0
Platform	Win32
Operating System	Windows NT 5.1 build 2600
Module	GDI32.dll + (00003773)
URL visited	
User Comments	
Since Last Crash	14715 sec
Total Uptime	14755 sec
Trigger Reason	Stack overflow
Source File, Line No.	N/A
Stack Trace 	
GDI32.dll + 0x3773 (0x77c43773)
GDI32.dll + 0xb7ae (0x77c4b7ae)
nsRenderingContextWin::GetTextDimensions 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/gfx/src/windows/nsRenderingContextWin.cpp,
line 1611]
nsTextFrame::MeasureText 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsTextFrame.cpp,
line 5413]
nsTextFrame::Reflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsTextFrame.cpp,
line 5893]
nsLineLayout::ReflowFrame 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsLineLayout.cpp,
line 996]
nsBlockFrame::ReflowInlineFrame 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 4190]
nsBlockFrame::DoReflowInlineFrames 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 3843]
nsBlockFrame::ReflowInlineFrames 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 3716]
nsBlockFrame::ReflowLine 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2710]
nsBlockFrame::ReflowDirtyLines 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 2244]
nsBlockFrame::Reflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsBlockFrame.cpp,
line 879]
nsFrame::BoxReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsFrame.cpp,
line 5327]
nsFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsFrame.cpp,
line 5069]
nsIFrame::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBox.cpp,
line 802]
nsSprocketLayout::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsSprocketLayout.cpp,
line 577]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsSprocketLayout::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsSprocketLayout.cpp,
line 577]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsSprocketLayout::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsSprocketLayout.cpp,
line 577]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsListBoxLayout::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsListBoxLayout.cpp,
line 151]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsIFrame::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBox.cpp,
line 802]
nsXULScrollFrame::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 2235]
nsXULScrollFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsGfxScrollFrame.cpp,
line 1307]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsGridLayout2::Layout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/grid/nsGridLayout2.cpp,
line 74]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsBoxFrame::DoLayout 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsBoxFrame.cpp,
line 1106]
nsRootBoxFrame::Reflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/xul/base/src/nsRootBoxFrame.cpp,
line 227]
nsContainerFrame::ReflowChild 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsContainerFrame.cpp,
line 904]
ViewportFrame::Reflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/generic/nsViewportFrame.cpp,
line 240]
IncrementalReflow::Dispatch 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 859]
PresShell::ProcessReflowCommands 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6687]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]
PresShell::DidDoReflow 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 6602]
PresShell::FlushPendingNotifications 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5184]
PresShell::HandlePostedReflowCallbacks 
[c:/builds/tinderbox/Fx-Trunk/WINNT_5.2_Depend/mozilla/layout/base/nsPresShell.cpp,
line 5085]

Comment 9

12 years ago
Testcases WFM using Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20060602 Minefield/3.0a1 ID:2006060204 [cairo]
Should this bug be closed?
(Reporter)

Comment 10

10 years ago
I don't have problem with version Mozilla/5.0 (Windows; U; Windows NT
5.0; ru; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1


I have problem with version SeaMonkey 1.1.10 Mozilla/5.0 (Windows; U;
Windows NT 5.0; en-US; rv:1.8.1.15) Gecko/20080621 SeaMonkey/1.1.10

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: xptoolkit.widgets

Comment 11

9 years ago
Do you mean that if you load the testcase in comment 1 in SeaMonkey, and then resize the browser window, you get a crash?  That doesn't happen for me using SeaMonkey 2.0.1 (Gecko 1.9.1.6).  I bet the bug was fixed some time between Gecko 1.8.1 and Gecko 1.9.
Status: NEW → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.