Hi Keith,

Thanks v. much for testing. At least it bootstrapped ok!

Ok, so it could be the mach signal handling or the macosx gui stuff that 
isn't thread safe, or a bug I haven't found yet on other platforms. If 
you have time could you do another test for me please?:

1) start factor in console mode:
   ./factor -run=listener
2) then start tetris
    USE: mttest { "-run=tetris" } start-vm-in-os-thread

If that works then it's most probably the gui code.
I have ssh shell access to a ppc macosx box so when I get a chance I'll 
finish the PPC assembler and then test out the mach signal handling stuff.

Thanks again,

Phil


Keith Lazuka wrote:
> Phil,
> 
> I just tried it on my Mac x86-64. I did "make REENTRANT=1", then did
> the phase2 bootstrap using your unix-x86-64 image as the starting
> point. It compiled and bootstrapped okay, so then I launched Factor
> and USEd the "mttest" vocab, but when I tried to run: "{ "-run=tetris"
> } start-vm-in-os-thread" it crashed with the following error:
> 
> bogrov:~/devel/factor (reentrantvm-checkpoint) $
> ./Factor.app/Contents/MacOS/factor Loading
> resource:extra/tetris/tetris.factor
> Loading resource:extra/tetris/game/game.factor
> Loading resource:extra/tetris/board/board.factor
> Loading resource:extra/tetris/piece/piece.factor
> Loading resource:extra/tetris/tetromino/tetromino.factor
> Loading resource:basis/lists/lazy/lazy.factor
> Loading resource:basis/promises/promises.factor
> Loading resource:basis/promises/promises-docs.factor
> Loading resource:basis/lists/lazy/lazy-docs.factor
> Loading resource:extra/tetris/gl/gl.factor
> You have triggered a bug in Factor. Please report.
> critical_error: Expected a fixnum or array: 11c36b1b6
> Starting low level debugger...
> [...snip... debugger commands...]
> Error in thread 6 (I/O wait, [ ~quotation~ ~quotation~ while ]):
> 
> box-full instance
> box T{ box f ~continuation~ t }
> 
> [ init-catchstack [ 2 setenv call ] keep -> wait-to-return ]
> [ over [ call ] dip -> ]
> [ 2drop reset-run-loop -> yield ]
> reset-run-loop
> (reset-timer)
> yield
>> box
> box-full
> M\ object throw
> [
>     63 getenv error-thread set-global
>     continuation -> error-continuation set-global rethrow
> ]
> The die word was called by the library. Unless you called it yourself,
> you have triggered a bug in Factor. Please report.
> Starting low level debugger...
> ----------------------
> 
> Perhaps I did something wrong, but I figured I should share nevertheless.
> 
> -keith
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with 
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
> 



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to