> rev 4965 should be ok.

Ok thanks!

Out of curiosity: are there plans to have a luajittex, luajitlatex, etc.
commands and formats in TeXLive?

Also, luajittex recompiles the format (lualatex.fmt) at each compilation
though I built it with fmtutil and fmtutil-sys... I believe there is a
file to replace somewhere for kpathsea?

Finally, if I try to compile with luajitex I get:

Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
(/usr/share/texlive/texmf-dist/tex/latex/base/size11.clo))
(./testluajitex.aux)
[1{/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map}] (./testluajitex.aux))
 264 words of node memory still in use:
   2 hlist, 1 vlist, 1 rule, 2 glue, 40 glue_spec, 1 write nodes
   avail lists: 2:12,3:2,4:22,6:13,7:1,9:6
<</usr/share/texlive/texmf-dist/fonts/type1/public/amsfonts/cm/cmr10.pfb>
Program received signal SIGSEGV, Segmentation fault.
0x00000000004beb59 in pdf_print_info (pdf=0x1fa8900, luatexversion=79,
luatexrevision=48) at ../../../source/texk/web2c/luatexdir/pdf/pdfgen.w:2287
2287        if (strlen(p) > 0) {

the attached patch fixes this.

Thank you,
-- 
Elie
Index: source/texk/web2c/luatexdir/pdf/pdfgen.w
===================================================================
--- source/texk/web2c/luatexdir/pdf/pdfgen.w	(révision 4965)
+++ source/texk/web2c/luatexdir/pdf/pdfgen.w	(copie de travail)
@@ -2284,7 +2284,7 @@
         trapped_given = substr_of_str("/Trapped", s);
     }
     p = get_pdf_table_string("info");
-    if (strlen(p) > 0) {
+    if (p && strlen(p) > 0) {
         creator_given = creator_given || substr_of_str("/Creator", p);
         producer_given = producer_given || substr_of_str("/Producer", p);
         creationdate_given = creationdate_given || substr_of_str("/CreationDate", p);
@@ -2301,7 +2301,7 @@
         delete_token_ref(pdf_info_toks);
         pdf_info_toks = null;
     }
-    if (strlen(p) > 0) {
+    if (p && strlen(p) > 0) {
         pdf_out(pdf, '\n');
         pdf_puts(pdf, p); /* no free, pointer */
         pdf_out(pdf, '\n');

Reply via email to