Re: perl 56636 BUG PATCH segfault from sort if comparison is always 1 by chromatic- July 7, 2008 On Sunday 06 July 2008 22:17:12 Andrew Johnson via RT wrote:> 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&39;s mergesort> > is also carefully crafted to be as sensible as possible in the face of> > insane compare functions ....> No objections here, but...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46724.html Re: perl 56636 BUG PATCH segfault from sort if comparison is always 1 by chromatic- July 7, 2008 On Sunday 06 July 2008 22:17:12 Andrew Johnson via RT wrote:> 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&39;s mergesort> > is also carefully crafted to be as sensible as possible in the face of> > insane compare functions ....> No objections here, but...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46725.html perl 56636 BUG PATCH segfault from sort if comparison is always 1 by Andrew Johnson via RT- July 6, 2008 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&39;s mergesort> is also carefully crafted to be as sensible as possible in the face of> insane compare functions ....No objections here, but until that&39;s available the attached patch stopsthe segfault from occurring with the...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46723.html perl 43318 TODO configautojit.pm: Write unit tests by James Keenan via RT- July 6, 2008 I recently resumed work on refactoring and testing of the Parrotconfiguration steps. The attached patch represents work done in thelast two weeks in the &39;autojit&39; branch.As with other config steps, the approach was to refactor code out ofrunstep() into internal subroutines, then to test the hell out of thosesubs. As a result, statement test coverage has increased to 99%, thoughthe branch and condition coverage will be lower due to the many C probeswithin runstep().Please give this a...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46722.html Re: perl 56616 BUG make_root_namespace opcode nonexistent by Andrew Whitworth- July 6, 2008 On Sat, Jul 5, 2008 at 11:34 AM, Patrick R. Michaud (via RT)<parrotbug-followupparrotcode.org> wrote:> If there&39;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 theget_namespace, get_hll_namespace and get_root_namespace opcodes thatwe already have. However, I do see a big benefit to keep around feweropcodes, to help reduce bloat and increase..http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46721.html perl 56650 BUG class created from namespace fails MMD by Patrick R. Michaud- July 6, 2008 New Ticket Created by Patrick R. Michaud Please include the string: perl 56650 in the subject line of all future correspondence about this issue. <URL: http:rt.perl.orgrt3TicketDisplay.htmlid=56650 >If we create a class from a namespace, then objects createdfrom the class don&39;t participate properly in Parrot&39;s MMD: $ cat v.pir .sub &39;main&39; :main $P0 = get_hll_namespace &39;ABC&39; $P1 = newclass $P0 $P2 = new $P1 &39;foo&39;($P2) .end .http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46720.html perl 56628 BUGPATCH cygwin opengl libs by Reini Urban- July 6, 2008 New Ticket Created by Reini Urban Please include the string: perl 56628 in the subject line of all future correspondence about this issue. <URL: http:rt.perl.orgrt3TicketDisplay.htmlid=56628 >---osname= cygwinosvers= 1.5.25(0.15642)arch= cygwin-thread-multi-64intcc= gcc---Flags: category=core severity=high ack=no---I don&39;t know if that&39;s the correct way to foolthe libs generation for cygwin, which seems tobe contained in win32_gcc, which is wrong here in the...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46719.html perl 56632 Re: 56448: BUG tailcalls cause segfault when invoked from C by Andrew Johnson- July 6, 2008 New Ticket Created by Andrew Johnson Please include the string: perl 56632 in the subject line of all future correspondence about this issue. <URL: http:rt.perl.orgrt3TicketDisplay.htmlid=56632 >More details â&128;&148; needless to say the location of the segfault is nowhere nearthe bug, which I haven&39;t pinpointed yet but I&39;m getting closer.The segfault occurs when trying to sort the array using Patrick&39;s tail-callcomparison function because at the time one of the...http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46718.html Re: perl 56636 BUG segfault from sort if comparison is always1 by Geoffrey Broadwell- July 6, 2008 On Sat, 2008-07-05 at 20:11 -0700, Andrew Johnson wrote:> Parrot_quicksort() is in srcutils.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> happening.Better yet, we should replace the inherently insecure quicksortalgorithm (insecure in the "vulnerable to algorithmic attack" sense)with a more secure mergesort like perl5 uses. .http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46717.html perl 56636 BUG segfault from sort if comparison is always 1 by Andrew Johnson- July 6, 2008 New Ticket Created by Andrew Johnson Please include the string: perl 56636 in the subject line of all future correspondence about this issue. <URL: http:rt.perl.orgrt3TicketDisplay.htmlid=56636 >If sort is given a comparison function that always returns >0, the result isa segfault. .sub &39;main&39; :main .local pmc array array = new &39;ResizablePMCArray&39; push array, 4 push array, 5 push array, 3 push array, 2 push array, 5 .http://www.nntp.perl.org/group/perl.perl6.internals/2008/07/msg46716.html |