[perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2008-05-17 Thread Patrick R. Michaud via RT
Is this ticket still relevant? There hasn't been any activity on it since Dec 2006, and if there was a problem we probably would've uncovered it by now. Pm

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread Bob Rogers
From: chromatic <[EMAIL PROTECTED]> Date: Tue, 26 Dec 2006 16:26:03 -0800 On Tuesday 26 December 2006 14:35, Bob Rogers wrote: > AFAICS, the old code failed because Parrot_switch_to_cs (which is what > normally sets ctx->contants in a sub call) is not given a chance to run > in

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread chromatic
On Tuesday 26 December 2006 14:35, Bob Rogers wrote: > AFAICS, the old code failed because Parrot_switch_to_cs (which is what > normally sets ctx->contants in a sub call) is not given a chance to run > in this situation. Parrot_loadbc sets interp->code without doing any of > the other Parrot_swit

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread Bob Rogers
From: Jonathan Worthington <[EMAIL PROTECTED]> Date: Tue, 26 Dec 2006 19:36:58 + Nikolay Ananiev wrote: > The attached patch fixes the problem. The code is taken from > Parrot_call_sub (which works). But I don't know why it was not > applied to the other two function. Maybe

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread Jonathan Worthington
Jonathan Worthington wrote: I'd like to poke into this at bit deeper at the moment, Of course I meant, "in the future". Oh, and it was r16270 that it went in as. Don't drink and patch! Jonathan

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread Jonathan Worthington
Nikolay Ananiev wrote: The attached patch fixes the problem. The code is taken from Parrot_call_sub (which works). But I don't know why it was not applied to the other two function. Maybe it's just a hack? Perhaps, but I have applied it since it's consistent with Parrot_call_sub. I'd like t

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-26 Thread Nikolay Ananiev
"Nikolay Ananiev" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > forgot to attach the files. Attached in this message. The attached patch fixes the problem. The code is taken from Parrot_call_sub (which works). But I don't know why it was not applied to the other two function. Maybe

Re: [perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-25 Thread Nikolay Ananiev
forgot to attach the files. Attached in this message. test.pir Description: Binary data #include #include #include Parrot_STRING pw_new_string(Parrot_Interp interp, char *str) { return Parrot_new_string(interp, str, strlen(str),

[perl #41132] [BUG] Segfault in Parrot_call_sub_ret_int

2006-12-25 Thread Nikolay Ananiev
# New Ticket Created by "Nikolay Ananiev" # Please include the string: [perl #41132] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=41132 > Check the attached examples.