Closed Bug 545261 Opened 14 years ago Closed 13 years ago

Remove the "yikes! spinning on a line over 1000 times!" abort

Categories

(Core :: Layout, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla6

People

(Reporter: jruderman, Assigned: emorley)

References

Details

Attachments

(1 file, 2 obsolete files)

Let's remove the "yikes! spinning on a line over 1000 times!" abort.

This debug-build-only abort was once marginally useful for helping to distinguish hangs.  But now it's just catching false positives (testcases that don't actually cause opt builds don't hang), annoying me and tomcat.

See e.g. bug 493910 (which has a testcase) and bug 505139 (which involves http://direkizle.net/alacakaranlik-twilight-turkce-dublaj.html)
Bug 539409 is also same abort, although the bug doesn't mention that.
What real testcases trigger this and then finish?  That seems really broken.
Blocks: 505139
Is this still wanted?
Assignee: nobody → bmo
Status: NEW → ASSIGNED
Attachment #530866 - Flags: review?(roc)
Actually remember to qrefresh...
Attachment #530866 - Attachment is obsolete: true
Attachment #530867 - Flags: review?(roc)
Attachment #530866 - Flags: review?(roc)
Let's change it to an assertion instead of an abort.
Summary: Remove the "yikes! spinning on a line over 1000 times!" abort → Change the "yikes! spinning on a line over 1000 times!" abort to an assertion
Changes the abort to an assertion.

Roc, is this the way you meant? (ie leaving the ListTag but removing the printf?)
Attachment #530867 - Attachment is obsolete: true
Attachment #531025 - Flags: review?(roc)
Attachment #530867 - Flags: review?(roc)
Why not just remove it, as in attachment 530867 [details] [diff] [review]?  We don't have this sort of code for most other loops, and debugging hangs of this sort generally isn't that hard.
Comment on attachment 530867 [details] [diff] [review]
Remove the debug "yikes! spinning on a line over 1000 times!" abort

Review of attachment 530867 [details] [diff] [review]:
-----------------------------------------------------------------

ok
Attachment #530867 - Flags: review+
Attachment #531025 - Attachment is obsolete: true
Attachment #531025 - Flags: review?(roc)
Attachment #530867 - Attachment is obsolete: false
Reverting back to the patch in comment 6, which removes the abort completely.

Roc, thanks for the review :-)
Keywords: checkin-needed
http://hg.mozilla.org/mozilla-central/rev/6f092fa95ba1
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla6
Summary: Change the "yikes! spinning on a line over 1000 times!" abort to an assertion → Remove the "yikes! spinning on a line over 1000 times!" abort
Version: Trunk → Other Branch
Version: Other Branch → Trunk
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: