More Lua GC Debugging

2007-10-13 Thread chromatic
On my system, allowing Parrot GC to run during the Lua tests makes a lot of segfaults during DOD, specifically when trying to destroy PMCs which already have their vtable pointers invalidated. (This invalidation occurs when freeing a PMC.) The main culprit seems to be a PMC of type 82, which c

[svn:parrot-pdd] r22076 - trunk/docs/pdds/draft

2007-10-13 Thread allison
Author: allison Date: Sat Oct 13 21:02:34 2007 New Revision: 22076 Modified: trunk/docs/pdds/draft/pdd24_events.pod Log: [pdd] The core conceptual description of the event system. Modified: trunk/docs/pdds/draft/pdd24_events.pod ===

Re: Lua GC Problems

2007-10-13 Thread chromatic
On Saturday 13 October 2007 18:18:30 chromatic wrote: > However, the node member of a Hash isn't an array: > > typedef struct Node { > PMC *key; > PMC *val; > struct Node *next; /* for chaining */ > } Node; > > typedef struct Hash { > Node *node; > int size; > Node *firstf

Lua GC Problems

2007-10-13 Thread chromatic
I've been digging into the Lua on Parrot source code to try to find out why there are GC problems (partly to fix them, partly so I can profile Lua programs and speed up the system). I ran into something suspicious in the LuaTable PMC. It uses a custom function to mark all contained keys and va

Re: [perl #41894] segfault happens when invoking poll op

2007-10-13 Thread chromatic
On Saturday 13 October 2007 17:03:56 Will Coleda wrote: > ENOPATCH === lib/Parrot/Op.pm == --- lib/Parrot/Op.pm (revision 6305) +++ lib/Parrot/Op.pm (local) @@ -67,6 +67,8 @@ use strict; use warnings; +use Scalar::Util 'blessed';

Re: [perl #41894] segfault happens when invoking poll op

2007-10-13 Thread Will Coleda
ENOPATCH On Oct 13, 2007, at 5:11 PM, chromatic wrote: On Saturday 14 April 2007 12:13:32 Joshua Isom wrote: Wouldn't it be preferable to add a check to ops2c for all 'in' pmc's to make sure they are not null? That would help prevent errors like this from popping up easily, and just requ

Re: [perl #41894] segfault happens when invoking poll op

2007-10-13 Thread chromatic
On Saturday 14 April 2007 12:13:32 Joshua Isom wrote: > Wouldn't it be preferable to add a check to ops2c for all 'in' pmc's to > make sure they are not null? That would help prevent errors like this > from popping up easily, and just require that all C code using the > functions must check for i

Re: [perl #44291] [PATCH] Fix for suncc

2007-10-13 Thread Ron Blaschke
Joshua Isom wrote: > On Oct 13, 2007, at 7:20 AM, Ron Blaschke wrote: >> Attached patch should fix computed goto on Solaris with the Sun C >> compiler. [snip] >> Could someone please review the patch if I got it right, and maybe test >> it on other computed goto platforms? > > Just to clarify, you

[perl #43422] test names do not match tested in object-meths.t for callmethod/callmethodcc

2007-10-13 Thread Allison Randal via RT
Thanks! Applied to the pdd15oo branch in r22075, to be rolled into trunk along with the rest of the branch.

Re: [perl #44291] [PATCH] Fix for suncc

2007-10-13 Thread chromatic
On Saturday 13 October 2007 05:20:34 Ron Blaschke wrote: > Attached patch should fix computed goto on Solaris with the Sun C compiler. > > All tests successful (7 subtests UNEXPECTEDLY SUCCEEDED), 11 tests and > 621 subtests skipped. > Passed TODO Stat Wstat TODOs Pass List of Passed > --

[perl #44307] PIR tutorial

2007-10-13 Thread Allison Randal via RT
A good place to start is by adding POD to the tutorial files already in the directory. I added POD to many, but not to all. In r22071, I added a one sentence descriptions "this illustrates X" to the files that had no POD, which could be expanded into full descriptions.

[perl #46413] [TODO] Does the amount read in PIO_utf8_read() need to be checked?

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46413] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46413 > In src/io/io_utf8.c:PIO_utf8_read() there is the todo item: /* XXX need to check the a

[perl #46411] [TODO] Create string_free API for reusing string headers

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46411] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46411 > In src/io/io_mmap.c:PIO_mmap_read() there is the todo item: /* TODO create string_free

[perl #46409] [TODO] Verify flags in PIO_mmap_open()

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46409] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46409 > In src/io/io_mmap.c:PIO_mmap_open() there is the todo item: /* TODO verify flags */

[perl #46407] [TODO] Remove assumption that fstat exists?

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46407] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46407 > In src/io/io_mmap.c:PIO_mmap_open() there is the todo item: /* XXX assume fstat exist

Re: [perl #44291] [PATCH] Fix for suncc

2007-10-13 Thread Joshua Isom
On Oct 13, 2007, at 7:20 AM, Ron Blaschke wrote: Attached patch should fix computed goto on Solaris with the Sun C compiler. All tests successful (7 subtests UNEXPECTEDLY SUCCEEDED), 11 tests and 621 subtests skipped. Passed TODO Stat Wstat TODOs Pass List of Passed

[perl #39760] [CAGE] make warnings (r13197 - x86-msvc-7.1)

2007-10-13 Thread Paul Cochrane via RT
On Sat Jul 15 14:47:48 2006, rblasch wrote: > Jerry Gay (via RT) wrote: > > # New Ticket Created by Jerry Gay > > # Please include the string: [perl #39760] > > # in the subject line of all future correspondence about this issue. > > # http://rt.perl.org/rt3/Ticket/Display.html?id=39760 > > >

[perl #46405] [TODO] Reset stacktop or disable GC in Parrot_exit()

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46405] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46405 > In src/exit.c:Parrot_exit() there is the todo item (with some context): /* call all th

[perl #46403] [TODO] Implement locking around list access in Parrot_on_exit()

2007-10-13 Thread via RT
# New Ticket Created by Paul Cochrane # Please include the string: [perl #46403] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=46403 > In src/exit.c:Parrot_on_exit() there is the todo item: /* XXX we might want locking a

Call for Release Managers

2007-10-13 Thread Will Coleda
For 2008, I'd like to add a few more people into the rotation for doing releases. You need to have already gotten commit privs for parrot, be willing to steer things a bit around the release deadline, and be able to release things to CPAN (Not as scary as it might sound.) Ping me if you'r

Re: [perl #44291] [PATCH] Fix for suncc

2007-10-13 Thread Ron Blaschke
Attached patch should fix computed goto on Solaris with the Sun C compiler. All tests successful (7 subtests UNEXPECTEDLY SUCCEEDED), 11 tests and 621 subtests skipped. Passed TODO Stat Wstat TODOs Pass List of Passed ---