Angus Leeming <[EMAIL PROTECTED]> writes:

> If memory serves me right, this function is pretty self contained. You should
> be
> able to add a main() that just calls it with the offending file. "gcc -E" the
> file to create the full source listing and you'll be able to give 'em the code
> that triggers the fault.

I made a self-contained executable from lyxsum.C and tried it on every
file in the texmf tree but did not succeed in crashing it. So I added
some debugging statements to src/support/lyxsum.C to see what file was
triggering the crash and to my suprise it was not a file but a directory...

$ src/lyx-qt.exe
New counter already exists: section
Locale en_US could not be set
 beamericonbook.pdf
 beamericonbook.20.pdf
 beamericonarticle.pdf
 beamericonarticle.20.pdf
Computing crc of "/tmp/lyx_tmpdir1456cHRIK5/lyx_tmpbuf0/beamer-crash.tex"
Computing crc of "/c/texmf/tex/latex/beamer/beamer.cls"
Computing crc of "/c/texmf/tex/latex/beamer/beamerbasemodes.sty"
Computing crc of "/c/texmf/tex/latex/beamer/beamerbasedecode.sty"
Computing crc of "/c/texmf/tex/latex/beamer/beamerbaseoptions.sty"
Computing crc of "/c/texmf/tex/latex/graphics/keyval.sty"
Computing crc of "/c/texmf/tex/latex/pgf/basiclayer/pgfcore.sty"
Computing crc of "/c/texmf/tex/latex/graphics/"
Abort (core dumped)

I tried the same with a mingw build and got that it also tried computing
the crc of the same directory, but in this case no crash was occurring.

As it seems really strange that the crc of a directory is needed I tought
that it is better if I still stick with this mailing list before going
to bug the cygwin people ;-)

-- 
Enrico



Reply via email to