Open Bug 729851 Opened 12 years ago Updated 2 years ago

"ASSERTION: Precomputed tab widths are missing!" with DRAWWINDOW_DO_NOT_FLUSH

Categories

(Core :: Layout: Text and Fonts, defect)

x86_64
macOS
defect

Tracking

()

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: assertion, testcase)

Attachments

(3 files)

1. Load the testcase.
2. Get ready to click the button.
3. Reload the page, then immediately click the button.
4. Wait 2 seconds.

###!!! ASSERTION: Precomputed tab widths are missing!: 'mTabWidths && mTabWidths->mLimit >= i', file layout/generic/nsTextFrameThebes.cpp, line 2949

This testcase relies on the thumbnail service (added in bug 497543) calling drawWindow with DRAWWINDOW_DO_NOT_FLUSH.  The assertion can also be triggered by other chrome-privileged code making the same drawWindow call.
This makes it clear that DRAWWINDOW_DO_NOT_FLUSH is required in order to trigger the bug.
Still happens on trunk:

###!!! ASSERTION: Precomputed tab widths are missing!: 'mTabWidths && mTabWidths->mLimit + startOffset >= i', file layout/generic/nsTextFrameThebes.cpp, line 3029

Mats tweaked the assertion in http://hg.mozilla.org/mozilla-central/rev/678cac97bf1a
Works for me, m-c 5bd6e09f074e ASAN debug build on Linux64.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: