[pdftex] segmentation fault (only pdfTeX, not TeX)

Martin Schroeder ms at artcom-gmbh.de
Sat Jul 26 03:07:57 CEST 2003

On 2003-07-26 00:35:36 +0200, Hartmut Henkel wrote:
> On Fri, 25 Jul 2003, Martin Schroeder wrote:
> > One wants to check n, not *n! :-(
> Are you really sure? Isn't it a check whether n has reached the end of

No. :-(

> the list of mapfile filenames, which is a string, terminated by an EOS =
> 0? And this EOS is checked. Then the origin of the error would be that n
> initially doesn't point to a valid empty string, but just to NULL.
> With your patch I get a crash here with normal pdflatex use, but it runs
> in both -ini and normal when I say in fm_read_info
> if ((n == 0) || (*n == 0)) {
> which (a kludge!) hopefully skips the *n test if the n test is true, and
> later uses the *n test. But I don't understand this fm_read_info(), it's
> just a wild guess. Have you tried with normal pdftex without -ini?

I didn't do QA. I just tried your version (which is obviously
better) and it works -- and is now committed.

I'll try to understand Heiko's hashtable code on Monday. :-}

Best regards
               Martin Schröder, MS at ArtCom-GmbH.DE
     ArtCom GmbH, Lise-Meitner-Str 5, 28359 Bremen, Germany
          Voice +49 421 20419-44 / Fax +49 421 20419-10

More information about the pdftex mailing list