% TonyC has left TonyC!~tony@202-154-105-237.people.net.au % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % nopaste has joined #parrot % iblechbot has joined #parrot % davidfetter has left davidfetter!~davidfett@start.fetter.org r26587 | fperrad++ | trunk: : [Lua] PAST-pm deprecation : - test_lex uses PCT/PAST diff: http://www.parrotvm.org/svn/parrot/revision?rev=26587 % wknight8111 has joined #parrot % skv has joined #parrot % kj has joined #parrot r26588 | fperrad++ | trunk: : [Lua] : - fix POD diff: http://www.parrotvm.org/svn/parrot/revision?rev=26588 % TonyC has joined #parrot % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net % ruoso has joined #parrot % dalek has left dalek!dalek@feather.perl6.nl % dalek has joined #parrot % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net test of self-flood prevention test of self-flood prevention test of self-flood prevention test of self-flood prevention test of self-flood prevention test of self-flood prevention test of self-flood prevention oh good, it works for separate messages % skv has left skv!~skv@87.242.97.68 oh, dalek still knows the branch. excellent. % particle has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-197-18.dynamic.mnet-online.de % wknight8111 has joined #parrot particl1: hio hey there harumph, my nicks switched particl1: good morning! morning jackass purl's not too nice today... purl often seems to be that way towards my comments... for example pmichaud: huh? hello, all morning, all oh, I guess they're gone :-) good. * pmichaud spits at purl. good morning pmichaud :) % kid51 has joined #parrot % iblechbot has joined #parrot % lidden has left lidden!~stefan@puce.campus.luth.se % lidden has joined #parrot % skids has joined #parrot % gryphon has joined #parrot * Coke wonders if he ever opened a ticket about the smoke. Any smoke in particular? % particle has left particle!~JGay@32.136.56.254 go here: http://smoke.parrotcode.org/smoke/ :: look at the last visible text on the screen. (the coda is in the wrong spot. removing it breaks the coda test, putting somewhere else might fail the coda test. (not sure.) (if so, the coda test should probably be smarter.) Yup, that's been there for a long time. I have an RT open which calls for revamping the smoke reports, but it didn't include that particular. ah. moving it just before the __DATA__ block is fine, codingstd test still passes. ... whoops, wrong coda test, moment... r26589 | coke++ | trunk: : [codingstd] : Move the perl coda out of the DATA segment: in there, it's visible : on the server in the HTML. This file continues to pass the codingstd test. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26589 dalek, you on a hair trigger there? dalek polls the rss every 30 seconds % kid51 has left kid51!~jkeen@toronto-hs-216-138-231-37.s-ip.magma.ca /Users/coke/research/parrot/tools/util/gen_release_info.pl is missing the perl coda, if someone wishes for a quick win. oooo I think dalek is actually throttling its posts * diakopter high-fives Infinoid hearing no takers, I'll add the coda. Coke: I would've, but I don't have a commitbit. course, I haven't asked for one. % rdice has joined #parrot looking good so far r26590 | coke++ | trunk: : [codingstd] : remove unused 'use' diff: http://www.parrotvm.org/svn/parrot/revision?rev=26590 r26591 | coke++ | trunk: : [codingstd] : - add the perl coda to one file that didn't have it... : - ignore the perl6 files in nqp when running critic tests... : - perlcritic now passes all tests. Adding back to the default set of : codingstd tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26591 Coke++ # was wondering why perlcritic wasn't in that set already one disadvantage of the new system is that it doesn't force SVN::Web to precache the diff page. So the first (few) person(s) to hit it experience a few-second delay. you could always fork off a "fetch" process right after writing the log to the channel or right before, if you wanted to guarantee a clean precache hmm. "guarantee" is too strong a word. but if you don't fork, it could idle out like svnbotl did % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com % rdice has joined #parrot how long does it take to do the precaching? maybe fork off a precache, wait five seconds, then write log to chan probably depends greatly on the size of the diff we don't need *immediate* notification of changes. :-) think I'd prefer to make SVN::Web smarter so that it doesn't generate the same data multiple times in parallel r26592 | coke++ | trunk: : [codingstd] : Only generate diag output about this test if we're actually going : to run the test. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26592 if threads::shared stuff is valid in mod_perl, that should be pretty easy to do diakopter: that should reduce the overhead, right? hmm. different problem, but still useful. % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % turrepurre has joined #parrot % kj has joined #parrot % Theory has joined #parrot % peeps[work] has joined #parrot r26593 | coke++ | trunk: : [codingstd] : Relax one of the not-yet passing perlcritic rules slightly diff: http://www.parrotvm.org/svn/parrot/revision?rev=26593 % Theory has left Theory!~Theory@207.109.95.2 % jjore is now known as zz_jjore % zz_jjore is now known as jjore % Theory has joined #parrot % IllvilJa has left IllvilJa!~jilves@emea-netcache1.oracle.co.uk % kj has left kj!~IceChat7@ip565fd420.direct-adsl.nl % AndyA has left AndyA!~andy@82.152.157.85 % IllvilJa has joined #parrot % kid51 has joined #parrot Coke: ping pong Last night we had a Parrot/Rakudo build fest at Toronto.pm. I have lots of data to report. Some of it is build/test logs on OSes that we haven't seen before. sweet. Some of it is failures on OSes that we see all the time, together with some diagnoses. You gonna open some tickets to track progress and/or hit the list? Particularly for tracking by OS, I was thinking of opening them up as RTs rather than simply as posts to the list. certainly for the failures, ya. (there is an "what os did this happen on" setting as well. I think I'll open up one ticket, intended to be open-ended, which simply says "Secure user feedback on build-install." Then have other more specific tickets refer to that one. So the successful builds will close right away -- but we'll have a tag for that OS. The ones that failed will be bug reports. Okay? ... it's verbose, but fine. % Theory has left Theory!~Theory@207.109.95.2 thanks! If i'm interested in requesting a commit-bit, I have to fill out a CLA first, correct? it's a prereq to getting a bit, not to asking about it. =-) I would say anyone that gets accepted into SOC is probably going to get one (and branch to do their work in.) r26594 | pmichaud++ | trunk: : [tge]: : * Convert TGE to use Perl6Grammar and Perl6Regex instead of : deprecated pgc/P6Regex (RT#48028). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26594 r26595 | pmichaud++ | trunk: : [json]: : * Convert JSON to use Perl6Regex and Perl6Grammar instead of the : deprecated P6Regex and pgc tools (RT#48028). diff: http://www.parrotvm.org/svn/parrot/revision?rev=26595 seen js? I haven't seen 'js', Coke. There are too many close matches to list. seen kj? kj was last seen on #parrot 5 hours and 32 minutes ago, saying: purl's not too nice today... % contingencyplan has joined #parrot % chromatic has joined #parrot pmichaud, ping % contingencyplan has left contingencyplan!~contingen@cpe-76-186-27-146.tx.res.rr.com chromatic: pong I'm updating Pheme to use P6Regex; any advice? the biggest thing is to remember that non-word characters all require quoting Or Perl6Grammar, whichever it is. How about the quote token? normally it's commas, quotes, and hyphens that get overlooked checking it needs to be backwhacked token quote { \' } and the semi in token ws should be quoted or backwhacked the only other item is that any old-non-capturing rules become <.ws> in the new syntax Ah, I missed the semicolon. Everything else I had. I don't see much else in the pheme grammar that needs convering Scheme wins one. in the makefile, just change pgc.pir to use runtime/parrot/library/PGE/Perl6Grammar.pbc and it'll compile to the Perl6Regex syntax Already done. that should be about it, then :-) Thanks! r26596 | chromatic++ | trunk: : [Pheme] Converted grammar from pgc to Perl6Grammar. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26596 % Psyche^ has joined #parrot % contingencyplan has joined #parrot is there a parrot libray that does the equivalent of a perl6/unix unlink(). or system() as a cop out? % Patterner has left Patterner!~Psyche@e177227052.adsl.alicedsl.de % Psyche^ is now known as Patterner r26597 | pmichaud++ | trunk: : [nqp]: : * Add some useful operators such as ++, --, <, <=, >, >=. : * Patch courtesy Klass-Jan Stol <parrotcode@gmail.com> (kjs++) : * (some Pm modifications to patch before applying) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26597 diakopter: might want to remove html escapes from the log message... s/remove/unescape/ Infinoid: I bet that's an option in XML::RAI % slightlyoff has joined #parrot maybe not I don't see one in XML::RSS::Parser (its backend) either HTML::Entities it is, then :] you sound like you know what you're doing :P % dalek has left dalek!dalek@feather.perl6.nl % dalek has joined #parrot Ooh, we haz new SVN bot? it's a teency bit smarter % ruoso has left ruoso!~ruoso@195.23.92.2 I HAS A NEW_SVNBOT actually, i don't have one, but it isn't valid lolcode to say that YOU HAS one well hmm. why isn't it getting 26598 Although perhaps it should be! heh "YOU HAS" == export r26599 | jonathan++ | trunk: : [rakudo] Start sticking in some bits of file I/O. open, which returns the new IO object, and has methods .print, .say and .close. prefix:= added too, but looks like Parrot IO iterator maybe isn't done yet. It's a start, anyway. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26599 diakopter: It looks like it missed my previous patch. WHERE'S MY KARMA?! :'( jonathan++ jonathan++ jonathan++ Phew! karma plus interest :) plus interest :) has neutral karma karma jonathan jonathan has karma of 444 karma wknight8111 wknight8111 has karma of 7 yay! positive integer! karma cotto cotto has karma of 1 karma cotto_home cotto_home has karma of 1 karma cotto_work cotto_work has neutral karma I must've killed it right after it logged the grabbing of 26598, but before it posted it to the channel probably. Really? Probably? Are you Certain it's not certain? Are you sure it's unsure? I think you need to look harder. purl: you sound like a volunteer Infinoid: i'm not following you... purl: then lead! Infinoid: sorry... That's a palindromically pleasing number. I'd best not check in anything else. or check in 10 things at once svnbotl got confused by lots of checkins at once, but dalek won't :) Cool. :-) Ah well, that at least gets the start of some I/O support for Rakudo. awesome jonathan++ # to annoy him into making 9 more checkins Well, got a wedding tomorrow and seeing friends tonight and on Sunday, so probably not any this weekend. I'm hackathoning next weekend though. :-) OK, gotta go, happy hacking. seeya! Okay, anyone feel like talking to me about this getattribute thing? What about it? pmichaud++ chromatic++ # ripping more stuff out. jonathan++ Nevermind, that does work as I expected. I wish I could hackathon all weekend. real life is the pits how do I generate a .pbc from a .p6 file? the -o seems ununplemented. And getting a pbc from a pir file generated by --state=pir gets me "No such called depth" cognominal: ../../parrot perl6.pbc --target=pir foo.p6 | ../../parrot -o foo.pbc - untested. =-) Do we have any IMCC hackers about? wondering if we can a patch for 48024 so we can see how close we're getting. Most of the usages of that syntax have been ripped out. ok , one must gives the -o foo.pbc before the foo.pir. makes sense. seen allison allison was last seen on #parrot 17 days ago, saying: jonathan: yes, it's there now [Mar 11 12:56:49 2008] Coke, I can't find anything specific to IMCC which parses them specially. I think they're macros. r26600 | coke++ | trunk: : [json] : RT #52200 : Use the more natural rule name 'value' instead of 'thing', : now that it works. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26600 ... Doh. % iblechbot has left iblechbot!~iblechbot@ppp-62-216-200-192.dynamic.mnet-online.de that ticket really means "remove the new_p_i" opcode. and new_p_i_p, presumably. But something in IMCC parses it. the .Integer ? yah, but I can remove the opcodes separately. (trying that now.) only one thing in the build depended on it (src/pic.c), struck that... r26601 | tene++ | trunk: : Fix lolcode for functions that don't have parameters. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26601 Okay, wtf, did I stop working on lolcode before I actually finished what I was trying to do? Could what was there have ever actually worked? Still doesn't actually work for functions that *do* have parameters. pretty sure it did at one point yes. I blame the merge back of the pmc stuff. at one point, at least most tests passed... but it's probably quicker to fix them to figure out when they broken. :| % iblechbot has joined #parrot # Failed test 'no trailing whitespace' # at t/codingstd/trailing_space.t line 50. # Trailing space or tab char found in the following files: # /home/coke/sandbox/parrot/languages/perl6/src/builtins/io.pir 110 "coke" at 72.228.52.192 pasted "test results of removing new_p_i and new_p_i_p .." (11 lines) at http://nopaste.snit.ch/12590 That's not bad at all. I wrote a >100-line messy pir routine without any comments? * Coke fixes one of those. r26602 | coke++ | trunk: : new_p_i is [DEPRECATED], remove it. : diff: http://www.parrotvm.org/svn/parrot/revision?rev=26602 dalek, you can ignore trailing blank lines, you know. if that's our biggest complaint for a plugin that's less than 24 hours old, we're doing well :) Infinoid++ # ok, sheesh. =-) chromatic: looks like t/pmc/pmc.t can just remove all the tests that use new_p_i, since they're testing behavior of *that* opcode. (but I won't commit that just yet.) Yeah, that's about the last one to commit. hurm. I assume find_type_i_p is also deprecated by this. is that a reasonable assumption? Aha, found it in IMCC. Coke, play with that patch and you'll find some targets for optimizations. r26603 | coke++ | trunk: : new_p_i is [DEPRECATED], remove it. i already had it that way, dalek. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26603 * Infinoid blinks * Coke feeds the bot, even with commits. botsnakc botsnack :) which patch, the one from a few days ago? yah. chromatic: http://www.coleda.com/tmp/remove_new_int.diff % kid51 has left kid51!~jkeen@toronto-hs-216-138-231-37.s-ip.magma.ca chromatic: ah, *that* patch. danke. The nice part is that it removes code from IMCC. The sad part is that it doesn't remove more. make ww applying that to my work in progress... Okay, the big problem was that I apparently reorganized the grammar a bit in an older commit and never fixed the actions to match. chromatic: Excellent, yes, this will let me do some major cleanups. % sjansen has joined #parrot r26604 | tene++ | trunk: : Fix the last test failure. : Add tests for functions that have parameters. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26604 ... oh, right, I have to do extra things when I add a new file. I'll remember that eventually. r26605 | tene++ | trunk: : Fix MANIFEST. I'll remember this someday. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26605 anyone know what the right way to do: .const .Sub temp = "_default_combiner" is, without ".Sub" ? pdd19 includes the line: .const .Sub $P0 = "_sub_label" yes, but .Sub is going away, so... =-) '.const .sub foo = "_..."' appears in many places in the tree. What does it do now anyway? Okay, looks like I've got another hour left before this exam is over, and I've closed the lolcode ticket. give that man another ticket! ... or did you want a kewpie doll this time? Heh. obtw, my laptop screen died again. I can't get it to come back up by plugging in an external monitor anymore. r26606 | coke++ | trunk: : [codingstd] avoid trailing whitespace diff: http://www.parrotvm.org/svn/parrot/revision?rev=26606 "coke's laptop repairs"-- chromatic: there, cleaned up the ones that come first in the build process before the first .const .Sub. =-) r26607 | coke++ | trunk: : use of type ids (e.g. ".Integer") is [DEPRECATED] : Avoid using them in some PIR modules. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26607 Does .const 'Sub' not work? error:imcc:syntax error, unexpected STRINGC, expecting INTV or FLOATV or STRINGV or PMCV (''Sub'') Hm. % GeJ_ has joined #parrot I'll poke at that shortly. % turrepurre_ has joined #parrot sehr gut. I am wondering why we're using that, rather than just a runtime find_ Maybe it gets optimized into the bytecode. % szbalint_ has joined #parrot % Psyche^ has joined #parrot % jq- has joined #parrot % iblechbot has left iblechbot!~iblechbot@ppp-62-216-205-242.dynamic.mnet-online.de % Patterner has left Patterner!~Psyche@e177234088.adsl.alicedsl.de % turrepurre has left turrepurre!~chatzilla@90-229-128-103-no52.tbcn.telia.com % TonyC has left TonyC!~tony@202-154-105-237.people.net.au % nopaste has left nopaste!~opaste@202-154-105-237.people.net.au % GeJ has left GeJ!~geraud@edna.nealab.net % ruz has left ruz!~cubic@85.112.113.222 % lathos has left lathos!~simon@morison.arjam.net % jq has left jq!~jquelin@merlin.mongueurs.net % MagNET has left MagNET!MagNET@Hunger.hu % szbalint has left szbalint!comet@dev.perl.hu % Psyche^ is now known as Patterner % daxelrod has joined #parrot well, if we have to convert them to runtime lookups to remove the .Foo, c'est le vie. I'm not sure what they're doing. ok. i think I have all the .Foo stuff in library removed modulo .const .Sub, commit to following pending a test run.... but later. next is compilers/ % ruz has joined #parrot (i'm using make in the patched version to find the stumbling blocks, copying the edited files over to a pristine parrot, and then testing from there, and just commenting out any use of .const .Sub to get the thing to build in original working copy.) ... nothing but net. more of a "does that seem like a reasonable approach." ^_^ I'd generate and apply a patch instead of copying files, but six of one... % japhb has joined #parrot % nopaste has joined #parrot r26608 | coke++ | trunk: : use of type ids (e.g. ".Integer") is [DEPRECATED] i already had it that way, dalek. : Avoid using them in some PIR modules: especially when checking for Undef, : better to use the opcode than the explicit type check. : (also fix one grammar-o in a comment) diff: http://www.parrotvm.org/svn/parrot/revision?rev=26608 -> later % TonyC has joined #parrot can we use .include (or something similar) in grammar and NQP files? As inline PIR perhaps. I don't believe PGE or NQP support that yet. okay, that's what I thought thanks ... oh, that isdecl() change I made to lolcode is probably wrong. I need to remember to test that when I get home. % MagNET has joined #parrot % rdice has left rdice!~richard_d@CPE0014bfafbbd5-CM0011e6ecf48a.cpe.net.cable.rogers.com Yep, wrong. The two easy choices I can see are "empty redeclaration stomps on the old value" and "declaration without assignment is an error" I'm unsure how to get the "empty redeclaration doesn't stomp on the old value" behavior currently tested for while still allowing declaration without assignment. % skids has left skids!bri@charon.clarku.edu NCI/extending question: How can C code (called as NCI from PIR, *not* an op) get the current interpreter? Yes, I could have the PIR code do '$P1 = getinterp; myfunc($P1, real_args ...)' everywhere, but that seems ugly -- especially as getinterp returns a PMC-wrapped interp, so all of the C functions need to unwrap it. Unless you pass the interpreter as an argument, you can't. (without performing evil magic I won't guarantee will work) chromatic: er, why not? You'll have to root around in the call stack to find a likely pointer. Since the C code is called synchronously from PIR, the interp is guaranteed to be the same (no problem with current interp getting swapped out from under it) Is there really no current interp anymore? "the same" as what? Perhaps I'm misunderstanding your question. 1) you have a C function which does not take the interpreter or anything which contains the interpreter as an argument 2) you invoke that C function through NCI % davidfetter has joined #parrot 3) within that function, you want a pointer to the interpreter which invoked that C function through NCI Is that the question? yes That's the same question as "How do I use the equivalent of Tcl's upvar in C?" Like I said, manually passing the current interpreter from PIR through NCI will certainly work, it's just ugly. It's not uglier than the alternative, sadly. ah well, OK then, thanks You're welcome! I mean, I can imagine ways to do it, but none of them are robust and some of them are at least very platform specific. % Andy has left Andy!~AndyL@host3130.follett.com sounds like the sort of thing TLS was invented for, but that doesn't make TLS any less ugly It's just a global variable by any other name. % daxelrod has left daxelrod!~daxelrod@pikachu-33.dynamic.rpi.edu % davidfetter has left davidfetter!~chatzilla@start.fetter.org eh... it's a different kind of scope. I got to learn all about it when working on some threaded p5 xs stuff, and I still have scars from that. a C library being called from one parrot interpreter, which has wired a callback into another parrot interpreter, would break gloriously with TLS-stored interpreters % peeps[work] has left peeps[work]!~peepsalot@bwext.kpimdp.com % lathos has joined #parrot % skids has joined #parrot % szbalint_ is now known as szbalint % mmcleric has joined #parrot % slightlyoff has left slightlyoff!~slightlyo@204.14.154.209 % sjansen has left sjansen!~sjansen@hq-nat2.gurulabs.com % sirstan has joined #parrot % sirstan has left sirstan!~graham@host86-129-217-149.range86-129.btcentralplus.com (.Sub versus find_): the reason for using const .Sub is because it's the only way to get the address of an :anon subroutine at compile time. If a subroutine is marked :anon, then you can't do a runtime lookup s/address/PMC % tetragon has joined #parrot % Limbic_Region has joined #parrot % Theory has joined #parrot % mmcleric has left mmcleric!~chatzilla@213.148.16.237 % lathos has left lathos!~simon@morison.arjam.net % mmcleric has joined #parrot I've been having make test failures with Parrot from svn, some of which involve SIGBUS, some of which don't. I killed the test suite shortly after the imcc tests (which where the ones crashing hard were), and was wondering about a starting point for tracking some of that stuff down % gryphon has left gryphon!~gryphon@dsl-209-221-185-54.zipcon.net A backtrace would help. So, where's the preferred pastebin? My system traps those things nopaste? hmmm... nopaste is at http://nopaste.snit.ch/ (ask TonyC for new channels) or http://rafb.net/paste or http://paste.husk.org/ or http://poundperl.pastebin.com/ or http://paste.scsys.co.uk/ or don't bother me while I'm eating "tetragon" at 206.248.175.68 pasted "CrashReporter log for one SIGBUS of a few" (73 lines) at http://nopaste.snit.ch/12591 Can you run the failing program with parrot -t and correlate it to a line or two of PIR or PASM/ It's part of the test suite I can try to determine one of the crashing bits of code I have three other traces from today, they aren't all the same Is this a fresh checkout? Yes I've identified one of the crashing tests No previous builds in this directory? I can redo it in another directory Getting it to build on this system is a bit on the interesting side to begin with Sometimes we get strange errors if we invalidate bytecode and rebuild without cleaning out already-generated bytecode. % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net One of the SIGBUS tests is test 32 of t/compilers/imcc/syn/macro.t * tetragon is waiting for another tree of parrot to finish downloading It both failed the test in terms of output and in terms of crashing Parrot should never crash. That's the part that concerns me the most. I can paste that instances prove -v output and the trace % rdice has joined #parrot SIGBUS on a copy I pulled out of svn a few minutes ago % AndyA has joined #parrot % skids has left skids!~bri@c-71-233-204-100.hsd1.ma.comcast.net * Infinoid watches everything break with "make -j" again someday, I will Do Something about that Fixing the .str generation should do it. It's race condition city in there. first time around, got a missing headerfile. second time around (this time with just "make"), it built but got a "Null PMC access in invoke" later on I am highly motivated at the moment, lets see if I can wrap my head around it I identified one of the other SIGBUS-causing tests Although, that one does mention "TODO segfaults" awesome. The test even passes because it's marked TODO which test? That one is t/compilers/imcc/syn/regressions.t (Only has one test) segfaults here too Right now I'm trying to find a crashing test that isn't marked TODO pmichaud: (.const sub, anon) - there are a LOT of cases where this syntax is used on a non-anon sub. % mmcleric has left mmcleric!~chatzilla@213.148.16.237 Although, I fail many cases without crashing Coke, I've almost fixed that in IMCC. * Coke returns, nearly human. My build seems to be putting noops in places the test script isn't expecting any tetragon: has anyone suggested "make realclean" to you yet? any local diffs? This is straight off of svn We went through that, Coke. roger roger. roger roger is what those silly combat-droids say in Star Wars. purl, scooby snack! Rank roo, Coke! chromatic: pick a number from 1 to 10. okay. was it 7, +- 1? It was 4. well, there's my problem. What, that you can't read minds? we need an rt# for that ah, excellent choice. thank you. * Coke should probably do something other than random number generator for selecting an injection site. chromatic: pick a number from 1 to 10. Okay. was it 7, +- 1? It was 2.4 yah. definitely need a better scheme. 4 would have been funnier, though. * Coke sees what else he can rip out of parrot. pmichaud: if you just want to *invoke* the anon, you can do it by name. One of the crashing test scripts is t/op/01-parse_ops.t can you nopaste the output of prove -v t/op/01-parse_ops.t ? % wknight8111 has left wknight8111!~nobody@c-71-230-33-251.hsd1.pa.comcast.net There is nothing unusual in prove's output if it's not unusual, how is it crashing? All the tests pass But parrot is crashing ... so it's crashing, but it's passing all tests? and prove -v shows you nothing unusual? That's right for TODO tests, that's fine. (ish) It's not a TODO test ok. which if the 335 tests is crashing? s/if/of I'm not sure yet Is each test a separate parrot process? * Coke peeks at that file... yes. Infinoid: http://rafb.net/p/Uqc0iZ64.html you can run them individually : r26609 | infinoid++ | trunk: : [lolcode] languages/lolcode/t/06-functionparams.t: : fix up svn metadata to pass t/distro/file_metadata.t diff: http://www.parrotvm.org/svn/parrot/revision?rev=26609 spooky damn I'm good. Coke: Then it's either 334 or 335, going by the pause as the crash reporter gather's its data t/op/01-parse_ops_150.pasm, e.g. so, ./parrot t/op/01-parse_ops_150.pasm lemme know which one crashes. Coke, new patch for RT #48024 submitted. It's 335 I can paste the stack trace freaky. if I run it from the command line, it segfaults here, too, but my test harness doesn't seem to care. Which, 334 or 335? 335 334 seems fine Only reason I notice is that OS X pops up a stack trace whenever anything dies in an untoward manner Hm, me too. Interesting. hurm. it's "end\nyield". tetragon: heh. I shut that off at some point. =-) I can see why it passes, no expected output. tetragon: can you open a ticket for us to track this on? parrotbug? parrotbug is mailto:parrotbug@parrotcode.org or http://svn.perl.org/parrot/trunk/docs/submissions.pod Ugh: 0xb7ec987f in INS (interp=0x804f008, unit=0x8240fd8, name=0x824e410 "yield", fmt=0x0, r=0x8240468, n=0, keyvec=0, emit=1) at compilers/imcc/parser_util.c:749 749 IMCC_INFO(interp)->cur_unit->instructions->symregs[0]->pcc_sub->calls_a_sub basically just "./parrot t/...." segfaults. stack trace would be nice. but not entirely necessarily, since chromatic is already 1 step ahead of us... chromatic: I thankfully am ignorant enough not to know why that's as ugly as it is. Try figuring out which one of those is an invalid pointer. I bet xcode's GUI gdb could tell you. ... if I knew how to use it. hey, tetragon... ;=) Yes? I think you lick the screen until the colorful candy buttons do something. chromatic: they use lsd in the phosphors. In my experience, it's more curse the candy buttons and drop down to the terminal tetragon: just wondering if you were familiar enough with xcode to use the nice builtin debugger which would might tell us which of those structures was dead. but based on your last send, guessing no. I can try... but I've never really dealt with any of the graphical tools other than Quartz Composer * tetragon pulls out Instruments Argh... it really is designed for a larger screen than my laptop has chromatic: I wonder if it might be easier for us to have this patch conversation in a branch. "chromatic" at 63.105.17.30 pasted "Fix t/op/01-parse_ops_335.pasm segfault" (15 lines) at http://nopaste.snit.ch/12592 The deprecate_me_harder branch? BWAHAAHAHA I finally convinced gmail and feather to get the damn patch applied. but nah, this patch to remove the .FOOs can be done independently of killing the things that use them. Some can and some can't. The .const .Sub change needs parser support. which is not covered in your patch? % Theory has joined #parrot hey, your patch removes a XXX from imcc. nice. My second patch adds parser support. Which is the XXX? - /* XXX: free valp->s if already used? Sounds like a good idea, */ Ah, nice. Here's my results after running make test with your patch: - /* XXX: free valp->s if already used? Sounds like a good idea, */ er, Files=560, Tests=11071, 273 wallclock secs ( 0.80 usr 1.27 sys + 127.63 cusr 38.83 csys = 168.53 CPU) Result: FAIL Failed 12/560 test programs. 22/11071 subtests failed. Sounds like mine. A few other PMC constants to clean up. % skids has joined #parrot Coke: In PGE I don't want to invoke the .Sub immediately -- I need to store it somewhere so it can be invoked later k pmichaud, don't worry; we saved the semantics (if not the syntax) I'm not tied to the syntax. :-) But I definitely do need the ability to grab the PMC for anonymous subs in the current impl of PGE It'll stick around. chromatic: Ok. this looks good enough here, that I think combined with my patch, we might able to knock this out this weekend. why don't we branch so we can rip it all out and see how it looks. Be my guest! k. chromatic++ Coke++ I had to patch a parser. I don't deserve to have to create a branch. I need to grab some dinner... bbl bungee-pumpking ok. but we'll make someone else merge it to trunk when we finish. one, two, three NOT IT NOT IT! * Coke goes back through the buffer... patrick. ha! particle mailto:jerry.gay@gmail.com ??? If you're not used to it now, Patrick... sheesh! * pmichaud (totally lost) this looks right, neh: svn copy -r https://svn.perl.org/parrot/trunk https://svn.perl.org/parrot/branches/type_ids -m "Creating branch to try to remove type ids" s/try to // I don't think you need the -r oh wait, maybe you do no, you're right. -r needs a revision. like HEAD. or you can leave it off. see, good thing I checked. Decapitate that command! ... orf with it's HEAD? okay, I really need dinner. bbiaw AGIH! its! damnit. * Coke goes to boil his fingers. r26610 | coke++ | type_ids: : Creating branch to remove type idse diff: http://www.parrotvm.org/svn/parrot/revision?rev=26610 idse? bidse spider? o/` LADIES AND GENTELMEN! Goobity coo coo goo coooooo! Goobity coo coo goo coooooo! Spider (he is our hero) Spider (get rid of) Spider (STEP ON SPIDER!) Spider (we love you spider) I promise not to kill you (awwwwwwwwwwwwwwwwww) Spider (we love you spider) Spider (get rid of) Spider (must... stop) Spider (he is our hero) awwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww o/` Huh. I recognize that song. ... where the hell did the e come from? * Coke checks his slide rule. the command line ended in ... type ids"e * Coke blames tachyons. % rdice has left rdice!~richarddi@CPE001217e365c7-CM00159a01d44c.cpe.net.cable.rogers.com r26611 | coke++ | type_ids: : Remove IMCC support for the generated type IDs, ala: .Integer : Change .const .Sub syntax to .const 'Sub' : Courtesy chromatic++, RT #48024 diff: http://www.parrotvm.org/svn/parrot/revision?rev=26611 hey waitaminute commit sniper r26612 | chromatic++ | type_ids: : [src] Removed an unrelated change accidentally commited in r26611. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26612 As for another crash on a non-TODO test, test 61 of t/pmc/namespace.t It also doesn't cause any failures visible in prove -v output tetragon, did my nopaste from a few minutes ago fix the previous crash for you? Haven't tested yet, was waiting for a clean tree to copy across chromatic: sorry. :| don't worry about it I'm just glad I didn't have to create a branch AND patch a parser. =-) ./parrot t/pmc/namespace_61.pir doesn't crash, to trigger it you also need to pass in -O/ chromatic: I think I got the easy half. Looks like it. Haven't heard any object really about the revision thing. should also be able to rip that out this weekend. % lathos has joined #parrot r26613 | coke++ | type_ids: : Rip out the variants of the new opcode : that let you create a pmc based on an integer type. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26613 r26614 | chromatic++ | type_ids: : [t] Replaced some uses of PMC type ids with PMC names. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26614 Test 3 of t/dynoplibs/myops.t crashes without causing any failures visible to prove Confirmed. Can you file bugs for these? I'm moving the crash reports off to the desktop with mail Right now the build testing the patch is happening chromatic: I don't see any salvaging of the current incarnation of t/op/info.t I haven't looked yet. if you concur, feel free to rm it. I already removed one test in t/pmc/fixedpmcarray.t working on the Continuation tests now. the t/pmc/pmc.t test is relying on the typeof_i_p opcode which has to be defunct. once I get the ok, I can rip out those opcodes, too. (and then a whole other bunch of tests.) r26615 | chromatic++ | type_ids: : [t] Fixed two more tests which relied on type ids. : One of the FixedIntegerArray tests specifically tested an opcode which uses : type IDs, so it's gone now. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26615 % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.mn.comcast.net r26616 | coke++ | type_ids: : Update some "new Integer" syntax that got missed. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26616 chromatic: Patch stops the failure of test 335 of t/op/01-parse_ops.t chromatic++ # all the hard work on the type ids. Hey, you started it. Yes, but I never could have finished it. Thanks. Alright. I'm going to go sleep, and hope the Architect fairy answers my question by the time I have the computer to myself for a few hours again. What does the option '-O/' mean to parrot? I think it's an error, but I'm not sure. It's being passed into it in t/pmc/namespace.t r26617 | chromatic++ | type_ids: : [t] Removed PMC type ids from remaining failing tests. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26617 Test 61 crashes with -O/, and works without What's passing in -O/? Something, I'm trying to track it down r26618 | coke++ | type_ids: : [docs] minor cleanups to the book elminating some dead syntax. diff: http://www.parrotvm.org/svn/parrot/revision?rev=26618 % Andy has joined #parrot I see why parrot is being passed -O/ The optimization flag is being determined based upon the filename I keep my source trees in /opt That results in it pulling the / out of the test script's path instead of the intended behaviour of pulling it out of the filename (of which a few are of the form required for this) (See lines 773 - 786 of lib/Parrot/Test.pm for details) % Limbic_Region has left Limbic_Region!~Limbic_Re@c-68-49-236-220.hsd1.md.comcast.net wow, that sounds like a nice hard-to-find bug tetragon++ And for final confirmation, I'm doing a build in /tmp * tetragon grumbles about having to fix the Makefiles on every tree % cout_ has left cout_!~cout@c-68-58-247-49.hsd1.sc.comcast.net huh. make -j2 apparently worked as of r21613 % cout has joined #parrot ...and r26309 broke it (that was the pdd17pmc branch merge) Bleh. Try debugging something in *that*. * Infinoid starts by stripping out all the changes except for Makefile and c2str stuff * Infinoid fails horribly * Infinoid starts bisecting in the pdd17pmc branch history, instead ~. % AndyA has left AndyA!~andy@82.152.157.85 % AndyA has joined #parrot % mncharity has joined #parrot % mncharity has left #parrot % Theory has joined #parrot % peepsalot has left peepsalot!~peeps@cpe-67-9-161-48.austin.res.rr.com % peepsalot has joined #parrot % Theory has left Theory!~Theory@c-24-21-175-208.hsd1.or.comcast.net % tetragon has left tetragon!~seneca@206-248-175-68.dsl.teksavvy.com % Student has joined #parrot % Student has left Student!~Magical@5ac86067.bb.sky.com % tetragon has joined #parrot % drbean has left #parrot and (of course) the change that broke "make -j2" is buried within a set of 400 revs that don't build Most of those should have built. Most of them built for me anyway. % Andy has left Andy!~Andy@64.81.227.163 So, when running make test from /tmp (not /opt), I now get only seven crashes, and they're all on tests marked TODO Hm. I'm getting a 'make' failure that I wasn't getting earlier. * Tene fresh-checkout.