![](https://secure.gravatar.com/avatar/adfff96f4299fb3ee3b199b06eea68da.jpg?s=120&d=mm&r=g)
Bugs item #917, was opened at 2008-02-14 00:55 You can respond by visiting: http://sarovar.org/tracker/?func=detail&atid=493&aid=917&group_id=106 Category: None Group: v1.40.6 Status: Open Resolution: Works For Me Priority: 5 Submitted By: Allin Cottrell (allin) Assigned to: Martin Schröder (oneiros)
Summary: pdftex 1.40.6: "invalid argument" on parsing pdftex.map
Initial Comment:
Using an admittedly quite old pdftex.map, pdftex 1.40.5
would product correct output but pdftex 1.40.6 fails to
parse the map file. pdftex.map is attached; here is
interactive output:
waverley:~/mytex/misc$ cat bug.tex
\documentclass{article}
\begin{document}
Hello.
\end{document}
waverley:~/mytex/misc$ pdflatex bug
This is pdfTeX, Version 3.141592-1.40.6 (Web2C 7.5.6)
\write18 enabled.
(./bug.tex
LaTeX2e <2003/12/01>
Babel
Comment By: Martin Schröder (oneiros) Date: 2008-02-14 10:10
Message:
Logged In: YES
user_id=421
The error message probably comes from the kernel or libc;
the string "Invalid argument" is only in ttf2afm.c
allin, can you start a gdb, set a breakpoint in exit and get
a backtrace?
----------------------------------------------------------------------
Comment By: Taco Hoekwater (taco)
Date: 2008-02-14 09:10
Message:
Logged In: YES
user_id=1608
Works for me as well.
The most likely candidate for creating this problem is the
pfb file, not the map file. The actual error message
probably comes from zlib, not the map file parser.
Can you check that /usr/local/psfonts/bsr/cmr10.pfb is
exactly 26882 bytes long?
----------------------------------------------------------------------
Comment By: Allin Cottrell (allin)
Date: 2008-02-14 02:34
Message:
Logged In: YES
user_id=4856
I've now tried using a much simpler map file, but that
didn't help. Here what strace says, at the end of reading
the map file:
read(7, "wncysc10.pfb\nwncyss10