On Sun, Jan 2, 2011 at 4:56 PM, Nolan L <[email protected]> wrote: > On Sun, Jan 2, 2011 at 4:40 PM, Peter Lobsinger <[email protected]> wrote: >> If you provide the script you've run to hit these assertions, we can get >> started on fixing this problem. Also, patches welcome. > The following PIR segment is enough to trigger an assertion. > > .sub main > .local pmc nci > nci = new ['NCI'] > invokecc nci > .end > > Instead of throwing an exception for trying to call a null FUNC, an > assertion is hit while generating the thunk function.
The hit assertion is for sig_str, which is legitimate. Every NCI function *must* have a signature in order to be able to determine how to map PCC to the native ABI. sig_str being null is *not* a valid state for this object, and the assertion is appropriate. _______________________________________________ http://lists.parrot.org/mailman/listinfo/parrot-dev
