You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2015/01/01 16:05:47 UTC

[Issue 125991] New: Fatal Error "index out of bounds" on Gtk

https://issues.apache.org/ooo/show_bug.cgi?id=125991

          Issue ID: 125991
        Issue Type: DEFECT
           Summary: Fatal Error "index out of bounds" on Gtk
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Linux
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: hanya.runo@gmail.com

How to reproduce: 
- Gtk GUI on Linux environment.
1. Create new Writer document. 
2. Push Enter key many times to leach the view cursor is entering the hidden
part of the page. 
- When the shown part of the page is automatically changed, the following error
is shown and the office is shutting down. No crash.: 
 Fatal Error "index out of bounds"

With this error, Writer is almost unusable.
Similar issue for Mac OSX is issue 125672.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

--- Comment #4 from hanya <ha...@gmail.com> ---
Created attachment 84369
  --> https://issues.apache.org/ooo/attachment.cgi?id=84369&action=edit
Proposed patch to catch the exception

The problem is happen if input method is enabled like described in the above
comment. 
IsAccessible state can be changed even in the loop, the exception have to be
caught. 
With this patch, the input method should work well on Writer document.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

vo1d <de...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dennis.ruenger@gmail.com

--- Comment #6 from vo1d <de...@gmail.com> ---
I get this error every few minutes [MacOS 10.10.2, OO 4.1.1]; makes OO
unusable.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rb.henschel@t-online.de

--- Comment #2 from Regina Henschel <rb...@t-online.de> ---
Hi hanya, I cannot reproduce the problem on Windows 7, but I remember the
similar issue 125971. Besides using Linux, are there other special settings or
applied technology?

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

--- Comment #1 from hanya <ha...@gmail.com> ---
The IndexOutOfBoundsException is raised in
SwAccessibleContext::getAccessibleChild method. 
The method is called in "for" statement of FindFocus function in gtkframe.cxx
for Gtk environment. 
The getAccessibleChild method is called with illegal index and uncaught
exception is reported as the fatal error. 
The number of valid accessible children is changed while the transition of the 
shown part of the page.

Here is the part of backtrace: 
#0  SwAccessibleContext::getAccessibleChild (this=0x7fffcc398d38, nIndex=29)
    at /mnt/hd/aoo/main/sw/source/core/access/acccontext.cxx:634
#1  0x00007fffbe7936fe in SwAccessibleDocumentBase::getAccessibleChild (
    this=0x7fffcc398d38, nIndex=29)
    at /mnt/hd/aoo/main/sw/source/core/access/accdoc.cxx:183
#2  0x00007fffec6674dc in FindFocus (xContext=...)
    at /mnt/hd/aoo/main/vcl/unx/gtk/window/gtkframe.cxx:3754
#3  0x00007fffec667732 in lcl_GetxText ()
    at /mnt/hd/aoo/main/vcl/unx/gtk/window/gtkframe.cxx:3776
#4  0x00007fffec6677e3 in GtkSalFrame::IMHandler::signalIMRetrieveSurrounding (
    pContext=0x943f90) at /mnt/hd/aoo/main/vcl/unx/gtk/window/gtkframe.cxx:3782
#5  0x00007fffebb1772d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#6  0x00007fffeae663b8 in g_closure_invoke ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7  0x00007fffeae77d3d in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8  0x00007fffeae7f6f9 in g_signal_emit_valist ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#9  0x00007fffeae80212 in g_signal_emit_by_name ()
   from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
#10 0x00007fffebaffe5a in ?? ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

--- Comment #5 from SVN Robot <sv...@dev.null.org> ---
"hanya" committed SVN revision 1651591 into trunk:
#i125991# catch IndexOutOfBoundsException to avoid fatal error happen when
in...

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

[Issue 125991] Fatal Error "index out of bounds" on Gtk

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125991

--- Comment #3 from hanya <ha...@gmail.com> ---
I could not reproduce the problem on Xubuntu 14.04 64bit installed in
VirtualBox 
without any input method installed.
After I installed "fcitx" input method framework, I could reproduce the
problem. 
When I set to not use any input method through im-config, not reproduced.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.