<html>
    <head>
      <base href="https://bugs.documentfoundation.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_UNCONFIRMED "
   title="UNCONFIRMED - Segfaulting test-case with -flto"
   href="https://bugs.documentfoundation.org/show_bug.cgi?id=116896">116896</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Segfaulting test-case with -flto
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>LibreOffice
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>UNCONFIRMED
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>BASIC
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>libreoffice-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>mliska@suse.cz
          </td>
        </tr></table>
      <p>
        <div>
        <pre>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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>