[Libreoffice] segfault in libqa_unit.so test

Caolán McNamara caolanm at redhat.com
Tue Jan 4 07:01:53 PST 2011


On Thu, 2010-12-16 at 12:57 +0100, Thomas Klausner wrote:

> The build on NetBSD currently fails with:
> 
> Entering /disk/2/archive/libreoffice/sc/qa/unit
> 
> ----------------------------------------------------------
> - start unit test #1 on library ../../unxbsdx3.pro/lib/libqa_unit.so
> ----------------------------------------------------------
> : &&     LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/disk/2/archive/libreoffice/clone/calc/sc/unxbsdx3.pro/lib:/disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/lib  /disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/bin/cppunittester ../../unxbsdx3.pro/lib/libqa_unit.so -headless -invisible \
>         -env:UNO_SERVICES=file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/services.rdb \
>         -env:UNO_TYPES="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/types.rdb file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/udkapi.rdb" \
>         -env:OOO_BASE_DIR="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit" \
>         -env:BRAND_BASE_DIR="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit" \
>         -env:UNO_USER_PACKAGES_CACHE="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit"
> OK (3)
> /bin/bash: line 1: 21530 Segmentation fault      (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH+${LD_LIBRARY_PATH}:}/disk/2/archive/libreoffice/clone/calc/sc/unxbsdx3.pro/lib:/disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/lib /disk/2/archive/libreoffice/solver/330/unxbsdx3.pro/bin/cppunittester ../../unxbsdx3.pro/lib/libqa_unit.so -headless -invisible -env:UNO_SERVICES=file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/services.rdb -env:UNO_TYPES="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/types.rdb file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit/udkapi.rdb" -env:OOO_BASE_DIR="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit" -env:BRAND_BASE_DIR="file:///disk/2/archive/libreoffice/clone/calc/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit" -env:UNO_USER_PACKAGES_CACHE="file:///disk/2/archive/libreoffice/clone/!
 cal
>  c/sc/qa/unit/../../unxbsdx3.pro/misc/qa_unit"

Is this still broken for you. Looking at this, it appears to be a crash
on exit seeing as it was able to print the "tests passed" line of OK.

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.

C.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: exit.hackaround.patch
Type: text/x-patch
Size: 1135 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20110104/72f0d1f7/attachment.bin>


More information about the LibreOffice mailing list