[tex-live] Memory curruption (Was: no subject)
Dr. Werner Fink
werner at suse.de
Tue Oct 18 10:24:42 CEST 2011
On Tue, Oct 18, 2011 at 10:10:31AM +0200, Werner Fink wrote:
>
> 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.
I've identified:
texmf/tex/platex/base/plcore.ltx
with
\newbox\adjust at box
\newdimen\adjust at dimen
\def\adjustbaseline{%
\setbox\adjust at box\hbox{\char\euc"A1A1}%
\cht\ht\adjust at box
\cdp\dp\adjust at box
\cwd\wd\adjust at box
\cvs\normalbaselineskip
\chs\cwd
\cHT\cht \advance\cHT\cdp
\iftdir
\setbox\adjust at box\hbox{\tbaselineshift\z@ M}%
\adjust at dimen\ht\adjust at box
\advance\adjust at dimen\dp\adjust at box
\advance\adjust at dimen-\cHT
\divide\adjust at dimen\tw@
\advance\adjust at dimen\cdp
\advance\adjust at dimen-\dp\adjust at box
\tbaselineshift\adjust at dimen
\fi}
as cause, that is that the command
\wd \adjust at box
returns an invalid number (added \typeout{\number\wd\adjust at box} for check)
Using a single byte character instead of "A1A1 works flawless.
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