Will Coleda (via RT) wrote:
Trying to patch punie, I get to a point with the following:wcoleda$ cat foo.pir .sub main :main $P1 = compreg "PAST" $P2 = $P1("Parrot_AST(Py_Module(Stmts(Py_Print(Const(1)))))") $P2() .end wcoleda$ ../../parrot foo.pir src/packfile.c:2314: failed assertion `ct->constants!=NULL'
Fixed. Is there any reason that realloc(NULL, the_size) is doubtful? Dan has invalidated mem_sys_realloc() that takes a NULL ptr.
leo