Bug 60578 - sw_subsequent_ww8export crashes on s390(x)/mips
Summary: sw_subsequent_ww8export crashes on s390(x)/mips
Status: RESOLVED WONTFIX
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
4.0.0.3 release
Hardware: Other Linux (All)
: medium normal
Assignee: Caolán McNamara
URL:
Whiteboard:
Keywords: regression
Depends on:
Blocks:
 
Reported: 2013-02-10 11:43 UTC by Rene Engelhard
Modified: 2013-09-17 19:13 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments
log (13.52 KB, text/plain)
2013-02-10 11:43 UTC, Rene Engelhard
Details
VALGRIND=memcheck log (2.15 MB, text/plain)
2013-02-12 17:54 UTC, Rene Engelhard
Details

Note You need to log in before you can comment on or make changes to this bug.
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 (allotropia) 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