[Dev-luatex] Assertion `pdf_doc->occurences!=0' failed

luigi scarso luigi.scarso at gmail.com
Tue Nov 17 18:13:24 CET 2015


On Tue, Nov 17, 2015 at 6:08 PM, Andreas Matthias <
andreas.matthias at gmail.com> wrote:

> luigi scarso wrote:
>
> > On Mon, Nov 16, 2015 at 11:08 PM, luigi scarso <luigi.scarso at gmail.com>
> wrote:
> >
> >     On Mon, Nov 16, 2015 at 10:45 PM, Andreas Matthias <
> >     andreas.matthias at gmail.com> wrote:
> >
> >         The code shown below triggers the following assertion:
> >
> >         .../source/texk/web2c/luatexdir/image/pdftoepdf.w:844:
> >            void unrefPdfDocument(char*): Assertion
> `pdf_doc->occurences!=0' failed.
> >
> >
>  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> >         \directlua{
> >           local i = 1
> >           while i < 10000 do
> >              local pages = img.scan{filename='foo.pdf'}.pages
> >              print('Run:', i, 'pages:', pages)
> >              i = i + 1
> >           end
> >         }
> >         \bye
> >
> >
>  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> >
> > we have made some test woth latest trunk with a doc of 10000 pages and
> we don't see
> > problems.
> > Which version of luatex trigs the assertion ?
> > is it possible to have a sample of the foo.pdf ?
>
> This is LuaTeX, Version beta-0.80.0 (TeX Live 2015) (rev 5238)
>
> I've attached the PDF. But it seems to be independent of the program
> which created the PDF. I've tested it with several different PDFs and
> they all trigger this assertion.
>

ok, thank you very much.
Which platform are you using ?



-- 
luigi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ntg.nl/pipermail/dev-luatex/attachments/20151117/5c31d393/attachment.html>


More information about the dev-luatex mailing list