export-validation in tests by default causing 32 bit Ubuntu to crash

Markus Mohrhard markus.mohrhard at googlemail.com
Thu Sep 8 23:01:12 UTC 2016


Hey Luke,

On Thu, Sep 8, 2016 at 6:44 PM, Luke Benes <lukebenes at hotmail.com> wrote:

> Ever since
> https://cgit.freedesktop.org/libreoffice/core/commit/?id=
> 0868f670374cdcf6c2610d91ff8702f59b2e0bd3
>
> With 32-bit Ubuntu 16.04, I'm getting the following build failure:
>
> CUT] sw_ww8import
> testTscp::Import_Export_Import finished in: 354ms
> testFdo45724::Import finished in: 0ms
> File tested,Execution Time (ms)
> Segmentation fault (core dumped)
>
> No core file identified in directory /core/workdir/CppunitTest/sw_
> ww8export.test.core
> To show backtraces for crashes during test execution,
> enable core files with:
>
>    ulimit -c unlimited
>
>
> Error: a unit test failed, please do one of:
> make CppunitTest_sw_ww8export CPPUNITTRACE="gdb --args"
>     # for interactive debugging on Linux
> make CppunitTest_sw_ww8export VALGRIND=memcheck
>     # for memory checking
> make CppunitTest_sw_ww8export DEBUGCPPUNIT=TRUE
>     # for exception catching
>
> /core/solenv/gbuild/CppunitTest.mk:101: recipe for target
> '/core/workdir/CppunitTest/sw_ww8export.test' failed
> make[1]: *** [/core/workdir/CppunitTest/sw_ww8export.test] Error 1
> make[1]: *** Waiting for unfinished jobs....
> Aborted (core dumped)
> /core/test/source/bootstrapfixture.cxx:177:SdImportTest::
> testDocumentLayout
> equality assertion failed
> - Expected: 0
> - Actual  : 34304
> - failed to execute: sh /core/bin/officeotron.sh /tmp/lu16851plw1cl.tmp >
> /tmp/lu16851plw1cn.tmp
>
> SdImportTest::testDocumentLayout finished in: 46233ms
> SdImportTest::testSmoketest finished in: 200ms
> SdImportTest::testN759180 finished in: 237ms
> SdImportTest::testN778859 finished in: 253ms
> ...
> SdImportTest::testTdf93868 finished in: 262ms
> SdImportTest::testTdf95932 finished in: 230ms
> SdImportTest::testTdf99030 finished in: 189ms
> SdImportTest::testTdf49561 finished in: 105ms
> bootstrapfixture.cxx:177:Assertion
> Test name: SdImportTest::testDocumentLayout
> equality assertion failed
> - Expected: 0
> - Actual  : 34304
> - failed to execute: sh /core/bin/officeotron.sh /tmp/lu16851plw1cl.tmp >
> /tmp/lu16851plw1cn.tmp
>
> Failures !!!
> Run: 46   Failure total: 1   Failures: 1   Errors: 0
>
> Error: a unit test failed, please do one of:
> make CppunitTest_sd_import_tests CPPUNITTRACE="gdb --args"
>     # for interactive debugging on Linux
> make CppunitTest_sd_import_tests VALGRIND=memcheck
>     # for memory checking
> make CppunitTest_sd_import_tests DEBUGCPPUNIT=TRUE
>     # for exception catching
>
> /core/solenv/gbuild/CppunitTest.mk:101: recipe for target
> '/core/workdir/CppunitTest/sd_import_tests.test' failed
> make[1]: *** [/core/workdir/CppunitTest/sd_import_tests.test] Error 1
> Makefile:261: recipe for target 'build' failed
> make: *** [build] Error 2
>
> -----------------------
>
> Vasily,
> Is there anything else I can do to help you resolve this build failure?
>
>
> <https://cgit.freedesktop.org/libreoffice/core/commit/?id=0868f670374cdcf6c2610d91ff8702f59b2e0bd3>
>
>
Can you run:

make CppunitTest_sw_ww8export CPPUNITTRACE="gdb --args"

type "run" into the gdb window and when it crashes produce a backtrace that
you send with: "thread apply all bt"

At least for the crash that should give an idea what is broken (under the
assumption that you have at least symbols enabled in your build, one of
--enable-symbols, --enable-debug or --enable-dbgutil in autogen.input).

Regards,
Markus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20160909/2edb5ccf/attachment.html>


More information about the LibreOffice mailing list