Apache OpenOffice (AOO) Bugzilla – Issue 123501
EDITING: Crashes on typing Miao chars
Last modified: 2014-04-03 08:32:34 UTC
Created attachment 81785 [details] Ahmao Unicode keyboard + layout After a Miao char (on supplementary plane) is typed into Writer/Calc/Impress, subsequent char input crashes it. This problem does not occur in other apps like LO Writer/Calc/Impress or MS Word/Excel/Powerpoint. This problem is attested on the following build & OS: - AOO 4.0.1 on 64-bit English Windows 7 Ultimate SP1 Steps to reproduce the bug: 1. download & install Miao Unicode font at https://github.com/phjamr/MiaoUnicode/blob/master/MiaoUnicode-Regular.ttf?raw=true 2. unzip attached archive & install Ahmao keyboard (run setup.exe) 3. install AOO & run Writer/Calc/Impress 4. select Miao Unicode font 5. on Windows language bar, select MR 6. refer to the 2 .jpg files in attached archive for keys mapped in each state 7. type any Miao (non-ASCII) char mapped to any key in any state 8. w/o breaking the line, type any other chars (incl. ASCII) --> CRASH!!! Control experiments with other apps: 9. run LO Writer/Calc/Impress or MS Word/Excel/PowerPoint 10. repeat #4-7 11. w/o breaking the line, type any other chars (incl. ASCII): chars appear as expected* *NB: LO supports Graphite, so small letters at different tone positions can be rendered correctly (on the top/top-right/right of the big letters). MSO, however, does not support Graphite, so small & big letters are always linear & the trailing invisible tone letters rendered graphically. As the Miao script is used by multiple language groups with as many as 6 million in population, pls. kindly fix this ASAP. Thank you!
I encountered a similar bug: when trying to use Graphite to type in tengwar characters, the program crashes everytime I try to type a double accent/curl. This problem is attested on the following build & OS: - AOO 4.0.1 on 64-bit Italian Windows 7 Ultimate SP1 Steps to reproduce the bug: 1. download & install Tengwar Telcontar font at http://freetengwar.sourceforge.net/tengtelc.html 2. download & install the Tengwar keyboard Layout http://freetengwar.sourceforge.net/keylayouts.html 3. install AOO & run Writer 4. select Tengwar Telcontar font 5. on Windows language bar, select EN and then the "Tengwar unicode (QWERTY)" layout 6. Try to type a syllabe with double accent (for example, press the "K" "E" "E" keys.) 7. w/o breaking the line, type any other chars (incl. ASCII) AOO will crash systematically at step 7.
Marking as confirmed due to the well-written and detailed steps reported by users. Raising to P2.
"hdu" committed SVN revision 1570513 into trunk: #i123501# fix invalid iterators in graphite
Kudos for the great bug-reports. The problem is fixed with the commit above. Please check the next nightly build at http://ci.apache.org/projects/openoffice/
Thanks for fixing the crash. Now it reveals another bug, which was just now filed as #124312. Pls. kindly fix that one as well at your earliest convenience. Thanks!
Verified on AOO Rev 1566593 en-US, after step 5, input some unicode strings, still crash. Test ENV: Win7 professional 64 bit SP1, Chinese version.
@Clarence: Thanks for testing, but I believe you need Rev. 1570513 or later to see the fix.
(In reply to Clarence GUO from comment #6) > Verified on AOO Rev 1566593 en-US, after step 5, input some unicode strings, > still crash. Can you provide some of these strings that make it crash?
@yutgor, OK, then I tested on Rev 1571942 from Buildbots, the defect was fixed
Verified on branch AOO410. Rev. 1583666