From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/32535 Path: news.gmane.org!not-for-mail From: =?ISO-8859-15?Q?Peter_M=FCnster?= Newsgroups: gmane.comp.tex.context Subject: crash with pdftex-1.40 Date: Thu, 04 Jan 2007 21:54:45 +0100 (CET) Message-ID: Reply-To: ntg-context@ntg.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1167944800 24482 80.91.229.12 (4 Jan 2007 21:06:40 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 4 Jan 2007 21:06:40 +0000 (UTC) Original-X-From: ntg-context-bounces@ntg.nl Thu Jan 04 22:06:36 2007 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane.org Original-Received: from ronja.vet.uu.nl ([131.211.172.88] helo=ronja.ntg.nl) by lo.gmane.org with esmtp (Exim 4.50) id 1H2ZnF-0007Go-0S for gctc-ntg-context-518@m.gmane.org; Thu, 04 Jan 2007 22:06:33 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 73E0A20170; Thu, 4 Jan 2007 22:03:42 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16816-05-4; Thu, 4 Jan 2007 22:03:35 +0100 (CET) Original-Received: from ronja.vet.uu.nl (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 3E431200F8; Thu, 4 Jan 2007 22:03:35 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by ronja.ntg.nl (Postfix) with ESMTP id 37D1720149 for ; Thu, 4 Jan 2007 22:03:33 +0100 (CET) Original-Received: from ronja.ntg.nl ([127.0.0.1]) by localhost (smtp.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 16816-05-3 for ; Thu, 4 Jan 2007 22:03:25 +0100 (CET) Original-Received: from smtp.Neuf.fr (sp604005mt.neufgp.fr [84.96.92.11]) by ronja.ntg.nl (Postfix) with ESMTP id BC4581FF99 for ; Thu, 4 Jan 2007 22:03:25 +0100 (CET) Original-Received: from gaston.pm ([84.7.255.212]) by sp604005mt.gpm.neuf.ld (Sun Java System Messaging Server 6.2-5.05 (built Feb 16 2006)) with ESMTP id <0JBD002SV3MX5RN2@sp604005mt.gpm.neuf.ld> for ntg-context@ntg.nl; Thu, 04 Jan 2007 21:59:27 +0100 (CET) Original-Received: by gaston.pm (Postfix, from userid 500) id 2A01413C3E2; Thu, 04 Jan 2007 21:54:45 +0100 (CET) Original-Received: from localhost (localhost [127.0.0.1]) by gaston.pm (Postfix) with ESMTP id 219A3148186 for ; Thu, 04 Jan 2007 21:54:45 +0100 (CET) X-X-Sender: peter@gaston.pm Original-To: ConTeXt list X-Virus-Scanned: amavisd-new at ntg.nl X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.7 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: ntg-context-bounces@ntg.nl Errors-To: ntg-context-bounces@ntg.nl X-Virus-Scanned: amavisd-new at ntg.nl Xref: news.gmane.org gmane.comp.tex.context:32535 Archived-At: Hello, this is probably only related to pdfTeX and not to ConTeXt, but I'm too lazy to subscribe yet to another list... ;) While playing around with the new shell escaping in pdftex-1.40, I got the following crash: TeXExec | processing document 'test' TeXExec | no ctx file found TeXExec | tex processing method: context TeXExec | TeX run 1 TeXExec | writing option file test.top TeXExec | using randomseed 121 TeXExec | tex engine: pdftex TeXExec | tex format: cont-en This is pdfTeX, Version 3.141592-1.40.0 (Web2C 7.5.6) \write18 enabled. (/opt/TeX-live/texmf/web2c/natural.tcx) entering extended mode (./test.tex ConTeXt ver: 2007.01.02 13:44 MK II fmt: 2007.1.4 int: english/english language : language en is active system : cont-new loaded (/opt/TeX-live/texmf-context/tex/context/base/cont-new.tex systems : beware: some patches loaded from cont-new.tex (/opt/TeX-live/texmf-context/tex/context/base/cont-new.mkii)) system : cont-old loaded (/opt/TeX-live/texmf-context/tex/context/base/cont-old.tex loading : Context Old Macros ) system : cont-fil loaded (/opt/TeX-live/texmf-context/tex/context/base/cont-fil.tex loading : Context File Synonyms ) system : cont-sys loaded (/home/peter/.TeX/cont-sys.tex (/opt/TeX-live/texmf-context/tex/context/user/cont-sys.rme (/opt/TeX-live/texmf-context/tex/context/base/type-exa.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-syn.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-enc.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-siz.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-map.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-spe.tex) (/opt/TeX-live/texmf-context/tex/context/base/type-akb.tex)) (/home/peter/.TeX/dd-macros.tex loading : Macros for Delta Dore )) bodyfont : 12pt rm is loaded language : patterns nl->texnansi:texnansi->1->2:3 nl->ec:ec->2->2:3 fr-> texnansi:texnansi->3->2:3 fr->ec:ec->4->2:3 de->texnansi:texnansi->5->2:3 de->e c:ec->6->2:3 it->texnansi:texnansi->7->2:3 it->ec:ec->8->2:3 pt->texnansi:texna nsi->9->2:3 pt->ec:ec->10->2:3 hr->ec:ec->11->2:3 pl->pl0:pl0->12->2:3 pl->ec:e c->13->2:3 pl->qx:qx->14->2:3 cz->il2:il2->15->2:3 cz->ec:ec->16->2:3 sk->il2:i l2->17->2:3 sk->ec:ec->18->2:3 sl->ec:ec->19->2:3 ru->t2a:t2a->21->2:3 en->ec:e c->22->2:3 uk->ec:ec->23->2:3 us->ec:ec->24->2:3 agr->agr:agr->25->2:3 da->ec:e c->26->2:3 sv->ec:ec->27->2:3 af->ec:ec->28->2:3 no->ec:ec->29->2:3 deo->ec:ec- >30->2:3 es->ec:ec->31->2:3 ca->ec:ec->32->2:3 la->ec:ec->33->2:3 ro->ec:ec->34 ->2:3 tr->ec:ec->35->2:3 fi->ec:ec->37->2:3 hu->ec:ec->38->2:3 loaded specials : tex,postscript,rokicki loaded system : test.top loaded (./test.top specials : loading definition file tpd (/opt/TeX-live/texmf-context/tex/context/base/spec-tpd.tex specials : loading definition file fdf (/opt/TeX-live/texmf-context/tex/context/base/spec-fdf.tex (/opt/TeX-live/texmf-context/tex/context/base/spec-fdf.mkii)) specials : fdf loaded ) specials : fdf,tpd loaded ) systems : system commands are enabled (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (./test.tuo) (/opt/TeX-live/texmf-context/tex/context/base/sort-def.tex) (/opt/TeX-live/texmf-context/tex/context/base/sort-lan.tex) (./test.tuo) (./test.tuo) (/opt/TeX-live/texmf-context/tex/context/base/pdfr-def.tex) systems : begin file test at line 1 (./texcmd.tmp) (./texcmd.tmp) (./texcmd.tmp)TeXExec | runtime: 0.318195 *** glibc detected *** pdftex: free(): invalid next size (fast): 0x0850f718 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7dbe911] /lib/libc.so.6(__libc_free+0x84)[0xb7dbff84] pdftex[0x80a54b9] pdftex[0x80774fe] pdftex[0x806b764] pdftex[0x807732e] pdftex[0x80a2d2d] pdftex[0x8059f1c] pdftex[0x80a6e3b] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7d7087c] pdftex[0x804a9e1] ======= Memory map: ======== 08048000-08145000 r-xp 00000000 fe:01 262328 /opt/TeX-live/bin/pdftex 08145000-0815c000 rw-p 000fc000 fe:01 262328 /opt/TeX-live/bin/pdftex 0815c000-08539000 rw-p 0815c000 00:00 0 [heap] b3a00000-b3a21000 rw-p b3a00000 00:00 0 b3a21000-b3b00000 ---p b3a21000 00:00 0 b3b13000-b3b1d000 r-xp 00000000 03:02 114396 /lib/libgcc_s.so.1 b3b1d000-b3b1e000 rw-p 00009000 03:02 114396 /lib/libgcc_s.so.1 b3b3b000-b7d5b000 rw-p b3b3b000 00:00 0 b7d5b000-b7e74000 r-xp 00000000 03:02 114286 /lib/libc-2.4.so b7e74000-b7e76000 r--p 00118000 03:02 114286 /lib/libc-2.4.so b7e76000-b7e78000 rw-p 0011a000 03:02 114286 /lib/libc-2.4.so b7e78000-b7e7b000 rw-p b7e78000 00:00 0 b7e7b000-b7e9e000 r-xp 00000000 03:02 114294 /lib/libm-2.4.so b7e9e000-b7ea0000 rw-p 00022000 03:02 114294 /lib/libm-2.4.so b7ea0000-b7eb1000 r-xp 00000000 03:02 114337 /lib/libz.so.1.2.3 b7eb1000-b7eb2000 rw-p 00010000 03:02 114337 /lib/libz.so.1.2.3 b7eb2000-b7ef0000 r-xp 00000000 fe:04 461393 /usr/lib/libpng.so.3.1.2.8 b7ef0000-b7ef1000 rw-p 0003e000 fe:04 461393 /usr/lib/libpng.so.3.1.2.8 b7f0a000-b7f0f000 rw-p b7f0a000 00:00 0 b7f0f000-b7f10000 r-xp b7f0f000 00:00 0 [vdso] b7f10000-b7f2a000 r-xp 00000000 03:02 114346 /lib/ld-2.4.so b7f2a000-b7f2c000 rw-p 00019000 03:02 114346 /lib/ld-2.4.so bfbda000-bfbef000 rw-p bfbda000 00:00 0 [stack] This is my input: \starttext \def\myCMD#1{% \immediate\write18{echo -n `#1`\letterpercent >texcmd.tmp}% \input texcmd.tmp } X\myCMD{date -d yesterday}X X\myCMD{echo -n Hello World}X \def\myCMD#1{% \input "\string|#1"\unskip } X\myCMD{date -d yesterday}X X\myCMD{echo -n Hello World}X \stoptext But this should be enough to reproduce it: \starttext \input "\string|echo -n bla" \stoptext Cheers, Peter -- http://pmrb.free.fr/contact/