On Sunday 18 November 2007 08:08:25 Mehmet Yavuz Selim Soyturk wrote:

> If you have defined an .HLL in your program, any pmc leaks. I could
> track the problem down to PMCProxy::init_pmc.
>
> If these lines of PMCProxy::init_pmc are removed, the leak disappears:
>
>         if (!PMC_IS_NULL(proxy_info->_namespace))
>             Parrot_PCCINVOKE(interp, proxy_info->_namespace,
>                 string_from_literal(interp, "set_class"), "P->", SELF);
>
>         /* Extract any methods from the namespace */
>         Parrot_oo_extract_methods_from_namespace(interp, SELF);

Did you happen to catch which PMC it is that's leaking?  Also, is this with 
PIR or PBC or both?  Do you have a short test case that Valgrind catches?

-- c

Reply via email to