Closed Bug 5966 Opened 26 years ago Closed 26 years ago

intermittent infinite loop in range code

Categories

(Core :: Layout, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: buster, Assigned: mozeditor)

References

()

Details

I don't know exactly what I did to cause this. I can't always reproduce this. When I do reproduce it, it seems to have to do with block transformations and where the selection is after an operation. I do know that the superficial cause is that theRangeList's count never changes because theRange->SetEnd returns an error. This error is ignored in the code, and since we make no progress through the array, we're stuck. This code should be checking error results and break out of the loop on error.
Status: NEW → ASSIGNED
making the range gravity code complain louder (and not lock up) when things are horked will happen real soon now (like today). But something somewhere is very wrong if we are getting errors here. i suspect a deeper bug... Steve, give me a heads up if you can drive this bug with a test case. I've never seen it happen.
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
ranges should not infinite loop anymore - tough for me to verify since i never saw the bug, but i maded the needed code mods.
Status: RESOLVED → VERIFIED
Fixed in June 2 Build.
You need to log in before you can comment on or make changes to this bug.