Issue 125221

Summary: Crash using Google Input Tools keyboard with Telugu language
Product: Writer Reporter: knr <knr_ittool>
Component: editingAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Normal    
Priority: P3 CC: hdu, knr_ittool
Version: 4.0.1Keywords: crash, regression
Target Milestone: ---   
Hardware: PC   
OS: Windows, all   
Issue Type: DEFECT Latest Confirmation in: 4.2.0-dev
Developer Difficulty: ---
Attachments:
Description Flags
both the sceenshots described above have been placed in this jpeg file
none
Backtrace none

Description knr 2014-07-08 09:49:57 UTC
Created attachment 83657 [details]
both the sceenshots described above have been placed in this jpeg file

when I use 'Telugu'langauage keyboard, open office is crashing, giving an error message. screenshot  attached.

I am also continuously getting a warning message that a certain macro is not present. In fact I had removed using organize macros. But open office still tries to run that macro and fails beacuse the macro doesnt exist. screenshot attached. please help debug.
Comment 1 Ariel Constenla-Haile 2014-07-08 13:07:09 UTC
Does the error occur right after the error box shows up?
What does the macro mk_super do? Can you attach a document with the macro?
Does the crash happen if you remove the macro?
Comment 2 knr 2014-07-28 09:05:29 UTC
I have already removed the macro. But still it rembers the macro and asks for it.
The same message as I shared earlier.  mk_super was  macro writtem by me to change font type of a digit to superscript. I created a button and assigned it to this macro. Every time I wanted a nuber to be changed to superscript type I used to highlight the digit/s and press this button .
Comment 3 knr 2014-07-28 09:07:03 UTC
(In reply to Ariel Constenla-Haile from comment #1)
> Does the error occur right after the error box shows up?
> What does the macro mk_super do? Can you attach a document with the macro?
> Does the crash happen if you remove the macro?

I have already removed the macro. But still it rembers the macro and asks for it.
The same message as I shared earlier.  mk_super was  macro writtem by me to change font type of a digit to superscript. I created a button and assigned it to this macro. Every time I wanted a nuber to be changed to superscript type I used to highlight the digit/s and press this button .
Comment 4 Ariel Constenla-Haile 2014-07-28 19:29:57 UTC
(In reply to knr from comment #3)
> I have already removed the macro. But still it rembers the macro and asks
> for it.
> The same message as I shared earlier.  mk_super was  macro writtem by me to
> change font type of a digit to superscript. I created a button and assigned
> it to this macro. Every time I wanted a nuber to be changed to superscript
> type I used to highlight the digit/s and press this button .

If the "button" remembers the macro, you need to remove the binding from the button, or remove the whole button.
What kind of button is it? Is it a toolbar button? Is it a form control?

Anyway, the crash seems unrelated to this.

In the screenshot of attachment 83657 [details] there is a (Google?) Telugu keyboard. Where can this keyboard be downloaded?
Comment 5 Ariel Constenla-Haile 2014-07-28 19:40:43 UTC
Answering to myself:
http://www.google.com/inputtools/windows/
Comment 6 Ariel Constenla-Haile 2014-07-28 21:29:55 UTC
(In reply to Ariel Constenla-Haile from comment #5)
> Answering to myself:
> http://www.google.com/inputtools/windows/

Download and install that software.
When selecting Telugu, OpenOffice crashes at the second character inserted.
I've tried with other languages, and they all worked well, the crash only happened with Telugu.
Comment 7 Ariel Constenla-Haile 2014-07-29 09:11:51 UTC
Adjusting fields.
Does not crash with 3.4.0, crashes with 4.0.1 and trunk
Does not crash on Calc/Draw, seems Writer-only
Reproduced on Win7 and Win8.1
Comment 8 Ariel Constenla-Haile 2014-07-29 10:18:33 UTC
Created attachment 83746 [details]
Backtrace

Looks like a regression introduced with the stlport removal.

    // get the end index of the active run
    int nLastRunEndChar = (vRtl[nActiveCharPos - mnMinCharPos])?
        rArgs.mnEndCharPos : rArgs.mnMinCharPos - 1;

nActiveCharPos is 0
mnMinCharPos is 1