[tex-live] Memory curruption (Was: no subject)

Dr. Werner Fink werner at suse.de
Tue Oct 18 10:10:31 CEST 2011


On Tue, Oct 18, 2011 at 08:47:45AM +0200, Markus Kohm wrote:
> Am Montag, 17. Oktober 2011 schrieb Mojca Miklavec:
> > Ask on the SuSE list to upgrade to TeX Live 2011
> 
> TeX Live 2011 is already part of OBS projekt Publishing, see 
> <http://download.opensuse.org/repositories/Publishing/openSUSE_11.4>. There's 
> a one-click installation button at 
> <http://software.opensuse.org/search?q=texlive&baseproject=openSUSE%3A11.4&exclude_debug=true>
> 
> Disclaimer: I'm using upstrem version of TeX Live. So I don't know any thing 
> else about texlive at Publishing, but last update of the packages was at 10-
> Oct-2011.

As maintainer of TeX Live for openSuSE I've run on a problem with eptex
dumping platex.  During beta test we always set some environment variables
in our build system like MALLOC_CHECK_=3 and MALLOC_PERTURB_=69.  With
this I see in the logs as well as in a clean chroot build environment:

 eptex -ini  -jobname=platex -progname=platex \*platex.ini
 This is e-pTeX, Version 3.1415926-p3.2-110415-2.3 (utf8.euc) (TeX Live 2011) (INITEX)
 restricted \write18 enabled.
 entering extended mode
 (/tmp/=/usr/share/texmf/tex/platex/config/platex.ini
 <<< making "platex with Babel" format >>>
 (/tmp/=/usr/share/texmf/tex/platex/base/platex.ltx
 (/tmp/=/usr/share/texmf/tex/latex/base/latex.ltx
 [...]
 **************************
 *
 * making pLaTeX format
 *
 **************************
 (/tmp/=/usr/share/texmf/tex/platex/base/plcore.ltx
 ! Dimension too large.
 \adjustbaseline ...djust at box \cwd \wd \adjust at box 
                                                   \cvs \normalbaselineskip \...
 l.628 \adjustbaseline

 ? x
 No pages of output.
 Transcript written on platex.log.

from tail of platex.log:

 (/tmp/=/usr/share/texmf/tex/latex/base/ltpatch.ltx)
 )
 **************************
 *
 * making pLaTeX format
 *
 **************************
 (/tmp/=/usr/share/texmf/tex/platex/base/plcore.ltx
 \Cht=\dimen102
 \cht=\dimen103
 \Cdp=\dimen104
 \cdp=\dimen105
 \Cwd=\dimen106
 \cwd=\dimen107
 \Cvs=\dimen108
 \cvs=\dimen109
 \Chs=\dimen110
 \chs=\dimen111
 \cHT=\dimen112
 \tstrutbox=\box26
 \zstrutbox=\box27
 LaTeX Info: Redefining \selectfont on input line 379.
 \adjust at box=\box28
 \adjust at dimen=\dimen113
 LaTeX Info: Redefining \fontencoding on input line 500.
 LaTeX Info: Redefining \fontfamily on input line 548.
 LaTeX Info: Redefining \fontseries on input line 601.
 LaTeX Info: Redefining \fontshape on input line 604.
 LaTeX Info: Redefining \normalfont on input line 618.

 ! Dimension too large.
 \adjustbaseline ...djust at box \cwd \wd \adjust at box 
                                                   \cvs \normalbaselineskip
\...
 l.628 \adjustbaseline

 ? x

 Here is how much of TeX's memory you used:
  4131 strings out of 498426
  56505 string characters out of 3222515
  47789 words of memory out of 3500000
  3394 multiletter control sequences out of 15000+200000
  3640 words of font info for 14 fonts, out of 3000000 for 9000
  745 hyphenation exceptions out of 8191
  21i,0n,20p,263b,76s stack positions out of 5000i,500n,10000p,200000b,50000s
 No pages of output.

No if I do

 unset MALLOC_PERTURB

the dump works flawless. But IMHO there is a problem with a possible
memory curruption due access to freed memory ... or simply a missing
memset(.., 0, ..).

       Werner

-- 
  "Having a smoking section in a restaurant is like having
          a peeing section in a swimming pool." -- Edward Burr


More information about the tex-live mailing list