Re: [perl #53714] [PATCH] parrot segfaults when dyna-loading main program

2008-05-06 Thread Tom Erdevig
chromatic wrote: I prefer this patch. It fixes the problem closer to its source. Does it work for you? Yes, that works for me. However the fix does not get exercised without the new test case (or something similar) added in the original patch. Thanks! Tom

Re: [perl #53714] [PATCH] parrot segfaults when dyna-loading main program

2008-05-06 Thread NotFound
On Tue, May 6, 2008 at 7:42 AM, chromatic [EMAIL PROTECTED] wrote: I prefer this patch. It fixes the problem closer to its source. Does it work for you? Works for me, but I wonder if the set_string_native function still needs the fix, or an assertion about a forbidden combination of

[perl #53714] [PATCH] parrot segfaults when dyna-loading main program

2008-05-05 Thread via RT
# New Ticket Created by Tom Erdevig # Please include the string: [perl #53714] # in the subject line of all future correspondence about this issue. # URL: http://rt.perl.org/rt3/Ticket/Display.html?id=53714 Parrot segfaults running this: .sub _ :main null S0 loadlib P0, S0 .end

Re: [perl #53714] [PATCH] parrot segfaults when dyna-loading main program

2008-05-05 Thread NotFound
On Mon, May 5, 2008 at 2:52 AM, via RT Tom Erdevig [EMAIL PROTECTED] wrote: Parrot segfaults running this: .sub _ :main null S0 loadlib P0, S0 .end The segfault is caused by src/dynext.c:Parrot_load_lib setting its local lib_name variable to NULL and then passing it along to

Re: [perl #53714] [PATCH] parrot segfaults when dyna-loading main program

2008-05-05 Thread chromatic
On Monday 05 May 2008 13:50:51 NotFound wrote: On Mon, May 5, 2008 at 2:52 AM, via RT Tom Erdevig [EMAIL PROTECTED] wrote: Parrot segfaults running this: .sub _ :main null S0 loadlib P0, S0 .end The segfault is caused by src/dynext.c:Parrot_load_lib setting its local