[Libreoffice] segfault in libqa_unit.so test

Thomas Klausner wiz at NetBSD.org
Thu Jan 6 13:44:40 PST 2011


On Tue, Jan 04, 2011 at 03:01:53PM +0000, Caolán McNamara wrote:
> One horrific temporary hack to test a theory would be to call _exit to
> skip calling the massive dtor chain which OOo builds up. Though that's
> not a cure, just a temp hack, but maybe it'll help isolate this.

I'm confused why, but with this patch applied, I get failure much
earlier.

Module 'odk' delivered successfully. 3 files copied, 1 files unchanged

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

  internal build errors:

ERROR: error 65280 occurred while making /disk/2/archive/libreoffice/tools/qa

 it seems that the error is inside 'tools', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

rm -Rf /disk/2/archive/libreoffice/tools/unxbsdx3.pro # optional module 'clean'
/bin/bash
cd /disk/2/archive/libreoffice
source ./NetBSDX86-64Env.Set.sh
cd tools
build

when the problem is isolated and fixed exit and re-run 'make' from the top-level


when I do that:


Making:    test_tools.so
../unxbsdx3.pro/slo/test_reversemap.o: In function `(anonymous namespace)::Test::testEncoding(unsigned short)':
test_reversemap.cxx:(.text+0x3f0): undefined reference to `getBestMSEncodingByChar(unsigned short)'
dmake:  Error code 1, while making '../unxbsdx3.pro/lib/test_tools.so'
Forcing regeneration of dependency info

----------------------------------------------------------
- start unit test #1 on library
----------------------------------------------------------
: &&     LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/disk/2/archive/libreoffice/clone/libs-gui/tools/unxbsdx3.pro/lib:/disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/lib  /disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/bin/cppunittester 
Usage: cppunittester <shared-library-path>
dmake:  Error code 1, while making 'test1'
Retrying /disk/2/archive/libreoffice/tools/qa

Making:    all_qa.dpslo
Making:    test_tools.so
../unxbsdx3.pro/slo/test_reversemap.o: In function `(anonymous namespace)::Test::testEncoding(unsigned short)':
test_reversemap.cxx:(.text+0x3f0): undefined reference to `getBestMSEncodingByChar(unsigned short)'
dmake:  Error code 1, while making '../unxbsdx3.pro/lib/test_tools.so'

-----------------------------------------------------------------------
        Oh dear - something failed during the build - sorry !
  For more help with debugging build errors, please see the section in:
            http://wiki.documentfoundation.org/Development

 it seems that the error is inside 'tools', please re-run build
 inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------

rm -Rf /disk/2/archive/libreoffice/tools/unxbsdx3.pro # optional module 'clean'
/bin/bash
cd /disk/2/archive/libreoffice
source ./NetBSDX86-64Env.Set.sh
cd tools
build


How can the diff cause that?
 Thomas


More information about the LibreOffice mailing list