[NTG-pdftex] Lost newline somehow.

Martin Schröder martin at oneiros.de
Tue Jan 8 12:27:36 CET 2008


2008/1/7, Martin Schröder <martin at oneiros.de>:
> ../../../src/texk/web2c/web2c/convert pdftex
>
> What does this "Lost newline somehow." mean, i.e. what's wrong?

What's happening is that in this pipeline in convert
eval 'cat ../../../src/texk/web2c/web2c/common.defines
../../../src/texk/web2c/web2c/texmf.defines
../../../src/texk/web2c/pdftexdir/pdftex.defines pdftex.p      |
./web2c/web2c -htexmfmp.h -t -cpdftexcoerce      | ./web2c/fixwrites
-t pdftex   | ./web2c/splitup -i -l 11500 pdftex   '
the first web2c segfaults.

gdb gives this:
Program received signal SIGSEGV, Segmentation fault.
0x00002b62d7b2a20c in vfprintf () from /lib64/libc.so.6
(gdb) bt
#0  0x00002b62d7b2a20c in vfprintf () from /lib64/libc.so.6
#1  0x00002b62d7b33468 in fprintf () from /lib64/libc.so.6
#2  0x000000000040252b in yyparse () at
../../../../src/texk/web2c/web2c/web2c.y:192
#3  0x0000000000401892 in main (argc=4, argv=0x7fffd31dce38) at
../../../../src/texk/web2c/web2c/main.c:264
192             fprintf(coerce, "#define %s_regmem register memoryword
*eqtb=zeqtb;\n",
193                               my_routine);
(gdb) p my_routine
$1 = "closefilesandterminate\000ge", '\0' <repeats 74 times>

Most likely some limit in web2c is reached...

Best
   Martin


More information about the ntg-pdftex mailing list