Bug 60578

Summary: sw_subsequent_ww8export crashes on s390(x)/mips
Product: LibreOffice Reporter: Rene Engelhard <rene>
Component: WriterAssignee: Caolán McNamara <caolanm>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: medium CC: dtardon, mst.fdo
Version: 4.0.0.3 releaseKeywords: regression
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: log
VALGRIND=memcheck log

Description Rene Engelhard 2013-02-10 11:43:15 UTC
Created attachment 74528 [details]
log

Hi,

see https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=s390&ver=1%3A4.0.0-1&stamp=1360380052 and https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=s390x&ver=1%3A4.0.0-1&stamp=1360360019:

[build CUT] sw_subsequent_ww8export
[build CUT] sw_subsequent_ww8import
/bin/bash: line 1:  7692 Segmentation fault      (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry module:file://$O/xml/registry/spool xcsxcu:file://$O/unittest/registry" "-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/basic/util/sb.component file://$O/xml/component/comphelper/util/comphelp.component file://$O/xml/component/configmgr/source/configmgr.component file://$O/xml/component/dbaccess/util/dba.component file://$O/xml/component/embeddedobj/util/embobj.component file://$O/xml/component/fileaccess/source/fileacc.component file://$O/xml/component/filter/source/config/cache/filterconfig1.component file://$O/xml/component/forms/util/frm.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/linguistic/source/lng.component file://$O/xml/component/package/source/xstor/xstor.component file://$O/xml/component/package/util/package2.component file://$O/xml/component/sax/source/expatwrap/expwrap.component file://$O/xml/component/sw/util/msword.component file://$O/xml/component/sw/util/sw.component file://$O/xml/component/sw/util/swd.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/svl/source/fsstor/fsstorage.component file://$O/xml/component/svtools/util/svt.component file://$O/xml/component/toolkit/util/tk.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/unotools/util/utl.component file://$O/xml/component/unoxml/source/service/unoxml.component file://$O/xml/component/xmlhelp/util/ucpchelp1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector > $W/CppunitTest/sw_subsequent_ww8export.test.log 2>&1

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make[4]: *** [/build/buildd-libreoffice_4.0.0-1-s390x-JIgP77/libreoffice-4.0.0/workdir/unxlngs390x.pro/CppunitTest/sw_subsequent_ww8export.test] Error 1

(worked in 3.6.5, cf. https://buildd.debian.org/status/logs.php?pkg=libreoffice&arch=s390x -> regression)

trying this on zelenka.debian.org in a s390x sid chroot I get what is in the attachement.
Comment 1 Michael Stahl 2013-02-12 12:29:22 UTC
caolan are you able to build on s390x?
Comment 2 Caolán McNamara 2013-02-12 14:11:52 UTC
Not locally anyway. Eventually I'll get around to throwing 4.0.0 through our build farm which has s390x in it.
Comment 3 Rene Engelhard 2013-02-12 17:54:54 UTC
Created attachment 74700 [details]
VALGRIND=memcheck log

mst suggested to run it with VALGRIND=memcheck, too. here it si
Comment 4 David Tardon 2013-02-13 04:54:24 UTC
dtardon->mstahl: RHEL/s390x build of 4.0.0.3 is fine...
Comment 5 Rene Engelhard 2013-02-25 14:53:39 UTC
hmm. I tried
 - a buid with -Oo
 - a build without the hardening flags

still failed.

And it also failed again with 4.0.1 rc1:
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=s390&ver=1%3A4.0.1~rc1-2&stamp=1361753450
https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=s390x&ver=1%3A4.0.1~rc1-2&stamp=1361762600
Comment 6 Rene Engelhard 2013-02-25 14:54:10 UTC
I of course meant -O0...
Comment 7 Rene Engelhard 2013-02-27 09:24:48 UTC
And now also on mips (big endian), but this time a bus error:

[build LNK] CppunitTest/libtest_sw_filters_test.so
/bin/bash: line 1:  7188 Bus error               (core dumped) LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"$O/lib":$O/lib/sqlite DBGSV_ERROR_OUT=shell DISABLE_SAL_DBGBOX=t STAR_RESOURCEPATH=$O/bin/ $O/bin/cppunit/cppunittester $W/LinkTarget/CppunitTest/libtest_sw_subsequent_ww8export.so --headless "-env:BRAND_BASE_DIR=file://$O/unittest/install" "-env:CONFIGURATION_LAYERS=xcsxcu:file://$O/xml/registry module:file://$O/xml/registry/spool xcsxcu:file://$O/unittest/registry" "-env:UNO_TYPES=file://$O/bin/offapi.rdb file://$O/bin/udkapi.rdb" "-env:UNO_SERVICES=file://$O/xml/ure/services.rdb file://$O/xml/component/basic/util/sb.component file://$O/xml/component/comphelper/util/comphelp.component file://$O/xml/component/configmgr/source/configmgr.component file://$O/xml/component/dbaccess/util/dba.component file://$O/xml/component/embeddedobj/util/embobj.component file://$O/xml/component/fileaccess/source/fileacc.component file://$O/xml/component/filter/source/config/cache/filterconfig1.component file://$O/xml/component/forms/util/frm.component file://$O/xml/component/framework/util/fwk.component file://$O/xml/component/i18npool/util/i18npool.component file://$O/xml/component/linguistic/source/lng.component file://$O/xml/component/package/source/xstor/xstor.component file://$O/xml/component/package/util/package2.component file://$O/xml/component/sax/source/expatwrap/expwrap.component file://$O/xml/component/sw/util/msword.component file://$O/xml/component/sw/util/sw.component file://$O/xml/component/sw/util/swd.component file://$O/xml/component/sfx2/util/sfx.component file://$O/xml/component/svl/source/fsstor/fsstorage.component file://$O/xml/component/svtools/util/svt.component file://$O/xml/component/toolkit/util/tk.component file://$O/xml/component/ucb/source/core/ucb1.component file://$O/xml/component/ucb/source/ucp/file/ucpfile1.component file://$O/xml/component/unotools/util/utl.component file://$O/xml/component/unoxml/source/service/unoxml.component file://$O/xml/component/xmlhelp/util/ucpchelp1.component" -env:URE_INTERNAL_LIB_DIR=file://$O/lib -env:LO_LIB_DIR=file://$O/lib --protector unoexceptionprotector.so unoexceptionprotector --protector unobootstrapprotector.so unobootstrapprotector > $W/CppunitTest/sw_subsequent_ww8export.test.log 2>&1

Error: a unit test failed, please do one of:

export DEBUGCPPUNIT=TRUE            # for exception catching
export GDBCPPUNITTRACE="gdb --args" # for interactive debugging
export VALGRIND=memcheck            # for memory checking
and retry.
make[4]: *** [/build/buildd-libreoffice_4.0.1~rc1-2-mips-GVAzpd/libreoffice-4.0.1~rc1/workdir/unxlngmips.pro/CppunitTest/sw_subsequent_ww8export.test] Error 1

(see https://buildd.debian.org/status/fetch.php?pkg=libreoffice&arch=mips&ver=1%3A4.0.1~rc1-2&stamp=1361956738)
Comment 8 Caolán McNamara 2013-09-17 19:13:04 UTC
This is gone a bit stale so I wont fix this < 4.0.X bunch of problem. We need to locally (RH) enable make check again and see if it gets through s390x

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.