[Libreoffice-bugs] [Bug 116896] New: Segfaulting test-case with -flto

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Apr 9 08:57:40 UTC 2018


https://bugs.documentfoundation.org/show_bug.cgi?id=116896

            Bug ID: 116896
           Summary: Segfaulting test-case with -flto
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: BASIC
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mliska at suse.cz

Following test-case is failing with --enable-lto:

[ 7806s] /bin/sh: line 1:  1652 Segmentation fault      (core dumped) (
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$I/program:$I/pro
gram":$W/UnpackedTarball/cppunit/src/cppunit/.libs MALLOC_CHECK_=2
MALLOC_PERTURB_=153 $W/LinkTarget/Executable/cppunittester
$W/LinkTarget/CppunitTest/libtest_sw_uwriter.so --headless "-
env:BRAND_BASE_DIR=file://$S/instdir" "-env:BRAND_SHARE_SUBDIR=share"
"-env:BRAND_SHARE_RESOURCE_SUBDIR=program/resource" "-
env:UserInstallation=file://$W/CppunitTest/sw_uwriter.test.user" "-
env:CONFIGURATION_LAYERS=xcsxcu:file://$I/share/registry
xcsxcu:file://$W/unittest/registry" "-
env:UNO_TYPES=file://$I/program/types.rdb
file://$I/program/types/offapi.rdb" "-
env:UNO_SERVICES=file://$W/Rdb/ure/services.rdb
file://$W/ComponentTarget/comphelper/util/comphelp.component
file://$W/ComponentTarget/configmgr/source/configmgr.component
file://$W/ComponentTarget/framework/util/fwk.component
file://$W/ComponentTarget/i18npool/util/i18npool.component
file://$W/ComponentTarget/package/util/package2.component
file://$W/ComponentTarget/package/source/xstor/xstor.component
file://$W/ComponentTarget/sfx2/util/sfx.component
file://$W/ComponentTarget/ucb/source/core/ucb1.component
file://$W/ComponentTarget/ucb/source/ucp/file/ucpfile1.component
file://$W/ComponentTarget/unotools/util/utl.component
file://$W/ComponentTarget/unoxml/source/service/unoxml.component
file://$W/ComponentTarget/uui/util/uui.component"
-env:URE_INTERNAL_LIB_DIR=file://$I/program
-env:LO_LIB_DIR=file://$I/program
-env:LO_JAVA_DIR=file://$I/program/classes --protector
$W/LinkTarget/Library/unoexceptionprotector.so unoexceptionprotector --
protector $W/LinkTarget/Library/unobootstrapprotector.so
unobootstrapprotector --protector
$W/LinkTarget/Library/libvclbootstrapprotector.so vclbootstrapprotector
"-env:CPPUNITTESTTARGET=$W/CppunitTest/sw_uwriter.test" ) >
$W/CppunitTest/sw_uwriter.test.log 2>&1
[ 7806s]
ToxTextGeneratorTest::EmptyStringIsReturnedForPageNumberPlaceholderOfZe
roItems finished in: 0ms
[ 7806s]
ToxTextGeneratorTest::OneAtSignIsReturnedForPageNumberPlaceholderOfOneI
tem finished in: 0ms
[ 7806s]
ToxTextGeneratorTest::TwoAtSignsAreReturnedForPageNumberPlaceholderOfOn
eItem finished in: 0ms
[ 7806s]
ToxTextGeneratorTest::EmptyStringIsReturnedAsNumStringIfNoTextMarkIsSet
finished in: 0ms
[ 7806s]
ToxTextGeneratorTest::EmptyStringIsReturnedAsNumStringIfToxSourcesIsEmp
ty finished in: 0ms
[ 7806s] which: no gdb in
(/usr/local/bin:/usr/bin:/bin:/usr/lib/mit/bin:/usr/lib/mit/sbin:/usr/l
ib64/jvm/java/bin)
[ 7806s] You need gdb in your path to show backtraces
[ 7806s] 
[ 7806s] Error: a unit test failed, please do one of:
[ 7806s] 
[ 7806s] make CppunitTest_sw_uwriter CPPUNITTRACE="gdb --args"
[ 7806s]     # for interactive debugging on Linux
[ 7806s] make CppunitTest_sw_uwriter VALGRIND=memcheck
[ 7806s]     # for memory checking
[ 7806s] make CppunitTest_sw_uwriter DEBUGCPPUNIT=TRUE
[ 7806s]     # for exception catching

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20180409/ad181f56/attachment-0001.html>


More information about the Libreoffice-bugs mailing list