[perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-07-01 Thread chromatic via RT
Thanks, applied as r28882.

[perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-17 Thread NotFound via RT
By chromatic's suggestion, here is a different approach: change pmc_type signature to allow a null string argument, returning enum_type_undef in that case. Other changes in this patch are replacing 0 with enum_type_undef in the same function, and adding a test in t/pmc/namespace.t checking that ge

Re: [perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-11 Thread NotFound
On Thu, Jun 12, 2008 at 1:23 AM, chromatic <[EMAIL PROTECTED]> wrote: > What's it look like when patching pmc_type to deal with NULL STRING *? I'm > not saying that's the best option; I'm just looking at the alternatives. We must change his signature to do that. I tried the mininal change. --

Re: [perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-11 Thread chromatic
On Wednesday 11 June 2008 14:44:34 NotFound wrote: > I've found a bug in oo_get_class, it segfaults when calling pmc_type > with a NULL STIRNG * > > This short pir code shows the problem: > > .sub main > $P0= get_root_namespace > $P1= get_class $P0 > .end > > The attached patch fixes it. What

[perl #55640] [BUG] [PATCH] oo_get_class segfaults

2008-06-11 Thread via RT
# New Ticket Created by NotFound # Please include the string: [perl #55640] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=55640 > I've found a bug in oo_get_class, it segfaults when calling pmc_type with a NULL STIRNG * T