From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.text.pandoc/28568 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John MacFarlane Newsgroups: gmane.text.pandoc Subject: Re: errors converting to PDF ["can't allocate region"] Date: Wed, 09 Jun 2021 08:40:22 -0700 Message-ID: References: <274588F4-8776-42E2-A982-3B8FAA3472C2@gmail.com> Reply-To: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23477"; mail-complaints-to="usenet@ciao.gmane.io" To: Jason Davies , pandoc-discuss Original-X-From: pandoc-discuss+bncBCJZJHG45QDBB46BQODAMGQEOEPFEWI-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Wed Jun 09 17:40:39 2021 Return-path: Envelope-to: gtp-pandoc-discuss@m.gmane-mx.org Original-Received: from mail-pf1-f188.google.com ([209.85.210.188]) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1lr0Jq-0005xR-Kb for gtp-pandoc-discuss@m.gmane-mx.org; Wed, 09 Jun 2021 17:40:38 +0200 Original-Received: by mail-pf1-f188.google.com with SMTP id p42-20020a056a000a2ab02902f33d81f23fsf2520787pfh.9 for ; Wed, 09 Jun 2021 08:40:38 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1623253236; cv=pass; d=google.com; s=arc-20160816; b=adFmvefaL2O7EYCThCiWGDEq7kEZRpStVGcMLWEFiFMm75BiYpNPPfJ0sBsbARfGP8 nblGm+i1TMOzlE5C4vX6xHgGdiixZhC6ODygYjtNsbRtVrLjjHJI98yLU3mwbZRr7ldq EyaHXDOijeiIxIhg/FloByc8o6nNwtWWx1bIrw7Z5/oChXxQque8wQdXJYa1xJUh2eTz EXqeqgUQcVVw/yPqvoodnklBgZiiEukX85z/U7mhy3JYOZ0UzzwEg8h5kr+b9ftergBP gq0OYN17E1YwhAviKqcx1umRsumMY22PrxhrmHQ1oGgWbEciozGk2M0fiw+1qJFiRW33 GIGg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:reply-to:mime-version:message-id :date:references:in-reply-to:subject:to:from:sender:dkim-signature; bh=TWyT3z2mnjK8McldxgidlLX5xkHigDAFaxpND/jl1+4=; b=JT5cM9GpqXnjbhWgPiKktNw0ebFguJx23ZNh3dKT0o+OVjyXr3djQyadrZffF1Cjr/ PRLxZSHQMGD5/6OwUvbFZRCKgNfjMuZBus/kGZknIlbnUbM+yFIRvRVBD+d2Y9bT6Q3e xLz0+NjpH2pNX81n02TYfX6RgE3IEZtIs/BCJlepBrw1dh4pNiu6La4cfjsgnrYOVXgC EYZ0QUhXQH5+rjyGosX5LwoqCcJYMBOGTIxuGUZj3M6gfcnWCqBLTABhRBnWh26bkYVY wjmcRDBHwCY14Slj5LAVkkRYkXhnI0/DKKiFPKZ9G0Iqyrgs2bhDjCdsCTqf0a4nE+Af YmtA== ARC-Authentication-Results: i=2; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=sTq8KX7J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:subject:in-reply-to:references:date:message-id :mime-version:x-original-sender:x-original-authentication-results :reply-to:precedence:mailing-list:list-id:list-post:list-help :list-archive:list-subscribe:list-unsubscribe; bh=TWyT3z2mnjK8McldxgidlLX5xkHigDAFaxpND/jl1+4=; b=Hn510iUKzTEC+MirYijIGj0tcfPyM3TB1gqqcZFek0D3X+5oGGNa3bi33kOAdlgP+m R6mDIN0DSOvLSknaD/xIB8/PVEYmfdwoz1OUQ3c64tIza42R7agp1II1BGu0GzKpDebS VA+HxRkjdWvFdSGpggG9suI6F/XLOCqxssyRmt63LQhuy92P0w/bu0N8DGC+C1QThYrl ClfHTOdxmmSorkl8/8f5GXPRXCK0NsqXHfOLv/cirLzHbWChln9m4VdQrJCrJtEdwHes JZn70iksUzwODG84ALGz8Fex9cjRVELyMu3g0UtOAFFQpLj+Id5e6/+Xhq+BC9izraW+ NCfg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:subject:in-reply-to:references :date:message-id:mime-version:x-original-sender :x-original-authentication-results:reply-to:precedence:mailing-list :list-id:x-spam-checked-in-group:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=TWyT3z2mnjK8McldxgidlLX5xkHigDAFaxpND/jl1+4=; b=IDq/qKeUTTnpxP8JVSSaGb4m6Z7yeNeWyT/1UT5TPfMXUaX4HgKvxiXv5Fi494Y8X1 XarpmkySiv123YdOqvWAQSi6f1yt/zlvxVirNvKovORsDbXf+5iTtWyGHW6vU+JwrX1x daR3LKLywrUgihJ99jn9b/QxbTHXXhKgNo9bUHkMcDuaUADoHp2mjvoDYERn/jToAeZF KmnhE+7T8qwFLdWYXz17FmIO4jj7Gm++nJVj6+wDtcRTIKHEwtyCvu5qk+SQ8mhuX563 MLUCzx9siVZVYh7E10lVmzEKjYHz/QXiKBsEhPcxBpSclP6LuxSDGEhmBmo96r3P4f5e tfRg== Original-Sender: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org X-Gm-Message-State: AOAM53070GYXMzkZN8WUAczp9p5oJudlrqN8PGLLpNB7rlRudcGCSBuR GVM4vXHKit5RsZaWhdVC/LI= X-Google-Smtp-Source: ABdhPJwVjY10+Z+pTEn5eV9uGh60HSzVdQPYbO/79aQWZEFRMCtlQMJoemGPKwSbPfBMXmwR9e2xhQ== X-Received: by 2002:a63:5b0e:: with SMTP id p14mr325287pgb.110.1623253236866; Wed, 09 Jun 2021 08:40:36 -0700 (PDT) X-BeenThere: pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org Original-Received: by 2002:a17:90a:4b09:: with SMTP id g9ls4395096pjh.2.canary-gmail; Wed, 09 Jun 2021 08:40:34 -0700 (PDT) X-Received: by 2002:a17:90a:9e6:: with SMTP id 93mr193089pjo.6.1623253234862; Wed, 09 Jun 2021 08:40:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623253234; cv=none; d=google.com; s=arc-20160816; b=cewVV18ql4bf4Jk7bwro74u/OZ4/gVWBVmiEYKatM6mxdr1KLnUgWsV5E8oquhMr8w R8574gZDtbhbyGkiehczsiv+iz4KSQ9lh0K+Vut5X2zJAa8vlkbv20xiWBV/2v5NXJVq WweyySyOgkibkeBGUeIihsie5ahM2i22LFxX3hT/zrOYuy43y8yOMHG9jqDRofid86rZ kZL8BNQ2Ir9SHOvKEKrZt8ZgePaoBFv7RWpcINNmucDYHnO2G0wxWSiOZeq/QtykZdky 2Q+VbExTLc3uXZUZoryEMhdXudl8PkR8FDfgdPc75lVRsFBe3WY4sqDc8k5PYFsaXal5 U2TA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:message-id:date:references:in-reply-to:subject:to:from :dkim-signature; bh=1WthAagfBD4lc8drC6BIzfPJJmW+iFFF3JngBvAy6Jk=; b=WaMyuU/69Kllox7uTqd89uOR0FKJliDTuj93vz0X3CefL9J60JmRcoMeYJ7U0+SHx4 L+RxF3Z6fnJx4azM3M0wLzmDeCmNwtwTdVZ64M3IiDRTiZOwpfpav3rrndpCaOQbyUEO /e7EFfQ1X4+SJmSto6nI7sESNeskc/RRc4Zjmt+9X7xmFmHItnteUHQ9caXGR1o3wlKs sqt+fJgjjiBxMsvCTmnsm7fksTP6IzvMVB3BGuUFB4S3Hv+//wH70hOQ1NQ0QcmvOw28 po0wh1NN3nsElle/xXrJi7CnpX+YFXZbv4yKLi/BJG2K1nmz6JzBzVySjs6dRen7I4mF 8NWQ== ARC-Authentication-Results: i=1; gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=sTq8KX7J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Original-Received: from mail-pg1-x52e.google.com (mail-pg1-x52e.google.com. [2607:f8b0:4864:20::52e]) by gmr-mx.google.com with ESMTPS id r7si51358pjp.0.2021.06.09.08.40.34 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 09 Jun 2021 08:40:34 -0700 (PDT) Received-SPF: pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) client-ip=2607:f8b0:4864:20::52e; Original-Received: by mail-pg1-x52e.google.com with SMTP id l184so4261640pgd.8 for ; Wed, 09 Jun 2021 08:40:34 -0700 (PDT) X-Received: by 2002:a62:60c4:0:b029:2ca:ebf7:cd0d with SMTP id u187-20020a6260c40000b02902caebf7cd0dmr337564pfb.71.1623253234237; Wed, 09 Jun 2021 08:40:34 -0700 (PDT) Original-Received: from johnmacfarlane.net (li55-134.members.linode.com. [74.82.3.134]) by smtp.gmail.com with ESMTPSA id x206sm29944pfc.211.2021.06.09.08.40.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Jun 2021 08:40:33 -0700 (PDT) Original-Received: by johnmacfarlane.net (Postfix, from userid 1000) id B9861A23E; Wed, 9 Jun 2021 11:40:22 -0400 (EDT) In-Reply-To: <274588F4-8776-42E2-A982-3B8FAA3472C2-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> X-Original-Sender: jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org X-Original-Authentication-Results: gmr-mx.google.com; dkim=pass header.i=@berkeley-edu.20150623.gappssmtp.com header.s=20150623 header.b=sTq8KX7J; spf=pass (google.com: domain of jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org designates 2607:f8b0:4864:20::52e as permitted sender) smtp.mailfrom=jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org Precedence: list Mailing-list: list pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org; contact pandoc-discuss+owners-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org List-ID: X-Google-Group-Id: 1007024079513 List-Post: , List-Help: , List-Archive: , List-Unsubscribe: , Xref: news.gmane.io gmane.text.pandoc:28568 Archived-At: "Jason Davies" writes: > Hi folks, > > I just tried to convert three short Word files one at a time; one worked > fine but two gave errors like this: > > pandoc(24405,0x209984e00) malloc: can't allocate region > :*** mach_vm_map(size=1048576, flags: 100) failed (error code=268435465) > pandoc(24405,0x209984e00) malloc: *** set a breakpoint in > malloc_error_break to debug > pandoc: pdflatex: createProcess: runInteractiveProcess: exec: resource > exhausted (Cannot allocate memory) > I just got an M1 mac, and I ran into this same error. I found that if I fully specify the pdflatex path, it works: pandoc -o my.pdf --pdf-engine=/Library/TeX/texbin/pdflatex It's a bit mysterious why this should be needed, since `which pdflatex` returns this path! And running pandoc with --verbose shows that the PATH is correctly passed through to the process running pdflatex. Anyone have any ideas? AT least this gives a workaround...