Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-24 Thread Nicholas Clark
On Mon, Dec 13, 2004 at 01:46:49PM -0500, Matthew Zimmerman wrote: > I'm going to have to stop sending patches if it's going to take 5 hours > for my messages to get to the list. You guys are so damned fast, I can't > compete! :) I think that your messages hit the moderator, as your address wasn

Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread Matthew Zimmerman
Dan Sugalski (via RT) wrote: # New Ticket Created by Dan Sugalski # Please include the string: [perl #33028] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=33028 > A plain ./parrot foo.pbc when foo.pbc doesn't exist t

Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread Matthew Zimmerman
chromatic wrote: On Mon, 2004-12-13 at 07:44 -0800, Dan Sugalski wrote: A plain ./parrot foo.pbc when foo.pbc doesn't exist triggers a core dump on OS X. The problem is in embed.c not checking the results of Parrot_locate_runtime_file(). Here's a naive patch. [snip chromatic's fine patch, very

Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread Matthew Zimmerman
Dan Sugalski (via RT) wrote: # New Ticket Created by Dan Sugalski # Please include the string: [perl #33028] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=33028 > A plain ./parrot foo.pbc when foo.pbc doesn't exist t

Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread Leopold Toetsch
Matthew Zimmerman <[EMAIL PROTECTED]> wrote: > strlen() is puking on the NULL return from Parrot_locate_runtime_file() > in Parrot_readbc. Attached patch fixes this behavior. Thanks, applied. leo

Re: [perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread chromatic
On Mon, 2004-12-13 at 07:44 -0800, Dan Sugalski wrote: > A plain > > ./parrot foo.pbc > > when foo.pbc doesn't exist triggers a core dump on OS X. The problem is in embed.c not checking the results of Parrot_locate_runtime_file(). Here's a naive patch. Is there a good place to put tests f

[perl #33028] Parrot cores when asked to run a nonexistent bytecode file

2004-12-13 Thread via RT
# New Ticket Created by Dan Sugalski # Please include the string: [perl #33028] # in the subject line of all future correspondence about this issue. # http://rt.perl.org:80/rt3/Ticket/Display.html?id=33028 > A plain ./parrot foo.pbc when foo.pbc doesn't exist triggers a core dump on OS