Issue 1522

Summary: Invalid Page Fault Crash when loading or pasting certain RTF with Phonetic Guide (ruby text)
Product: Internationalization Reporter: Unknown <non-migrated>
Component: codeAssignee: jp <juergen_pingel>
Status: CLOSED FIXED QA Contact: issues@l10n <issues>
Severity: Trivial    
Priority: P3 CC: issues
Version: 633Keywords: oooqa
Target Milestone: ---   
Hardware: PC   
OS: Windows 98   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Attachments:
Description Flags
RTF that crashes
none
RTF that does crash (without the first \uc2) none

Description Unknown 2001-08-24 10:08:15 UTC
When loading or paste the attached RTF file (which I have clipped to the 
minimum to reproduce the error) the following fault occurs:

SOFFICE caused an invalid page fault in
module SW633MI.DLL at 0177:1e2dba7d.
Registers:
EAX=00000000 CS=0177 EIP=1e2dba7d EFLGS=00010246
EBX=00000000 SS=017f ESP=00e5e52c EBP=00000000
ECX=00d1e598 DS=017f ESI=00c580f4 FS=4c0f
EDX=00c578f8 ES=017f EDI=00000001 GS=0000
Bytes at CS:EIP:
8b 40 04 8d 54 24 10 53 52 8b 48 1c 8b 49 0c e8 
Stack dump:
00000172 00c580f4 feb90000 00000002 020c0340 1c85b3d8 00005790 1d989d17 
00000001 00c580f4 00000001 00000001 00c586c0 00c50768 00c57f6c 00c580f4 


This does not happen necessarily when multiple phonetic guides are in the RTF, 
and does not happen if the dunhao is changed to another ASCII character. Both 
pieces can be pasted individually, but not together.

It appears to be a combination of the Chinese and the Phonetic Guide (ruby 
text).

-Matt Page

RTF INFORMATION FOLLOWS:

{\rtf1\ansi\ansicpg1252\uc1 \deff0\deflang1033\deflangfe1033
{\loch\af29\hich\af0\dbch\f29 
\uc2\u12289\'a1\'a2}
{\field
{\*\fldinst 
{\hich\af0\dbch\af29\loch\f29 EQ \\* jc0 \\* "Font:Arial Unicode MS" \\* hps12 
\\o(\\s\\up 11(}
{\fs12 \hich\af556\dbch\af79\loch\f556 \hich\f556 w\u335\'6f}
{\hich\af0\dbch\af29\loch\f29 ),}
{
\loch\af29\hich\af0\dbch\f29 \uc2\u25105\'ce\'d2}
{\hich\af0\dbch\af29\loch\f29 )}}
{\fldrslt }}
{\hich\af0\dbch\af29\loch\f29  }
{
\par }}
Comment 1 Unknown 2001-08-24 10:14:21 UTC
A little more playing around with the RTF has shown that it is 
the "\uc2" tag that appears on the dunhao. Changing the code 
from "\uc2\u12289\'a1\'a2" to "\u12289-" will result in a successful 
load. It appears to be the combination of \uc2 and the following 
\field instruction.

Hope that helps 8-)
Comment 2 Unknown 2001-09-05 13:17:53 UTC
Created attachment 495 [details]
RTF that crashes
Comment 3 Unknown 2001-09-05 13:18:30 UTC
Created attachment 496 [details]
RTF that does crash (without the first \uc2)
Comment 4 Dieter.Loeschky 2001-09-10 09:01:34 UTC
DL->JP: Matthew attached some rtf files, therefore the bug should be 
reproducible.
Comment 5 jp 2001-09-26 09:03:14 UTC
Thanks for this detailed report, so it was easy to find and fix.
Fixed in the build 641. 
Comment 6 ace_dent 2008-05-17 21:54:28 UTC
The Issue you raised has been marked as 'Resolved' and not updated within the
last 1 year+. I am therefore setting this issue to 'Verified' as the first step
towards Closing it. If you feel this is incorrect, please re-open the issue and
add any comments.

Many thanks,
Andrew
 
Cleaning-up and Closing old Issues
~ The Grand Bug Squash, pre v3 ~
http://marketing.openoffice.org/3.0/announcementbeta.html
Comment 7 ace_dent 2008-05-17 23:59:25 UTC
As per previous posting: Verified -> Closed.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew