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 2012/07/11 09:25:42 UTC

[Bug 120250] New: Crash while opening RTF file

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

          Priority: P2
            Bug ID: 120250
          Keywords: regression
          Assignee: ooo-issues@incubator.apache.org
           Summary: Crash while opening RTF file
          Severity: normal
        Issue Type: DEFECT
    Classification: Application
                OS: All
          Reporter: pescetti@apache.org
          Hardware: All
            Status: CONFIRMED
           Version: AOO 3.4.0
         Component: open-import
           Product: word processor

Created attachment 78624
  --> https://issues.apache.org/ooo/attachment.cgi?id=78624&action=edit
Crashes OpenOffice 3.4, works on 3.3

Opening (or scrolling to the second page) the attached RTF file leads to a
crash in OpenOffice 3.4 while it works normally in OpenOffice.org 3.3.

Tested on OpenOffice 3.4 with a clean profile and all QA best practices (clean
install and so on).

The file is from a public domain repository of classic books
http://www.liberliber.it/ and all RTF files downloaded from there seem to be
affected. 

[ Credits: reported by Italian users on the Italian forum/newsgroups ]

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

Kay <ks...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kschenk@apache.org

--- Comment #1 from Kay <ks...@apache.org> ---
Is there any other information on this particular document? Yes, it does crash
on the second page with AOO 4.0 also. I don't have OOo3.3 to test.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

--- Comment #2 from Andrea Pescetti <pe...@apache.org> ---
OpenOffice 400m2 still crashes on these RTF files (all the files I tested from
the site, but specifically the file attached to this issue will crash).

If this can help, this is what gdb tells me (I can provide the full output if
useful) when I open the RTF file and scroll to page 2, thus causing the crash:

$ gdb /.../openoffice4/program/soffice.bin 
[...]
(gdb) run
[...]
Program received signal SIGSEGV, Segmentation fault.
0x00007fffcc853c53 in SwIndex::SwIndex(SwIndexReg*, unsigned short) () from
/.../openoffice4/program/../program/libsw.so

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |denis.simonet@adfinis-sygro
                   |                            |up.ch

--- Comment #5 from Andre <aw...@googlemail.com> ---
*** Bug 120291 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

--- Comment #4 from Andre <aw...@googlemail.com> ---
Looks like SwIndexReg members pFirst and pLast are expected to be both NULL or
both non-NULL.  Therefore only pFirst is checked to be non-NULL in
index.cxx:92.
But in the crash pFirst is non-NULL, and thus passes the test, but pLast is
still NULL and triggers the crash when accessed anyway.  Looks like the doubly
linked list is not properly initialized/managed.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|issues@openoffice.apache.or |awf.aoo@googlemail.com
                   |g                           |

--- Comment #6 from Andre <aw...@googlemail.com> ---
Taking over.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

liupingtan <do...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doneyourself@gmail.com
              Flags|                            |4.0.0_release_blocker?

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 120250] Crash while opening RTF file

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

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awf.aoo@googlemail.com

--- Comment #3 from Andre <aw...@googlemail.com> ---
Debugging on Windows revealed the crash happening in
sw/source/core/bastyp/index.cxx:94 where SwIndexReg object is accessed with
empty pLast member.

-- 
You are receiving this mail because:
You are the assignee for the bug.