[NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Michail Vidiassov

Dear All,

I am running Mac OS X 10.6.2, latest minimals
luatex is beta-0.52.0-2010031913, Mach-O 64-bit executable x86_64

the fillowing file test.tex fails to compile with context test.tex

\nopdfcompression
\startluacode
local attr = lpdf.dictionary {}
pdf.immediateobj(streamfile,test.tex,attr())
-- pdf.immediateobj(stream,test.tex,attr())
\stopluacode
\starttext
\startTEXpage
Test.
\stopTEXpage
\stoptext

complaining

MTXrun | fatal error: no return code, message: luatex: execution interrupted

and producing PDF file test.pdf where, it seems, luatex has problems
with file size. PDF file starts as follows (note empty Length)
%PDF-1.6
some binary data
9 0 obj 

/Length



stream
\nopdfcompression
\startluacode
local attr = lpdf.dictionary {}
pdf.immediateobj(streamfile,test.tex,attr())
-- pdf.immediateobj(stream,test.tex,attr())
\stopluacode
\starttext
\startTEXpage
Test.
\stopTEXpage
\stoptext
binary garbage
binary garbage
...

The latest minimals under Mac OS X 10.5.8 running on PPC
(luatex beta-0.52.0-2010031913, Mach-o executable ppc)
have no such problem.

Please, test it on your system. Does it work for you?
Is something broken in my setup or we are to complain to 
developers/builders/investigate luatex workings ourselves?


Sincerely, Michail

PS. If I uncomment pdf.immediateobj(stream, and comment
pdf.immediateobj(streamfile, things do work.
PPS. The code above is a minimal test case, I am really revisiting
 3D annotations.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Taco Hoekwater


Michail Vidiassov wrote:
 
 complaining
 
 MTXrun | fatal error: no return code, message: luatex: execution
 interrupted

That's clearly a big crash. Does your luatex have revision numbers
in the banner already?

Anway, it runs ok here with rev. 3535 on linux 32. Don't have
access to a 64-bit machine right now.

Best wishes,
Taco
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Wolfgang Schuster

Am 22.03.10 17:35, schrieb Taco Hoekwater:

Michail Vidiassov wrote:
   

complaining

MTXrun | fatal error: no return code, message: luatex: execution
interrupted
 

That's clearly a big crash. Does your luatex have revision numbers
in the banner already?
   

Mac OS 10.6.2

This is LuaTeX, Version beta-0.53.0-2010032217 (rev 3536)

MTXrun | fatal error: no return code, message: luatex: execution interrupted

Wolfgang

___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Taco Hoekwater


Wolfgang Schuster wrote:
 Am 22.03.10 17:35, schrieb Taco Hoekwater:
 Michail Vidiassov wrote:
   
 complaining

 MTXrun | fatal error: no return code, message: luatex: execution
 interrupted
  
 That's clearly a big crash. Does your luatex have revision numbers
 in the banner already?

 Mac OS 10.6.2
 
 This is LuaTeX, Version beta-0.53.0-2010032217 (rev 3536)
 
 MTXrun | fatal error: no return code, message: luatex: execution
 interrupted

Unless you can backtrace this yourself, it should go into the tracker.
Once the crash point is found, it should be a simple fix (probably
some 64bit vs 32bit thing).
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Michail Vidiassov



On Mon, 22 Mar 2010, Taco Hoekwater wrote:


Anway, it runs ok here with rev. 3535 on linux 32. Don't have
access to a 64-bit machine right now.


latest minimals 
Debian 5.0.4, Linux debian 2.6.2-2-amd64

luatex beta-0.52.0-2010031622 ELF 64-bit LSB executable, x86-64, dynamically 
linked for GNU/Linux 2.6.4

Runs OK.



___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] luatex pdf.immediateobj(streamfile error on Mac OS X Intel 64

2010-03-22 Thread Mojca Miklavec
On Mon, Mar 22, 2010 at 17:35, Taco Hoekwater wrote:


 Michail Vidiassov wrote:

 complaining

 MTXrun | fatal error: no return code, message: luatex: execution
 interrupted

 That's clearly a big crash. Does your luatex have revision numbers
 in the banner already?

No (but I can tell you that it's the released version of beta-0.52).
Binaries in minimals don't contain the SVN revision number information
(maybe I just need to figure out which additional folder I need to
sync, so that svn info will work properly; before you have introduced
compilation of revision numbers into the binary, I decided to use
rsync --exclude '.svn' ... and I need to fix that).

I can confirm the crash and confirm that the 32-bit and PPC version of
the same luatex version doesn't crash.

Mojca

PS: this is the first time that I see the following error in mkiv
since a long time:

 context str.tex
MTXrun | run 1: luatex
--fmt=/Users/mojca/context/tex/texmf-cache/luatex-cache/context/bce2a35a5270714da084d11faf744f76/formats/cont-en
--lua=/Users/mojca/context/tex/texmf-cache/luatex-cache/context/bce2a35a5270714da084d11faf744f76/formats/cont-en.lui
--backend=pdf ./str.tex
This is LuaTeX, Version beta-0.52.0-2010031913
 \write18 enabled.

(Fatal format file error; I'm stymied)MTXrun | fatal error: return code: 1

Minimal steps to reproduce it: overwrite one luatex binary with
another. The format gets regenerated automatically when ConTeXt
version changes, but apparently not when LuaTeX chenges.
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___