On Mon, 2005-03-07 at 20:43 +0100, Uwe Voelker wrote:

> if I try the ncurses_life.imc demo I get the error "Null PMC access in 
> invoke()".

> I'm sure it has problems with the ncurses NCI. How can I solve the problem?

Apply this patch, then let me know if it fixes it for you so that I can
check it in.

For what it's worth, I turned on tracing, found the file and the line
with the problem, then removed it.

It might be better to port the demo to use the ncurses.imc file, as it
looks more recent, but this is the quickest patch I have.

-- c


Index: runtime/parrot/library/ncurses.pasm
===================================================================
RCS file: /cvs/public/parrot/runtime/parrot/library/ncurses.pasm,v
retrieving revision 1.1
diff -u -u -r1.1 ncurses.pasm
--- runtime/parrot/library/ncurses.pasm	25 May 2004 18:06:26 -0000	1.1
+++ runtime/parrot/library/ncurses.pasm	7 Mar 2005 23:00:05 -0000
@@ -650,4 +650,3 @@
 dlfunc P2, P1, 'has_key', 'ii'
 store_global 'ncurses::has_key', P2
 restoreall
-invoke P1

Reply via email to