[perl #56636] [BUG] [PATCH] segfault from sort if comparison is always 1

2008-07-06 Thread Andrew Johnson via RT
On Sun Jul 06 11:03:37 2008, japhb wrote: > > Better yet, we should replace the inherently insecure quicksort > algorithm (insecure in the "vulnerable to algorithmic attack" sense) > with a more secure mergesort like perl5 uses. IIRC, perl5's mergesort > is also carefully crafted to be as sensibl

[perl #43318] [TODO] config/auto/jit.pm: Write unit tests

2008-07-06 Thread James Keenan via RT
I recently resumed work on refactoring and testing of the Parrot configuration steps. The attached patch represents work done in the last two weeks in the 'autojit' branch. As with other config steps, the approach was to refactor code out of runstep() into internal subroutines, then to test the h

Re: [perl #56616] [BUG] make_root_namespace opcode nonexistent

2008-07-06 Thread Andrew Whitworth
On Sat, Jul 5, 2008 at 11:34 AM, Patrick R. Michaud (via RT) <[EMAIL PROTECTED]> wrote: > If there's agreement on using a method-based form, I think I can > implement it fairly quickly, and we can update PDD21 accordingly. I would tend to disagree, if only out of respect for symmetry with the get_

[perl #56650] [BUG] class created from namespace fails MMD

2008-07-06 Thread Patrick R. Michaud (via RT)
# New Ticket Created by Patrick R. Michaud # Please include the string: [perl #56650] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=56650 > If we create a class from a namespace, then objects created from the class don't p

[perl #56628] [BUG][PATCH] cygwin opengl libs

2008-07-06 Thread via RT
# New Ticket Created by Reini Urban # Please include the string: [perl #56628] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=56628 > --- osname= cygwin osvers= 1.5.25(0.15642) arch= cygwin-thread-multi-64int cc= gcc

[perl #56632] Re: #56448: [BUG] tailcalls cause segfault when invoked from C

2008-07-06 Thread via RT
# New Ticket Created by Andrew Johnson # Please include the string: [perl #56632] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=56632 > More details — needless to say the location of the segfault is nowhere near the bug, w

Re: [perl #56636] [BUG] segfault from sort if comparison is always 1

2008-07-06 Thread Geoffrey Broadwell
On Sat, 2008-07-05 at 20:11 -0700, Andrew Johnson wrote: > Parrot_quicksort() is in src/utils.c; the first do-while loop has nothing to > stop it when j reaches 0, so it keeps going outside of the data array. I > guess that the while condition needs j > 0 adding to it to prevent that from > happeni

[perl #56636] [BUG] segfault from sort if comparison is always 1

2008-07-06 Thread via RT
# New Ticket Created by Andrew Johnson # Please include the string: [perl #56636] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=56636 > If sort is given a comparison function that always returns >0, the result is a segfaul

[perl #56634] Coke on config

2008-07-06 Thread via RT
# New Ticket Created by Geoffrey Broadwell # Please include the string: [perl #56634] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=56634 > >From Coke's rant in RT #55238: * (Please take the rest of this as a document