[tlbuild] building problems on s390x

Norbert Preining preining at logic.at
Fri Jul 4 07:26:47 CEST 2014


Hi Peter,

I am trying to track down failed tests on s390x archs which started
to happen since we build synctex as shared library. I know, backporting
changes is not supported, and I know shared-lib building, too ;-)

I tried to reproduce the same behaviour with current svn sources,
and the same happens there, too:

The two tests that fail are:
FAIL: pdftexdir/wprob.test
FAIL: pdftexdir/pdfimage.test
(interestingly, with pdfimage test I have to press <Enter> to continue!)
both segfault.

System description:
IBM/S390
Linux zelenka 3.2.0-4-s390x #1 SMP Debian 3.2.57-3+deb7u2 s390x GNU/Linux
(Debian 4.9.0-9) 4.9.0

FAIL: pdftexdir/wprob
=====================

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev) (INITEX)
 restricted \write18 enabled.
entering extended mode
(./pwprob.texSegmentation fault

FAIL: pdftexdir/pdfimage
========================

This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2015/dev) (INITEX)
 restricted \write18 enabled.
(../../../texk/web2c/pdftexdir/tests/pdfimage.tex
(../../../texk/web2c/tests/basic.tex Preloading the plain format: codes,
registers,
! Missing number, treated as zero.
<to be read again> 
                   \BAD.
...
l.256 \newdimen\maxdimen
                         \maxdimen=16383.99999pt % the largest legal <dimen>
? Segmentation fault




The configure call was:
../configure 
		--disable-native-texlive-build
                --disable-largefile
  (with or without              --enable-shared !!!)
                --disable-all-pkgs 
                --enable-pdftex 
		--disable-luajittex --disable-mf --disable-tex --disable-etex
		--disable-ptex --disable-eptex --disable-uptex --disable-euptex
		--disable-aleph --disable-luatex --disable-mp --disable-xetex
		--enable-web2c

(as said, it happens with and without --enable-shared!)

I tried to debug with gdb on a Debian builder machine, but that
did not work out well. The only thing I found was:
Reading symbols from .libs/pdftex...done.
BFD: Warning: /home/preining/source/Work/texk/web2c/core is truncated: expected core file size >= 122933248, found: 79765504.

warning: core file may not match specified executable file.
[New LWP 27653]

warning: Error reading shared library list entry at 0x687365612e736f2e

warning: Error reading shared library list entry at 0x5461626c65005f5f
Core was generated by `/home/preining/source/Work/texk/web2c/.libs/lt-pdftex --ini --etex --file-line-'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000008002d84a in getnext () at pdftex0.c:9892
9892	      curchr = eqtb [curcs ].hh .v.RH ;
(gdb) bt
Python Exception <class 'gdb.MemoryError'> Cannot access memory at address 0x3ffff8beb50: 
#0  0x000000008002d84a in getnext () at pdftex0.c:9892
Cannot access memory at address 0x3ffff8beb50
(gdb) 


Do you have any idea ...?



Norbert

------------------------------------------------------------------------
PREINING, Norbert                               http://www.preining.info
JAIST, Japan                                 TeX Live & Debian Developer
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0  ACF0 6CAC A448 860C DC13
------------------------------------------------------------------------



More information about the tlbuild mailing list