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

Martin Schroeder ms at artcom-gmbh.de
Fri Jul 25 19:09:04 CEST 2003


On 2003-07-25 10:31:46 -0500, Marco Loskamp wrote:
> Any ideas? I'd be happy to give more details if needed!
> Thanks already in advance!!!

Thanks for the bugreport; this will be fixed in 1.11a.
Spot the error (mapfile.c):
-------------
    char *p, *q, *r, *s, *n = mapfiles;
    fmht_entry_room();
    for (;;) {
        if (fm_file == 0) {
            if (*n == 0) { # line 286
                xfree(mapfiles);
                cur_file_name = 0;
                if (fm_tab == 0)
                     fm_new_entry();
                xfree(fmht_tab);
                return;
            }
-------------
Program received signal SIGSEGV, Segmentation fault.
0x80a32c3 in fm_read_info () at /home/ms/tex/pdftex/current/texk/web2c/pdftexdir/mapfile.c:286
286                 if (*n == 0) {
-------------

One wants to check n, not *n! :-(

Best regards
        Martin
-- 
               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