[Libreoffice-bugs] [Bug 51954] gsicheck segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 12 17:46:33 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51954

--- Comment #4 from Andras Timar <timar74 at gmail.com> 2012-07-12 08:46:33 PDT ---
After 3rd patch, no crash, no hang, no regression because of handling "\\<".

Problems:
1. assertion failed when processing dgo.sdf
timar at timar-corei7:~/LibO36l10n/aaa> 
/home/timar/libreoffice-master/solver/unxlngx6.pro/bin/gsicheck -c -wef
dgo1.err dgo.sdf > dgo1.log
gsicheck:
/home/timar/libreoffice-master/solver/unxlngx6.pro/inc/rtl/string.hxx:1038:
rtl::OString rtl::OString::copy(sal_Int32, sal_Int32) const: Assertion
`beginIndex >= 0 && beginIndex <= getLength() && count >= 0 &&
sal::static_int_cast<sal_uInt32>(count) <=
sal::static_int_cast<sal_uInt32>(getLength() - beginIndex)' failed.
Aborted

Please find dgo.sdf here: http://dl.dropbox.com/u/8912433/dgo.sdf.bz2

2. err file format changed (CR/LF line endings instead of LF) - not a real
issue

3. log file format changed - it tries to gives more information of the errors
now, for example:

Error: Translation Tag Mismatch, Line 28537, UniqueID
helpcontent2/source\text\scalc\01\04060102.xhp/help/par_id6354457///: Property
'href': value different in Translation : \<embedvar
href=\"text/scalc/01/func_datedif.xhp#datedif\"/\> at Position 0  "helpcontent2
   source\text\scalc\01\04060102.xhp    0    help    par_id6354457             
  0    de    \<embedvar href=\"text/scalc/01/func_date.xhp#date\"/\>           
    2002-02-02 02:02:02"

This is OK. Maybe it would be enough to print the text field only, other info
is redundant or not important, and we will find position of error easier.
However, many times it does not print the whole sdf line, e.g.:

Error: Translation Tag Mismatch, Line 26029, UniqueID
helpcontent2/source\text\scalc\01\01120000.xhp/help/par_id9838862///: Extra Tag
in Translation: \<switchinline select=\"sys\"\> at Position 178 
"lc\01\01120000.xhp    0    help    par_id9838862                0    de    Sie
können auch die Tasten \<switchinline select=\"sys\"\>\<caseinline
select=\"MAC\"\>Befehl\</caseinline\>\<defaultinline\>Strg\</defaultinline\>\</switchinline\>+Bild
auf und \<switchinline select=\"sys\"\>\<caseinline
select=\"MAC\"\>Befehl\</case"

http://dl.dropbox.com/u/8912433/de.sdf.bz2

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Libreoffice-bugs mailing list