Closed Bug 192457 Opened 22 years ago Closed 21 years ago

browser freezes when ctrl - + (text zoom)

Categories

(Core :: Web Painting, defect)

defect
Not set
critical

Tracking

()

RESOLVED FIXED

People

(Reporter: enpontus, Assigned: roc)

References

()

Details

(Keywords: hang, regression, testcase, Whiteboard: [fix][dup])

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030103
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030103

Going to mentioned page and trying to increase fomt size freezes the 
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3b) Gecko/20030103 (GTk2+xft-build)
and the
Mozilla 1.3b, Copyright (c) 2003 mozilla.org, build 2003020622 (nightly ordinary) 

CPU-utilisation goes to 100%

Reproducible: Always

Steps to Reproduce:
1.goto http://www.soic.se/sidor/framtid/rekrytering1.asp
2.press ctrl-+ to increase font size
3.zapp!

Actual Results:  
The CPU-utilisation goes to 100% and the browser freezes

Expected Results:  
increase font size ??
confirming using build 2003020704 on Win2k.
Severity: normal → critical
Keywords: hang
OS: Linux → All
Hardware: PC → All
Summary: browser freezes when ctrl - + (increase font size) → browser freezes when ctrl - + (increase font size)
confirming on build 2003020808

I noticed that increasing fontsize works fine on the above ULR when javascript
is disabled.
Attached file stacktrace during hang
Attached file DHTML testcase
testcase hangs linux trunk 20030208.  equivalent (non-JS) HTML did not seem to
have a problem.
and to reproduce with the testcase, just increase (or decrease) font size via
<ctrl>+ or <ctrl>-

==> layout/views 
Assignee: font → roc+moz
Status: UNCONFIRMED → NEW
Component: Layout: Fonts and Text → Layout: View Rendering
Ever confirmed: true
Keywords: testcase
At first glance this seems to be some sort of mangled view tree leading to an
infinite loop in UpdateViewProperties, but gdb might have been lying.
Original URL hangs OS/2 trunk 2003020812.
this regressed between 2003011404 and 200301522.  backing out bug 172031 didn't
help.  perhaps bug 173072
Keywords: regression
It can't be the fix for bug 173072 because that was checked in in 2002.
I meant to say 2002121404 and 2002121522
The problem here is that setting the z-index of the views reorders them while
we're iterating over them! So the loop never gets to the end because views we
already processed keep getting moved to the end of the list.

The fix is to not reorder views when we set the z-index. I already have a patch
for this and it does fix the bug. The patch is in bug 180502.
Depends on: 180502
Whiteboard: [fix][dup]
*** Bug 193424 has been marked as a duplicate of this bug. ***
*** Bug 194374 has been marked as a duplicate of this bug. ***
Changing Summary to mention "text zoom".
Summary: browser freezes when ctrl - + (increase font size) → browser freezes when ctrl - + (text zoom)
Text zoom on the reported page works fine in Mozilla 1.4a-20030301/Linux. The
pages reported in duplicate bugs work fine also.
WFM in 2003030313 OS/2.
I believe this was fixed by my checkin for bug 180502.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
*** Bug 197641 has been marked as a duplicate of this bug. ***
*** Bug 197857 has been marked as a duplicate of this bug. ***
*** Bug 197021 has been marked as a duplicate of this bug. ***
*** Bug 198670 has been marked as a duplicate of this bug. ***
*** Bug 198980 has been marked as a duplicate of this bug. ***
*** Bug 199377 has been marked as a duplicate of this bug. ***
*** Bug 199754 has been marked as a duplicate of this bug. ***
*** Bug 200363 has been marked as a duplicate of this bug. ***
*** Bug 201556 has been marked as a duplicate of this bug. ***
*** Bug 201583 has been marked as a duplicate of this bug. ***
*** Bug 201867 has been marked as a duplicate of this bug. ***
*** Bug 215448 has been marked as a duplicate of this bug. ***
Component: Layout: View Rendering → Layout: Web Painting
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: