Bug 506545
Summary: | Input uncommon chinese char in doc format cause OO writer busy loop | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | John Lau <jlau> | ||||||||
Component: | openoffice.org | Assignee: | Caolan McNamara <caolanm> | ||||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||
Severity: | high | Docs Contact: | |||||||||
Priority: | high | ||||||||||
Version: | 11 | CC: | caolanm | ||||||||
Target Milestone: | --- | ||||||||||
Target Release: | --- | ||||||||||
Hardware: | All | ||||||||||
OS: | Linux | ||||||||||
Whiteboard: | |||||||||||
Fixed In Version: | 3.1.1-19.1.fc11 | Doc Type: | Bug Fix | ||||||||
Doc Text: | Story Points: | --- | |||||||||
Clone Of: | Environment: | ||||||||||
Last Closed: | 2009-08-31 23:32:20 UTC | Type: | --- | ||||||||
Regression: | --- | Mount Type: | --- | ||||||||
Documentation: | --- | CRM: | |||||||||
Verified Versions: | Category: | --- | |||||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||||
Embargoed: | |||||||||||
Attachments: |
|
Description
John Lau
2009-06-17 17:22:14 UTC
Description of problem: When I save the writer document in doc format and try some uncommon chinese char like " Created attachment 348302 [details]
The problem
It seems that the uncommon Chinese char would cause some problem in bugzilla too. I attached Description of problem in the problem.txt. Please have a look. Additional info: The problem do not happen if the doc is saved as obt format. And the problem didn't happened in RHEL5 and older fedora. It is a very trouble problem for Traditional Chinese user. Although we seldom input uncommon chinese char, we may accidentally hit the uncommon chinese char in our input method (like Cangjie, most useful input method for traditional chinese user) and it may hang the OO writer immediately. Created attachment 348305 [details]
The strace of OOo
Hmm, I don't see if if I cut and paste from the text description attached into writer and save as .doc. Though of course I'm a western user so might not have some font that triggers it or something. If you save as .odt (which works) and then reload the .odt and use save as .doc does that also hang ?. If it does the attached the .odt as an easier way to reproduce When I try to do what you advice, I found another way to trigger the bug, even in .odt file. I input the uncommon chinese char into a new .odt file. It doesn't hang at first. But when I insert a lot of tab (I press down the tab button for at most about 3 seconds), it can always hang the OO writer with 100% cpu load. But if it is a common chinese char, the problem doesn't triggered. I attached the test.odt with that char for you to test. Created attachment 348379 [details]
Test odt file with the uncommon chinese char
Still not reproducible for me. So if you load the .odt you attached above, then hold down the tab button, it hangs, right ? Yes, I insert the tabs BEFORE the uncommon chinese char. And it hangs. Moreover, I was in zh_TW.UTF-8 environment. But I can reproduce the same issue in en_US environment too. Aha, before the char. Now I have it. confirmed some horrible mixup between utf-16 and ucs-2 Fixed logged upstream and checked into F-11 and devel. Will be in >= 3.1.0-11.4 if and when there is another OOo update for F-11 made available Woo, you are a fast troubleshooter. ;-) Thank you very much. If there are testing version available, I can help testing it. It'll probably be quite a while until there's a F-11 update, but the devel F-12/rawhide one will likely be available on Mon/Tue Because it is a very common problem for traditional Chinese users (Taiwan and Hong Kong) and too frequent to hit, I would suggest to release the fix ASAP. openoffice.org-3.1.0-11.4.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/openoffice.org-3.1.0-11.4.fc11 openoffice.org-3.1.0-11.4.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update openoffice.org'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7003 I test it and the problem is fixed! Thank you very much. openoffice.org-3.1.0-11.5.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/openoffice.org-3.1.0-11.5.fc11 openoffice.org-3.1.0-11.5.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update openoffice.org'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-7604 openoffice.org-3.1.1-19.1.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/openoffice.org-3.1.1-19.1.fc11 openoffice.org-3.1.1-19.1.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report. |