Closed
Bug 889723
Opened 13 years ago
Closed 12 years ago
Assertion failure: oldPath in gfxContext.cpp when selecting (stroked) SVG text
Categories
(Core :: SVG, defect)
Tracking
()
RESOLVED
WORKSFORME
People
(Reporter: birtles, Unassigned)
References
()
Details
On a nightly build (FF25) I get the following assertion:
Assertion failure: oldPath, at c:/moz/src/gfx/thebes/gfxContext.cpp:2024
when selecting text in the final example from the bug URL.
Specifically, the steps to reproduce are:
1. Load the bug URL
2. Click slightly to the right of the 'spilled coffee' text (i.e. just past the last 'e')
3. Slowly drag towards the left selecting the text.
About 3 out of 4 times I get a failed assertion. The first two 'e's seem to be selected normally but then it pauses (i.e. doesn't select the 'ff') and the assertion fails.
The assertion in question is here:
http://mxr.mozilla.org/mozilla-central/source/gfx/thebes/gfxContext.cpp#2024
The stack trace I'm seeing is:
> xul.dll!gfxContext::EnsurePathBuilder() Line 2024 + 0x24 bytes C++
xul.dll!gfxContext::EnsurePath() Line 1982 C++
xul.dll!gfxContext::Stroke() Line 297 C++
xul.dll!mozilla::SVGTextDrawPathCallbacks::StrokeGeometry() Line 2895 C++
xul.dll!mozilla::SVGTextDrawPathCallbacks::FillAndStrokeGeometry() Line 2867 C++
xul.dll!mozilla::SVGTextDrawPathCallbacks::HandleTextGeometry() Line 2823 C++
xul.dll!mozilla::SVGTextDrawPathCallbacks::NotifyGlyphPathEmitted() Line 2697 C++
xul.dll!gfxFont::Draw(gfxTextRun * aTextRun, unsigned int aStart, unsigned int aEnd, gfxContext * aContext, gfxFont::DrawMode aDrawMode, gfxPoint * aPt, gfxFont::Spacing * aSpacing, gfxTextObjectPaint * aObjectPaint, gfxTextRunDrawCallbacks * aCallbacks) Line 2732 C++
xul.dll!gfxTextRun::DrawGlyphs(gfxFont * aFont, gfxContext * aContext, gfxFont::DrawMode aDrawMode, gfxPoint * aPt, gfxTextObjectPaint * aObjectPaint, unsigned int aStart, unsigned int aEnd, gfxTextRun::PropertyProvider * aProvider, unsigned int aSpacingStart, unsigned int aSpacingEnd, gfxTextRunDrawCallbacks * aCallbacks) Line 5606 C++
Comment 1•12 years ago
|
||
I've tried this a number of time without getting an assertion. Do you still see this Brian?
Flags: needinfo?(birtles)
| Reporter | ||
Comment 2•12 years ago
|
||
(In reply to Robert Longson from comment #1)
> I've tried this a number of time without getting an assertion. Do you still
> see this Brian?
I can't reproduce this any longer.
Status: NEW → RESOLVED
Closed: 12 years ago
Flags: needinfo?(birtles)
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•