Newsgroups: perl.perl6.internals
From: mic...@withoutane.com (Michal Wallace)
Date: Wed, 3 Aug 2005 23:33:50 -0400 (EDT)
Local: Wed, Aug 3 2005 11:33 pm
Subject: urgent parrot bug / PR opportunity
Help! :) Sam Ruby is giving a speech at OSCON tomorrow The pirate tests run hourly against the latest http://pirate.tangentcode.com/ And wouldn't you know it... A bug on the parrot Watch closely: [~/pirate]: parrot listcomp.pir The correct output is [15, 25, 16, 26] but The python source is: print [x+y for x in (1,2,3,4,5,6,7,8) The generated pir code is at the end of this message. Likewise, this code fails when the pir is read My guess is that something about the filename or This is running against a freshly built copy I don't have any clue where to look for this, - Michal ############################################################## # generated by pirate on Wed Aug 3 23:02:54 2005 .sub __main__ @MAIN You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: perl.perl6.internals
From: w...@coleda.com (Will Coleda)
Date: Wed, 3 Aug 2005 23:49:39 -0400
Local: Wed, Aug 3 2005 11:49 pm
Subject: Re: urgent parrot bug / PR opportunity
Suggestions for workarounds given the short time frame:
1) Use the last *released* version of parrot, which is from a month FWIW, I tried it here with a variety of filenames, all generate the Hope one of these helps. On Aug 3, 2005, at 11:33 PM, Michal Wallace wrote: You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 4 Aug 2005 07:34:41 +0200
Local: Thurs, Aug 4 2005 1:34 am
Subject: Re: urgent parrot bug / PR opportunity
On Aug 4, 2005, at 5:33, Michal Wallace wrote: > Watch closely: Which OS & architecture is this? > [~/pirate]: parrot listcomp.pir leo You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: perl.perl6.internals
From: mic...@withoutane.com (Michal Wallace)
Date: Thu, 4 Aug 2005 02:52:51 -0400 (EDT)
Local: Thurs, Aug 4 2005 2:52 am
Subject: Re: urgent parrot bug / PR opportunity
Thanks, Leo!!
I'm afraid this is gibberish to me, but I gave it a shot. I compared the code for pytuple to pylist and pystring Assuming you don't see anything horribly wrong here, BTW, the problem is on red hat enterprise linux 3.0 with - Michal Index: pytuple.pmc PMC* get_iter () { You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 04 Aug 2005 09:28:16 +0200
Local: Thurs, Aug 4 2005 3:28 am
Subject: Re: urgent parrot bug / PR opportunity
Michal Wallace wrote: Done - r8801 > + PMC *iter = pmc_new_init(INTERP, PyBuiltin_PyIter, SELF); > - if (!((List *) PMC_data(SELF))->length) ~~~~~~~~~ > + if (!((List *) PMC_int_val(SELF))) Bogus. Changed to !SELF.elements() leo You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Thu, 04 Aug 2005 08:12:23 +0200
Local: Thurs, Aug 4 2005 2:12 am
Subject: Re: urgent parrot bug / PR opportunity
Michal Wallace wrote: ==17366== valgrind's libpthread.so: IGNORED call to: pthread_attr_destroy > And wouldn't you know it... A bug on the parrot > side cropped up out of nowhere to break them! ==17366== Invalid read of size 4 ==17366== at 0x43D5123E: Parrot_PyTuple_get_iter (in /home/lt/svn/parrot/leo/runtime/parrot/dynext/python_group.so) ==17366== by 0x8115576: Parrot_iter_p_p (ops/experimental.ops:231) Unfortunately valgrind doesn't show line numbers from the shared lib, leo You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||
| Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy |
| ©2009 Google |