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

Heiko Oberdiek oberdiek at uni-freiburg.de
Sat Jul 26 12:07:38 CEST 2003


On Sat, Jul 26, 2003 at 02:07:57AM +0200, Martin Schroeder wrote:

> On 2003-07-26 00:35:36 +0200, Hartmut Henkel wrote:
> [...]
> > 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. :-}

I have to disappoint you, the problem has nothing to do with
my code part. ;-)

Yours sincerely
  Heiko <oberdiek at uni-freiburg.de>
-- 


More information about the pdftex mailing list