![](https://secure.gravatar.com/avatar/29c7bbff49b1599eddb2ec73fd9ffa6e.jpg?s=120&d=mm&r=g)
Any idea what can cause the following error? I never encountered such a thing so I don't know where to start hunting. The error is new in mkiv, did not occur in mkii. ! LuaTeX error ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua: 534: pdf.immediateobj() object in use stack traceback: [C]: in function 'pdfimmediateobj' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:534: in function '?' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:462: in function 'run' ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:485: in function 'finalizedocument' <main ctx instance>:1: in main chunk. <inserted text> ...einjections.finalizedocument()} <inserted text> \the \everylastbackendshipout \flushtextdata \actualshipout ...e \relax \the \everylastshipout \global \everylastshipout ... \myshipout ...\@@ppmethod }\gobbleoneargument {#1} \setnextrealpageno \afters... \dofinaloutput ...hbox {\vbox {\dopagebody #1#2}}} \the \everyaftershipout \a... \finaloutput ...EAEAEA \dofinaloutput \fi \fi #1#2 \resetselectiepagina \incr... ... l.41 \stopproduct Hans van der Meer
![](https://secure.gravatar.com/avatar/565476157eb3895a9c928ffce26d988d.jpg?s=120&d=mm&r=g)
Hans van der Meer wrote:
Any idea what can cause the following error? I never encountered such a
The error is caused by line 534 in lpdf-ini.lua, which is called from line 462, which is called from line 485 (the lpdf.finalizedocument function). But that was in the traceback already. I guess you will get this error if lpdf.finalizedocument is called twice. How this can happen, I have no idea. As the author of the source file resulting in this error, you are in a much better position to figure this out than I am ;) Best wishes, Taco
![](https://secure.gravatar.com/avatar/49e63acb01f2ca80efce7eed08310ce8.jpg?s=120&d=mm&r=g)
On 22-3-2010 16:20, Hans van der Meer wrote:
Any idea what can cause the following error? I never encountered such a thing so I don't know where to start hunting. The error is new in mkiv, did not occur in mkii.
sure, as mkiv has a complete different backend can you run with \enabletrackers[backend.resources] and see what gets flushed? ----------------------------------------------------------------- Hans Hagen | PRAGMA ADE Ridderstraat 27 | 8061 GH Hasselt | The Netherlands tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com | www.pragma-pod.nl -----------------------------------------------------------------
![](https://secure.gravatar.com/avatar/ad5afbb91c8b5ec2b1199838461a8348.jpg?s=120&d=mm&r=g)
On Mon, 22 Mar 2010, Hans van der Meer wrote:
Any idea what can cause the following error? I never encountered such a thing so I don't know where to start hunting. The error is new in mkiv, did not occur in mkii.
! LuaTeX error ...beta/tex/texmf-context/tex/context/base/lpdf-ini.lua:534: pdf.immediateobj() object in use
rather likely this was a luatex bug, hopefully fixed in SVN 3617. Regards, Hartmut
participants (4)
-
Hans Hagen
-
Hans van der Meer
-
Hartmut Henkel
-
Taco Hoekwater