Behavior of the NCI PMC

Nolan L nol888 at gmail.com
Sun Jan 2 07:08:49 UTC 2011


Whilst going through the NCI PMC for the purpose of increasing test
coverage, I noticed inconsistent behavior of many of the VTABLE
functions within. While some returned pointers to nci_info->orig_func,
others operated on nci_info->func, creating that struct if it doesn't
exist.

Is this expected behavior? If nci_info->orig_func is null, and the
VTABLEs which operate on nci_info->func are called, instead of
properly detecting this and throwing an exception, there is a failed
assertion when the code attempts to generate nci_info->func from a
null original.

Regards,
Yuki`N


More information about the parrot-dev mailing list