Closed
Bug 394246
Opened 17 years ago
Closed 17 years ago
"ASSERTION: Started word in the middle of a cluster..." and crash [@ gfxTextRun::ComputeLigatureData] with combining character and newline
Categories
(Core :: Layout: Text and Fonts, defect, P3)
Tracking
()
RESOLVED
FIXED
People
(Reporter: jruderman, Assigned: roc)
References
Details
(Keywords: assertion, crash, testcase, Whiteboard: [dbaron-1.9:RsCt])
Crash Data
Attachments
(2 files)
Loading "testcase 1" triggers: ###!!! ASSERTION: Started word in the middle of a cluster...: 'aSource->IsClusterStart(start)', file /Users/jruderman/trunk/mozilla/gfx/thebes/src/gfxFont.cpp, line 1683 It also puts Firefox into a state where encountering a lone ́ will make it crash.
Flags: blocking1.9?
Reporter | ||
Comment 1•17 years ago
|
||
This demonstrates the divide-by-zero crash in gfxTextRun::ComputeLigatureData. The crash is preceded by ###!!! ASSERTION: Ligature at the start of the run??: 'i > 0', file /Users/jruderman/trunk/mozilla/gfx/thebes/src/gfxFont.cpp, line 817 I see "Floating point exception" on the terminal, but that line in gfxFont.cpp looks like integer division. Hmm.
Assignee | ||
Updated•17 years ago
|
Assignee: nobody → roc
Assignee | ||
Comment 2•17 years ago
|
||
The assertions and crashes are fixed by my patch in bug 385417. There's still some potential issues about marks combining with spaces, but I'll have to think about the best way to solve those.
Depends on: 385417
Assignee | ||
Updated•17 years ago
|
Flags: blocking1.9? → blocking1.9+
Assignee | ||
Updated•17 years ago
|
Whiteboard: depends on 385417
Assignee | ||
Updated•17 years ago
|
Whiteboard: depends on 385417 → [depends on 385417]
Whiteboard: [depends on 385417] → [depends on 385417][dbaron-1.9:RsCt]
Assignee | ||
Updated•17 years ago
|
Priority: -- → P3
Reporter | ||
Comment 3•17 years ago
|
||
FIXED by bug 385417 landing. roc, please file a new bug on the issues you mentioned in comment 2.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Flags: in-testsuite?
Reporter | ||
Comment 4•17 years ago
|
||
The patch for bug 385417 was backed out.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Reporter | ||
Comment 5•17 years ago
|
||
... and checked in again.
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Reporter | ||
Comment 6•17 years ago
|
||
I checked in both testcases as crashtests.
Flags: in-testsuite? → in-testsuite+
Comment 7•17 years ago
|
||
I am seeing the assertions and crash on current Linux trunk.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 8•17 years ago
|
||
Sorry, I see that is already reported in bug 408746
Status: REOPENED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Assignee | ||
Updated•16 years ago
|
Whiteboard: [depends on 385417][dbaron-1.9:RsCt] → [dbaron-1.9:RsCt]
Updated•13 years ago
|
Crash Signature: [@ gfxTextRun::ComputeLigatureData]
You need to log in
before you can comment on or make changes to this bug.
Description
•