Cygwin: texi2dvi stumbles over texinfo.tex

Ralf Wildenhues Ralf.Wildenhues@gmx.de
Fri May 26 04:47:00 GMT 2006


Hi Karl,

* Karl Berry wrote on Fri, May 26, 2006 at 12:04:15AM CEST:
> This line in fmtutil.cnf indicates the problem:
> 
> etex		pdfetex		language.def	-translate-file=cp227.tcx *etex.ini
> 
> Either (1) the second word should be changed to "etex", or
> (2) it should be arranged for "etex" in invoke pdfetex instead of etex.
> E.g., make "etex" a link to pdfetex, instead of its own binary.

> I suspect you could also work around this Cygwin configuration bug by
> setting TEX=tex before running texi2dvi.

Bingo, thanks for the analysis!  First, setting TEX=tex solves the
issue.  Then I tried changing above line.  That worked after removing
the ~/.texmf/var/web2c/etex.fmt file from previous tests.  I did not try
making etex a link to pdfetex.

So now the Automake tests are looking much better: I'm down to one
failure related to this: txinfo18.test quits with a segmentation fault
of texindex, called by texi2dvi.

Attached are the verbose output of the test, the output of
  sh -x texi2dvi --pdf --batch ../main.texi

and a script showing the stack dump of texindex as well as the source
files.

Cheers,
Ralf
-------------- next part --------------
make  defs aclocal-1.9a automake-1.9a
make[1]: Entering directory `/home/ralf/am/build/tests'
make[1]: `defs' is up to date.
make[1]: `aclocal-1.9a' is up to date.
make[1]: `automake-1.9a' is up to date.
make[1]: Leaving directory `/home/ralf/am/build/tests'
make  check-TESTS
make[1]: Entering directory `/home/ralf/am/build/tests'
/home/ralf/am/build/tests:/home/ralf/local/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/usr/lib/lapack
txinfo18: running makeinfo --version
makeinfo (GNU texinfo) 4.8

Copyright (C) 2004 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.
=== Running test ../../automake/tests/txinfo18.test
++ pwd
/home/ralf/am/build/tests/testSubDir
+ set -e
+ echo AC_OUTPUT
+ cat
+ cat
+ cat
+ aclocal-1.9a -Werror
+ automake-1.9a --foreign -Werror -Wall --add-missing
Makefile.am:1: installing `./texinfo.tex'
+ autoconf
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
+ make distcheck
{ test ! -d txinfo18-1.0 || { find txinfo18-1.0 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr txinfo18-1.0; }; }
test -d txinfo18-1.0 || mkdir txinfo18-1.0
make  \
  top_distdir="txinfo18-1.0" distdir="txinfo18-1.0" \
  dist-info
make[1]: Entering directory `/home/ralf/am/build/tests/testSubDir'
restore=: && backupdir=".am$$" && \
am__cwd=`pwd` && cd . && \
rm -rf $backupdir && mkdir $backupdir && \
if (/bin/sh /home/ralf/am/build/tests/testSubDir/missing --run makeinfo --version) >/dev/null 2>&1; then \
  for f in main.info main.info-[0-9] main.info-[0-9][0-9] main.i[0-9] main.i[0-9][0-9]; do \
    if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \
  done; \
else :; fi && \
cd "$am__cwd"; \
if /bin/sh /home/ralf/am/build/tests/testSubDir/missing --run makeinfo   -I . \
 -o main.info main.texi; \
then \
  rc=0; \
  cd .; \
else \
  rc=$?; \
  cd . && \
  $restore $backupdir/* `echo "./main.info" | sed 's|[^/]*$||'`; \
fi; \
rm -rf $backupdir; exit $rc
make[1]: Leaving directory `/home/ralf/am/build/tests/testSubDir'
find txinfo18-1.0 -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
  ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
  ! -type d ! -perm -444 -exec /bin/sh /home/ralf/am/build/tests/testSubDir/install-sh -c -m a+r {} {} \; \
|| chmod -R a+r txinfo18-1.0
tardir=txinfo18-1.0 && /bin/sh /home/ralf/am/build/tests/testSubDir/missing --run tar chof - "$tardir" | GZIP=--best gzip -c >txinfo18-1.0.tar.gz
{ test ! -d txinfo18-1.0 || { find txinfo18-1.0 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr txinfo18-1.0; }; }
case 'txinfo18-1.0.tar.gz' in \
*.tar.gz*) \
  GZIP=--best gunzip -c txinfo18-1.0.tar.gz | /bin/sh /home/ralf/am/build/tests/testSubDir/missing --run tar xf - ;;\
*.tar.bz2*) \
  bunzip2 -c txinfo18-1.0.tar.bz2 | /bin/sh /home/ralf/am/build/tests/testSubDir/missing --run tar xf - ;;\
*.tar.Z*) \
  uncompress -c txinfo18-1.0.tar.Z | /bin/sh /home/ralf/am/build/tests/testSubDir/missing --run tar xf - ;;\
*.shar.gz*) \
  GZIP=--best gunzip -c txinfo18-1.0.shar.gz | unshar ;;\
*.zip*) \
  unzip txinfo18-1.0.zip ;;\
esac
chmod -R a-w txinfo18-1.0; chmod a+w txinfo18-1.0
mkdir txinfo18-1.0/_build
mkdir txinfo18-1.0/_inst
chmod a-w txinfo18-1.0
dc_install_base=`CDPATH="${ZSH_VERSION+.}:" && cd txinfo18-1.0/_inst && pwd | sed -e 's,^[^:\\/]:[\\/],/,'` \
  && dc_destdir="${TMPDIR-/tmp}/am-dc-$$/" \
  && cd txinfo18-1.0/_build \
  && ../configure --srcdir=.. --prefix="$dc_install_base" \
     \
  && make  \
  && make  dvi \
  && make  check \
  && make  install \
  && make  installcheck \
  && make  uninstall \
  && make  distuninstallcheck_dir="$dc_install_base" \
        distuninstallcheck \
  && chmod -R a-w "$dc_install_base" \
  && ({ \
       (cd ../.. && umask 077 && mkdir "$dc_destdir") \
       && make  DESTDIR="$dc_destdir" install \
       && make  DESTDIR="$dc_destdir" uninstall \
       && make  DESTDIR="$dc_destdir" \
            distuninstallcheck_dir="$dc_destdir" distuninstallcheck; \
      } || { rm -rf "$dc_destdir"; exit 1; }) \
  && rm -rf "$dc_destdir" \
  && make  dist \
  && rm -rf txinfo18-1.0.tar.gz \
  && make  distcleancheck
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
configure: creating ./config.status
config.status: creating Makefile
make[1]: Entering directory `/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build'
make[1]: Entering directory `/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build'
TEXINPUTS="..:$TEXINPUTS" \
MAKEINFO='/bin/sh /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/missing --run makeinfo   -I ..' \
texi2dvi ../main.texi
This is e-TeXk, Version 3.141592-2.2 (Web2C 7.5.4)
 file:line:error style messages enabled.
 %&-line parsing enabled.
entering extended mode
(/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/main.texi
(/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/texinfo.tex
Loading texinfo [version 2006-05-07.15]: Basics, pdf, fonts, page headings,
tables, conditionals, indexing, sectioning, toc, environments, defuns, macros,
cross references, insertions, (/usr/share/texmf/tex/generic/epsf/epsf.tex)
localization, and turning on texinfo input format.)
(/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/sub.texi) [1] )
Output written on main.dvi (1 page, 236 bytes).
Transcript written on main.log.
/usr/bin/texi2dvi: line 357:   556 Segmentation fault      (core dumped) $texindex $index_files 2>&5 1>&2
/usr/bin/texi2dvi: texindex exited with bad status, quitting.
make[1]: *** [main.dvi] Error 1
make[1]: Leaving directory `/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build'
make: *** [distcheck] Error 2
FAIL: txinfo18.test
=====================================
1 of 1 tests failed
Please report to bug-automake@gnu.org
=====================================
make[1]: *** [check-TESTS] Error 1
make[1]: Leaving directory `/home/ralf/am/build/tests'
make: *** [check-am] Error 2
-------------- next part --------------
+ rcs_revision='$Revision: 1.34 $'
++ set - '$Revision:' 1.34 '$'
+ rcs_version=1.34
++ echo /usr/bin/texi2dvi
++ sed -e 's!.*/!!'
+ program=texi2dvi
+ version='texi2dvi (GNU Texinfo 4.8) 1.34

Copyright (C) 2004 Free Software Foundation, Inc.
There is NO warranty.  You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.'
+ usage='Usage: texi2dvi [OPTION]... FILE...

Run each Texinfo or LaTeX FILE through TeX in turn until all
cross-references are resolved, building all indices.  The directory
containing each FILE is searched for included files.  The suffix of FILE
is used to determine its language (LaTeX or Texinfo).

Makeinfo is used to perform Texinfo macro expansion before running TeX
when needed.

Operation modes:
  -b, --batch         no interaction
  -c, --clean         remove all auxiliary files
  -D, --debug         turn on shell debugging (set -x)
  -h, --help          display this help and exit successfully
  -o, --output=OFILE  leave output in OFILE (implies --clean);
                      Only one input FILE may be specified in this case
  -q, --quiet         no output unless errors (implies --batch)
  -s, --silent        same as --quiet
  -v, --version       display version information and exit successfully
  -V, --verbose       report on what is done

TeX tuning:
  -@                   use @input instead of \input; for preloaded Texinfo
  -e, -E, --expand     force macro expansion using makeinfo
  -I DIR               search DIR for Texinfo files
  -l, --language=LANG  specify the LANG of FILE (LaTeX or Texinfo)
  -p, --pdf            use pdftex or pdflatex for processing
  -r, --recode         call recode before TeX to translate input characters
  -t, --command=CMD    insert CMD in copy of input file
   or --texinfo=CMD    multiple values accumulate

The values of the BIBTEX, LATEX (or PDFLATEX), MAKEINDEX, MAKEINFO,
TEX (or PDFTEX), TEXINDEX, and THUMBPDF environment variables are used
to run those commands, if they are set.  Any CMD strings are added
after @setfilename for Texinfo input, in the first line for LaTeX input.

Email bug reports to <bug-texinfo@gnu.org>,
general questions and discussion to <help-texinfo@gnu.org>.
Texinfo home page: http://www.gnu.org/software/texinfo/'
+ batch=false
+ clean=
+ debug=
+ escape='\'
+ expand=
+ miincludes=
+ oformat=dvi
+ oname=
+ quiet=
+ recode=false
+ set_language=
+ textra=
+ textra_cmd=
+ tmpdir=/tmp/t2d3056
+ txincludes=
+ txiprereq=19990129
+ verbose=false
++ pwd
+ orig_pwd=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build
+ path_sep=:
+ CDPATH=:
+ : egrep
+ tex_envvars='BIBINPUTS BSTINPUTS INDEXSTYLE TEXINPUTS'
+ for var in '$tex_envvars'
+ eval 'BIBINPUTS_orig=$BIBINPUTS'
++ BIBINPUTS_orig=
+ export BIBINPUTS
+ for var in '$tex_envvars'
+ eval 'BSTINPUTS_orig=$BSTINPUTS'
++ BSTINPUTS_orig=
+ export BSTINPUTS
+ for var in '$tex_envvars'
+ eval 'INDEXSTYLE_orig=$INDEXSTYLE'
++ INDEXSTYLE_orig=
+ export INDEXSTYLE
+ for var in '$tex_envvars'
+ eval 'TEXINPUTS_orig=$TEXINPUTS'
++ TEXINPUTS_orig=
+ export TEXINPUTS
+ arg_sep=3056--3056
+ set dummy --pdf --batch ../main.texi 3056--3056
+ shift
+ test x--pdf '!=' x3056--3056
+ case "$1" in
+ case "$1" in
+ oformat=pdf
+ shift
+ test x--batch '!=' x3056--3056
+ case "$1" in
+ case "$1" in
+ batch=true
+ shift
+ test x../main.texi '!=' x3056--3056
+ case "$1" in
+ case "$1" in
+ set dummy ../main.texi 3056--3056 ../main.texi
+ shift
+ shift
+ test x3056--3056 '!=' x3056--3056
+ shift
+ case $# in
+ findprog tex
+ /usr/bin/which tex
+ return 0
+ :
+ test -z ''
+ findprog etex
+ /usr/bin/which etex
+ return 0
+ TEX=etex
+ test -z ''
+ findprog pdfetex
+ /usr/bin/which pdfetex
+ return 0
+ PDFTEX=pdfetex
+ test -z ''
+ trap 'cd / && rm -rf /tmp/t2d3056' 0 1 2 15
+ umask 077
+ mkdir /tmp/t2d3056
+ utildir=/tmp/t2d3056/utils
+ mkdir /tmp/t2d3056/utils
+ comment_iftex_sed=/tmp/t2d3056/utils/comment.sed
+ cat
+ uncomment_iftex_sed=/tmp/t2d3056/utils/uncomment.sed
+ cat
+ test '' = t
+ exec
+ test '' = t
+ exec
+ for command_line_filename in '${1+"$@"}'
+ false 'Processing ../main.texi ...'
+ echo ../main.texi
+ egrep '^(/|[A-z]:/)'
+ command_line_filename=./../main.texi
+ test '!' -r ./../main.texi
++ echo ./../main.texi
++ sed 's!/[^/]*$!!;s!^$!.!'
+ filename_dir=./..
++ cd ./..
++ pwd
+ filename_dir=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0
++ basename ./../main.texi
+ filename_ext=main.texi
++ echo main.texi
++ sed 's/\.[^.]*$//'
+ filename_noext=main
++ echo main.texi
++ sed 's/^.*\.//'
+ ext=texi
+ tmpdir_src=/tmp/t2d3056/src
+ filename_src=/tmp/t2d3056/src/main.texi
+ tmpdir_xtr=/tmp/t2d3056/xtr
+ filename_xtr=/tmp/t2d3056/xtr/main.texi
+ tmpdir_rcd=/tmp/t2d3056/rcd
+ filename_rcd=/tmp/t2d3056/rcd/main.texi
+ tmpdir_bak=/tmp/t2d3056/bak
+ mkdir /tmp/t2d3056/src /tmp/t2d3056/xtr /tmp/t2d3056/rcd /tmp/t2d3056/bak
+ common=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ for var in '$tex_envvars'
+ eval 'BIBINPUTS=$common$BIBINPUTS_orig'
++ BIBINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ export BIBINPUTS
+ for var in '$tex_envvars'
+ eval 'BSTINPUTS=$common$BSTINPUTS_orig'
++ BSTINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ export BSTINPUTS
+ for var in '$tex_envvars'
+ eval 'INDEXSTYLE=$common$INDEXSTYLE_orig'
++ INDEXSTYLE=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ export INDEXSTYLE
+ for var in '$tex_envvars'
+ eval 'TEXINPUTS=$common$TEXINPUTS_orig'
++ TEXINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ export TEXINPUTS
+ replace_empty='-e '\''s/^:/EMPTY:/g'\''                  -e '\''s/:$/:EMPTY/g'\''                  -e '\''s/::/:EMPTY:/g'\'''
++ echo /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
++ eval sed -e ''\''s/^:/EMPTY:/g'\''' -e ''\''s/:$/:EMPTY/g'\''' -e ''\''s/::/:EMPTY:/g'\'''
+++ sed -e 's/^:/EMPTY:/g' -e 's/:$/:EMPTY/g' -e s/::/:EMPTY:/g
+ TEXINPUTS=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:EMPTY
++ echo /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
++ eval sed -e ''\''s/^:/EMPTY:/g'\''' -e ''\''s/:$/:EMPTY/g'\''' -e ''\''s/::/:EMPTY:/g'\'''
+++ sed -e 's/^:/EMPTY:/g' -e 's/:$/:EMPTY/g' -e s/::/:EMPTY:/g
+ INDEXSTYLE=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:EMPTY
+ save_IFS=' 	
'
+ IFS=:
+ set x /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build /home/ralf/am/build/tests/testSubDir/txinfo18-1.0 EMPTY
+ shift
+ TEXINPUTS=.
+ for dir in '"$@"'
+ case $dir in
+ TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build
+ for dir in '"$@"'
+ case $dir in
+ TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0
+ for dir in '"$@"'
+ case $dir in
+ TEXINPUTS=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ set x /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build /home/ralf/am/build/tests/testSubDir/txinfo18-1.0 EMPTY
+ shift
+ INDEXSTYLE=.
+ for dir in '"$@"'
+ case $dir in
+ INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build
+ for dir in '"$@"'
+ case $dir in
+ INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0
+ for dir in '"$@"'
+ case $dir in
+ INDEXSTYLE=.:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/_build:/home/ralf/am/build/tests/testSubDir/txinfo18-1.0:
+ IFS=' 	
'
+ test -n ''
+ sed 1q ./../main.texi
+ grep 'input texinfo'
+ language=texinfo
+ case ${language:-$filename_ext} in
+ language=texinfo
+ bibtex=
+ texindex=texindex
+ textra_cmd='/^@setfilename/a'
+ test pdf = dvi
+ tex=pdfetex
+ test '' = t
+ test 0 '!=' 0
++ sed -n 's/^.*\[\(.*\)version \(....\)-\(..\)-\(..\).*$/txiformat=\1 txiversion="\2\3\4"/p' /tmp/t2d3056/txiversion.out
+ eval txiformat= 'txiversion="20060507"'
++ txiformat=
++ txiversion=20060507
+ false 'texinfo.tex preloaded as `'\'', version is `20060507'\'' ...'
+ test 19990129 -le 20060507
+ makeinfo=
+ test '' = Texinfo
+ thumbpdf=thumbpdf
++ cd /tmp/t2d3056
++ pdfetex --help
+ tex_help='Usage: pdfetex [OPTION]... [TEXNAME[.tex]] [COMMANDS]
   or: pdfetex [OPTION]... \FIRST-LINE
   or: pdfetex [OPTION]... &FMT ARGS
  Run pdfeTeX on TEXNAME, usually creating TEXNAME.pdf.
  Any remaining COMMANDS are processed as pdfeTeX input, after TEXNAME is read.
  If the first line of TEXNAME is %&FMT, and FMT is an existing .fmt file,
  use it.  Else use `NAME.fmt'\'', where NAME is the program invocation name,
  most commonly `pdfetex'\''.

  Alternatively, if the first non-option argument begins with a backslash,
  interpret all non-option arguments as a line of pdfeTeX input.

  Alternatively, if the first non-option argument begins with a &, the
  next word is taken as the FMT to read, overriding all else.  Any
  remaining arguments are processed as above.

  If no arguments or options are specified, prompt for input.

-enc                    enable encTeX extensions such as \mubyte
[-no]-file-line-error   disable/enable file:line:error style messages
-fmt=FMTNAME            use FMTNAME instead of program name or a %& line
-halt-on-error          stop processing at the first error
-ini                    be pdfeinitex, for dumping formats; this is implicitly
                          true if the program name is `pdfeinitex'\''
-interaction=STRING     set interaction mode (STRING=batchmode/nonstopmode/
                          scrollmode/errorstopmode)
-ipc                    send DVI output to a socket as well as the usual
                          output file
-ipc-start              as -ipc, and also start the server at the other end
-jobname=STRING         set the job name to STRING
-kpathsea-debug=NUMBER  set path searching debugging flags according to
                          the bits of NUMBER
[-no]-mktex=FMT         disable/enable mktexFMT generation (FMT=tex/tfm)
-mltex                  enable MLTeX extensions such as \charsubdef
-output-comment=STRING  use STRING for DVI file comment instead of date
                          (no effect for PDF)
-output-directory=DIR   use DIR as the directory to write files to
-output-format=FORMAT   use FORMAT for job output; FORMAT is `dvi'\'' or `pdf'\''
[-no]-parse-first-line  disable/enable parsing of the first line of the
                          input file
-progname=STRING        set program (and fmt) name to STRING
-recorder               enable filename recorder
[-no]-shell-escape      disable/enable \write18{SHELL COMMAND}
-src-specials           insert source specials into the DVI file
-src-specials=WHERE     insert source specials in certain places of
                          the DVI file. WHERE is a comma-separated value
                          list: cr display hbox math par parend vbox
-translate-file=TCXNAME use the TCX file TCXNAME
-8bit                   make all characters printable by default
-help                   display this help and exit
-version                output version information and exit

Email bug reports to pdftex@tug.org.'
+ tex_args=
+ case $tex_help in
+ tex_args=' --file-line-error'
+ true
+ tex_args=' --file-line-error \nonstopmode \input'
+ test -n ''
+ test 0 -ne 0
+ test '!' -r /tmp/t2d3056/src/main.texi
+ false 'Reverting to ./../main.texi ...'
+ filename_input=/home/ralf/am/build/tests/testSubDir/txinfo18-1.0/main.texi
+ test -n ''
+ test texinfo = texinfo
+ pgm='s/\(^\|.* \)@documentencoding  *\([^ ][^ ]*\)\( .*\|$\)/\2/  
	t found                                                
	d                                                     
	:found                                               
	q'
++ sed -e 's/\(^\|.* \)@documentencoding  *\([^ ][^ ]*\)\( .*\|$\)/\2/  
	t found                                                
	d                                                     
	:found                                               
	q' /home/ralf/am/build/tests/testSubDir/txinfo18-1.0/main.texi
+ encoding=
+ false
+ test '' = t
+ :
++ get_xref_files main
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.log
+++ sed -n '1s/^\(.\).*$/\1/p;q' main.log
++ first_character=T
++ test xT = 'x\'
++ test xT = 'x'\'''
++ test xT = x@
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.aux
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.au
+++ sed -n '1s/^\(.\).*$/\1/p;q' main.au
++ first_character='\'
++ test 'x\' = 'x\'
++ sed 1q main.au
++ grep -v '^\\input *texinfo'
++ xref_files=' ./main.au'
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.cp
+++ sed -n '1s/^\(.\).*$/\1/p;q' main.cp
++ first_character='\'
++ test 'x\' = 'x\'
++ sed 1q main.cp
++ grep -v '^\\input *texinfo'
++ xref_files=' ./main.au ./main.cp'
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.fn
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.ky
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.pg
+++ sed -n '1s/^\(.\).*$/\1/p;q' main.pg
++ first_character='\'
++ test 'x\' = 'x\'
++ sed 1q main.pg
++ grep -v '^\\input *texinfo'
++ xref_files=' ./main.au ./main.cp ./main.pg'
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.sa
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.sb
+++ sed -n '1s/^\(.\).*$/\1/p;q' main.sb
++ first_character='\'
++ test 'x\' = 'x\'
++ sed 1q main.sb
++ grep -v '^\\input *texinfo'
++ xref_files=' ./main.au ./main.cp ./main.pg ./main.sb'
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.tp
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.vr
++ continue
++ for this_file in '"$1".?o?' '"$1".aux' '"$1".??' '"$1".idx'
++ test -s main.idx
++ continue
++ echo ' ./main.au ./main.cp ./main.pg ./main.sb'
+ orig_xref_files=' ./main.au ./main.cp ./main.pg ./main.sb'
+ test -n ' ./main.au ./main.cp ./main.pg ./main.sb'
++ echo ./main.au ./main.cp ./main.pg ./main.sb
++ sed 's|\./||g'
+ false 'Backing up xref files: main.au main.cp main.pg main.sb'
+ cp ./main.au ./main.cp ./main.pg ./main.sb /tmp/t2d3056/bak
+ test -n ''
++ echo ' ./main.au ./main.cp ./main.pg ./main.sb'
++ sed 's!.*\.aux!!g;
                        s!./main\.[^ ]o[^ ]!!g;
                        s/^[ ]*//;s/[ ]*$//'
+ index_files='./main.au ./main.cp ./main.pg ./main.sb'
+ test -n texindex
+ test -n './main.au ./main.cp ./main.pg ./main.sb'
+ false 'Running texindex ./main.au ./main.cp ./main.pg ./main.sb ...'
+ texindex ./main.au ./main.cp ./main.pg ./main.sb
/usr/bin/texi2dvi: line 357:  2288 Segmentation fault      (core dumped) $texindex $index_files 2>&5 1>&2
+ fatal 'texindex exited with bad status, quitting.'
+ echo '/usr/bin/texi2dvi: texindex exited with bad status, quitting.'
/usr/bin/texi2dvi: texindex exited with bad status, quitting.
+ exit 1
+ cd /
+ rm -rf /tmp/t2d3056
-------------- next part --------------
$ texindex ./main.au ./main.cp ./main.pg ./main.sb
Segmentation fault (core dumped)
$ cat texindex.exe.stackdump 
Exception: STATUS_ACCESS_VIOLATION at eip=6105440C

eax=0000004A ebx=00000003 ecx=00000013 edx=02B9E8A9 esi=00405457 edi=0040544D

ebp=0022EE08 esp=0022ED60 program=C:\cygwin\bin\texindex.exe, pid 296, thread main

cs=001B ds=0023 es=0023 fs=003B gs=0000 ss=0023

Stack trace:

Frame     Function  Args

0022EE08  6105440C  (00460210, 00000000, 0022EEC8, 6108DD7F)

0022EE18  61054685  (0040544D, 6115E684, 00000000, 00403229)

0022EEC8  6108DD7F  (00000005, 6115E684, 00460090, 77DADB0D)

0022EF78  61005BC8  (0022EFD0, 00000000, 00000002, 00000000)

0022FF88  61005EB3  (00000000, 00000000, 00000000, 00000000)

End of stack trace
$ cat main.au
\entry{baz}{1}{baz}
$ cat main.cp
\entry{foo}{1}{foo}
$ cat main.pg
\entry{bar}{1}{\code {bar}}
$ cat main.sb
\entry{sa}{1}{sa}
\entry{sb}{1}{sb}
$ cat ../main.texi
\input texinfo
@setfilename main.info
@settitle main
@defindex au
@defindex sa
@defindex sb
@synindex sa sb
@node Top
Hello walls.
@include sub.texi
@bye
$ cat ../sub.texi
@cindex foo
foo
@pindex bar
bar
@auindex baz
baz
@saindex sa
sa
@sbindex sb
sb
$ head ../texinfo.tex
% texinfo.tex -- TeX macros to handle Texinfo files.
%
% Load plain if necessary, i.e., if running under initex.
\expandafter\ifx\csname fmtname\endcsname\relax\input plain\fi
%
\def\texinfoversion{2006-05-07.15}
%
% Copyright (C) 1985, 1986, 1988, 1990, 1991, 1992, 1993, 1994, 1995,
% 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006 Free
% Software Foundation, Inc.

-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list