Camelia, the Perl 6 bug

IRC log for #parrot, 2011-06-09

Parrot | source cross referenced

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
00:01 plobsing joined #parrot
00:03 theory joined #parrot
00:07 theory left #parrot
00:12 plobsing left #parrot
00:15 plobsing joined #parrot
00:24 whiteknight nqp doesn't appear to generate 'file' annotations
00:24 whiteknight I only see 'line' annotations
00:27 whiteknight pbc_merge seems to kill annotations
00:29 cotto_work lta
00:29 whiteknight if I compile all my winxed files down to pbc individually, and pbc_merge them together, the resulting bytecode files don't contain annotation information
00:29 whiteknight but if I compile down to pir, concat together the pir, and compile that to bytecode, it does have annotation information
00:32 plobsing ~~
00:32 mikehh ok I have a weird one - rakudo test.pir fails in the build with --optimize in both i386 and amd64 BUT builds without --optimize
00:33 cotto_work whiteknight: it doesn't load annotations.
00:39 nopaste "mikehh" at 192.168.1.3 pasted "rakudo test.pir fails to builkd in --optimize builds" (27 lines) at http://nopaste.snit.ch/50775
00:41 mikehh it failed --optimized builds with gcc and g++ on Ubuntu 11.04 i386 but build with g++ without --optimize on both i386 and amd64
00:48 cotto_work mikehh: thanks for finding that.  It looks like it's my fault and related to something fperrad++ found in lua too.
00:54 mikehh cotto_work: sorear said that jnthn__ thought that it was a missing write barrier
00:54 cotto_work mikehh: it works fine when I revert my change
00:56 cotto_work looks like there's a strong correlation.
00:56 mikehh you could say that :-}
00:57 cotto_work I'll get my reverting hat.
01:03 davidfetter left #parrot
01:03 cotto_work oh.  there it is
01:03 whiteknight NotFound:
01:03 whiteknight NotFound: ping
01:03 sorear mikehh: for me, it manifested as a segfault
01:04 dalek parrot: a680d04 | cotto++ | src/call/pcc.c:
01:04 dalek parrot: Revert "add experimental fix for a bug found by jnthn++"
01:04 dalek parrot:
01:04 dalek parrot: This reverts commit ee17ddde9f878e9d90a896cefcf871bceea27824.
01:04 dalek parrot: review: https://github.com/parrot/parrot/commit/a680d04306
01:09 cotto_work sorear: are you on x86 or x86_64?
01:09 whiteknight NotFound: unping
01:12 sorear cotto_work: yes
01:12 sorear (x86 specificaly)
01:13 cotto_work sorear: ok.  I haven't seen that bug on x86_64, which makes me suspicious.
01:13 sorear I haven't tested in over a week.  Might not be the same issue at all
01:27 mikehh cotto_work: that worked, rakudo builds ok now, running tests
01:28 dalek Rosella: f04d754 | Whiteknight++ | s (2 files):
01:28 dalek Rosella: the bootstrapped setup.winxed fails after recent winxed updates. Add some functions for getting a friendlier backtrace using annotations
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/f04d754c5c
01:28 dalek Rosella: 2ec8d8d | Whiteknight++ | src/test/Builder.winxed:
01:28 dalek Rosella: Change Test.Builder to use the new backtrace functions so test failure reports are more pretty
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/2ec8d8dcd5
01:28 dalek Rosella: a8d979a | Whiteknight++ | setup.winxed:
01:28 dalek Rosella: pbc_merge doesn't keep annotations, so cut it out of the build. concat winxed files together, then compile down to pir and pbc. This preserves annotations in the generated .pbc files
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/a8d979a357
01:28 dalek Rosella: 4d922ca | Whiteknight++ | s (9 files):
01:28 dalek Rosella: move include_const declarations, where necessary, into 'header' files to prevent duplicates
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/4d922ca0ab
01:28 dalek Rosella: 177308a | Whiteknight++ | s (2 files):
01:28 dalek Rosella: fix problem with bootstrap and unnecessary 'using static'
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/177308a815
01:28 dalek Rosella: e090f6c | Whiteknight++ | / (2 files):
01:28 dalek Rosella: Add docs for Builder
01:28 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/e090f6c83b
01:28 whiteknight msg lucian I just pushed improvements to Rosella to print test failure backtraces using annotations. Should be nicer for you
01:28 aloha OK. I'll deliver the message.
01:29 whiteknight left #parrot
01:43 dalek nqp: 335b8f6 | pmichaud++ | / (2 files):
01:43 dalek nqp: Add support for "config.default" file to hold default arguments to Configure.pl.
01:43 dalek nqp: review: https://github.com/perl6/nqp/commit/335b8f67d5
01:46 dalek nqp: 57c3ba2 | pmichaud++ | Configure.pl:
01:46 dalek nqp: Update --help text to tell about config.default.
01:46 dalek nqp: review: https://github.com/perl6/nqp/commit/57c3ba2029
01:47 dalek parrot/m0-prototype: 7c6c1ce | cotto++ | src/m0/perl5/m0_assembler.pl:
01:47 dalek parrot/m0-prototype: remove some obsolete ops from the assembler
01:47 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/7c6c1ced7f
01:47 dalek parrot/m0-prototype: 62f35ce | cotto++ | / (2 files):
01:47 dalek parrot/m0-prototype: possibly make the calling conventions test work
01:47 dalek parrot/m0-prototype:
01:47 dalek parrot/m0-prototype: It seems to output what I expect it to, but the PC jumps around
01:47 dalek parrot/m0-prototype: suspiciously.
01:47 dalek parrot/m0-prototype: review: https://github.com/parrot/parrot/commit/62f35ce48f
01:51 mikehh looks like there may be segfaukts with rakudo, 4 tests fail - 3 with bad plan (did not complete)
01:52 mikehh just 1 reported sub-test failure
01:56 mtk left #parrot
02:02 mtk joined #parrot
02:32 dalek parrot: 9f6220f | jkeenan++ | t/ (2 files):
02:32 dalek parrot: Applying patch for both TT #2116 and TT #2118, in part based on patch by ligne++.
02:32 dalek parrot: review: https://github.com/parrot/parrot/commit/9f6220f54d
02:39 soh_cah_toa cotto: ping
02:44 soh_cah_toa actually, i guess anybody could help me
02:44 hudnix left #parrot
02:44 soh_cah_toa question about bitmasks/flags: when you "and" a bitmask w/ a value, what does that do? does that set the mask to the value? for instance, "foo & bar". does that set the bar flag in the foo mask?
02:44 sorear no
02:45 sorear quux = foo & bar # quux now contains all flags that are in BOTH foo AND bar
02:45 sorear & doesn't modify either argument
02:45 jsut_ joined #parrot
02:46 sorear are you comfortable with binary numbers?
02:46 soh_cah_toa yeah
02:46 soh_cah_toa i know my bitwise operators. though i've never actually applied them to anything other than school :)
02:48 soh_cah_toa so if i did "if (quux)" then that would check that the bar flag was set in foo?
02:50 jsut left #parrot
02:52 woosley joined #parrot
02:53 soh_cah_toa "or" would set a flag and if i wanted to un-set a flag i would "and" the bitmask w/ the inverse of the flag (e.g. foo &= ~bar)
03:30 jsut joined #parrot
03:35 jsut_ left #parrot
03:57 eternaleye_ joined #parrot
03:59 cotto ~
03:59 eternaleye left #parrot
04:01 cotto I have a spam from "Sofia Yak".
04:01 cotto On an unrelated note, I have a release name.
04:14 soh_cah_toa left #parrot
04:14 plobsing shaved spam?
04:15 cotto It's such a great name.
05:02 eternaleye_ is now known as eternaleye
05:33 cotto msg dukeleto If you have the tuits, the m0 assembler needs to be able to support labels in set_imm.  poke_caller is significantly harder to grok than it needs to be and that'd help make it more approachable.
05:33 aloha OK. I'll deliver the message.
05:33 * cotto sleeps
05:35 dalek parrot: 8e0711f | pmichaud++ | / (2 files):
05:35 dalek parrot: [nci]:  Fix NCI::Utils::ncifunc -- don't free up arguments to NCI until we've established the return value.
05:35 dalek parrot: review: https://github.com/parrot/parrot/commit/8e0711ff96
06:45 mikehh left #parrot
07:01 mikehh joined #parrot
07:10 dod joined #parrot
07:20 mj41 joined #parrot
08:29 janus left #parrot
09:06 ligne joined #parrot
09:07 benabik joined #parrot
09:13 AzureStone left #parrot
09:22 ambs joined #parrot
09:26 jsut_ joined #parrot
09:31 jsut left #parrot
09:33 AzureStone joined #parrot
09:35 woosley left #parrot
09:43 ambs moritz: ping
09:43 moritz ambs: pong
09:44 mtk left #parrot
09:44 ambs moritz: quick question: you know if chromatic hangs on any irc channel?
09:44 moritz seen chromatic
09:44 aloha chromatic was last seen in #parrot 117 days 15 hours ago saying "All of the core tests did pass for me, FWIW.".
09:45 ambs ok :P
09:45 ambs :D
09:45 ambs fair enough
09:45 moritz http://irclog.perlgeek.de/search.pl?chann​el=parrotsketch&nick=chromatic&q= seems he attends #parrotsketch more often recently
09:46 moritz ambs: but I think it's easiest to reach him by email
09:46 ambs @wgz, right?
09:49 ambs snet
09:49 ambs tr/ne/en/
09:50 moritz at wgz dot org
09:51 mtk joined #parrot
10:16 AzureStone left #parrot
10:20 AzureStone joined #parrot
11:17 dalek Rosella: 978a6b0 | Whiteknight++ | src/winxed/repl/View.winxed:
11:17 dalek Rosella: update Repl.View to use the new backtrace functions. Also, clean up the printing code
11:17 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/978a6b0f67
11:17 dalek Rosella: 74231ab | Whiteknight++ | t/proxy/builder/Immutable.t:
11:17 dalek Rosella: +stub test file for Proxy.Builder.Immutable
11:17 dalek Rosella: review: https://github.com/Whiteknig​ht/Rosella/commit/74231abd7f
11:25 contingencyplan left #parrot
12:15 ambs_ joined #parrot
12:15 ambs left #parrot
12:15 ambs_ is now known as ambs
12:31 whiteknight joined #parrot
12:34 whiteknight good morning, #parrot
13:30 hudnix joined #parrot
13:48 plobsing left #parrot
13:48 ambs left #parrot
14:00 hercynium joined #parrot
14:28 dukeleto ~~
14:29 dukeleto msg cotto can you show me example code of what you want set_imm to look like when it understands labels?
14:29 aloha OK. I'll deliver the message.
14:37 PacoLinux left #parrot
14:37 PacoLinux joined #parrot
15:02 whiteknight left #parrot
15:05 JimmyZ joined #parrot
15:06 dalek winxed: r1049 | NotFound++ | trunk/winxed_installed.winxed:
15:06 dalek winxed: use write to output feature in installed driver
15:06 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1049
15:11 dalek winxed: r1050 | NotFound++ | trunk/ (3 files):
15:11 dalek winxed: update installable files
15:11 dalek winxed: review: http://code.google.com/p/w​inxed/source/detail?r=1050
15:13 dalek parrot/with_winxed: a5ab390 | NotFound++ | ext/winxed/ (2 files):
15:13 dalek parrot/with_winxed: update winxed snapshot to r1050
15:13 dalek parrot/with_winxed: review: https://github.com/parrot/parrot/commit/a5ab3900f8
15:19 klavs joined #parrot
15:29 klavs left #parrot
15:47 cotto dukeleto, something like "set_imm I0, foo", where foo is a label and gets translated the same way as it would for goto.
15:48 dukeleto cotto: a full code sample would be best
15:49 cotto dukeleto, ok.  I think the best way to do it will be to separate out label, op and argument parsing.  I don't relish the idea of adding another special case to m0b_bytecode_seg
15:50 cotto It's ok if the assembler allows things that don't make sense, as long as it allows the ones that do.
15:51 cotto filtering out things like add_i I0, foo_label wouldn't be a bad idea though.
15:55 cotto actually, I see a problem with this approach
15:58 davidfetter joined #parrot
16:00 cotto dukeleto, https://gist.github.com/1017046 is what I'm thinking of, though that example wouldn't work because the goto is used incorrectly.  I'll update it later.
16:00 cotto dukeleto, if the set_imm part works, that's all I think I'll need.
16:04 dmalcolm joined #parrot
16:14 ligne left #parrot
16:24 cotto_work ~~
16:24 dodathome joined #parrot
16:25 ambs joined #parrot
16:40 klavs joined #parrot
16:40 cotto_work aloha: clock?
16:40 aloha cotto_work: LAX: Thu, 09:40 PDT / CHI: Thu, 11:40 CDT / NYC: Thu, 12:40 EDT / UTC: Thu, 16:40 UTC / LON: Thu, 17:40 BST / BER: Thu, 18:40 CEST / TOK: Fri, 01:40 JST / SYD: Fri, 02:40 EST
16:40 cotto_work good evening, klavs
16:41 klavs eoog evening, cotto
16:41 mikehh All tests PASS (pre/post-config, make corevm/make coretest, make world/make test, fulltest) at 3_4_0-182-g8e0711f
16:41 mikehh Ubuntu 11.04 i386 (g++)
16:44 bluescreen joined #parrot
17:11 mj41 left #parrot
17:18 dalek parrot/m0-spec: 37d00ea | cotto++ | docs/pdds/draft/pdd32_m0.pod:
17:18 dalek parrot/m0-spec: remove a couple of superceded ops from the m0 spec
17:18 dalek parrot/m0-spec: review: https://github.com/parrot/parrot/commit/37d00ea8a4
17:31 dalek nqp: 547c431 | pmichaud++ | / (2 files):
17:31 dalek nqp: Update --makefile-timing flag from nom (based on mberends++ patch in master).
17:31 dalek nqp: review: https://github.com/perl6/nqp/commit/547c4318f3
17:55 kurahaupo joined #parrot
17:57 kurahaupo left #parrot
17:58 mj41 joined #parrot
18:24 ambs moritz: \o-
18:24 ambs moritz: \o/
18:26 atrodo cotto_work> ping
18:27 JimmyZ_ joined #parrot
18:31 JimmyZ left #parrot
18:31 JimmyZ_ is now known as JimmyZ
18:40 cotto_work atrodo: pong (might be distracted)
18:41 atrodo cotto_work> I just noticed the commit on taking out free and alloc
18:41 atrodo cotto_work> I haven't had time lately to follow m0 and just wondered what spawned that
18:41 cotto_work atrodo: they're still there, just as sys_alloc, gc_alloc and sys_free
18:41 cotto_work and those ones are permanent
18:42 atrodo cotto_work> Ah, I see it now
18:43 JimmyZ left #parrot
19:02 whiteknight joined #parrot
19:02 dalek nqp: b02ce6f | pmichaud++ | tools/build/gen-cat.pl:
19:02 dalek nqp: Make tools/build/gen-cat.pl utf8 aware.
19:02 dalek nqp: review: https://github.com/perl6/nqp/commit/b02ce6f6ee
19:02 dukeleto cotto_work: can you explain to me in mere-mortal english words what "set_imm I3, do_print" in M0 is supposed to do?
19:03 whiteknight dukeleto: I assume set a pointer to "do_print" to the register I3
19:03 whiteknight rohit_nsit03: ping
19:04 cotto_work dukeleto: sure.  assume do_print is a label at a certain bytecode offset.  Take the number of that offset, convert it to a pair of immediate values ($a*256 + $b) and use $a and $b as the arguments to the op.
19:05 PerlJam cotto_work: what is the "m" in set_imm mnemonic for?
19:05 PerlJam or is it just "imm" == immediate?
19:05 cotto_work dukeleto: so if do_print is a label at offset 42, the arguments would be "set_imm I3, 0, 42"
19:05 cotto_work PerlJam: right
19:06 * PerlJam adjusts his mental context appropriately
19:07 cotto_work PerlJam: what did you think?  I'd like to minimize the possibility for confusion.
19:08 cotto_work s/think/think it was/
19:09 PerlJam cotto_work: I was just thinking it was like in PASM where you have op_i, op_s, op_p, etc. and the i, s, and p, were mnemonic for integer, string, pmc
19:10 cotto_work PerlJam: ok.
19:10 PerlJam (that a label morphs into two values is non-obvious from what little I've seen so far though)
19:16 * dukeleto is not impressed with the clarity of "set_imm I3, label"
19:17 cotto_work dukeleto: that's the first thing that came to mind.  I'm open to improvements.
19:24 soh_cah_toa joined #parrot
19:25 soh_cah_toa ~~
19:25 cotto_work dukeleto: I do want some way to use labels as data.  Setting the PC of a call frame gets clunky and hard to follow if all that's available is relative offsets.
19:30 cotto_work I'll think about what alternatives exist.
19:44 dalek nqp: 8328ee1 | pmichaud++ | src/HLL/Compiler.pm:
19:44 dalek nqp: Fix --combine flag to HLL::Compiler.
19:44 dalek nqp: review: https://github.com/perl6/nqp/commit/8328ee11b8
19:44 dalek nqp: b4ae484 | pmichaud++ | tools/build/gen-version.pl:
19:44 dalek nqp: Fix typo in tools/build/gen-version.pl .
19:44 dalek nqp: review: https://github.com/perl6/nqp/commit/b4ae4841ac
19:47 dalek parrot/with_winxed_2: 3bb9dd5 | NotFound++ | / (8 files):
19:47 dalek parrot/with_winxed_2: Merge branch 'with_winxed' into with_winxed_2
19:47 dalek parrot/with_winxed_2: review: https://github.com/parrot/parrot/commit/3bb9dd53cd
19:51 dalek parrot: a5ab390 | NotFound++ | ext/winxed/ (2 files):
19:51 dalek parrot: update winxed snapshot to r1050
19:51 dalek parrot: review: https://github.com/parrot/parrot/commit/a5ab3900f8
19:51 dalek parrot: 3bb9dd5 | NotFound++ | / (8 files):
19:51 dalek parrot: Merge branch 'with_winxed' into with_winxed_2
19:51 dalek parrot: review: https://github.com/parrot/parrot/commit/3bb9dd53cd
19:53 NotFound winxed snapshot is now on master.
19:53 whiteknight NotFound++
19:57 klavs left #parrot
19:58 contingencyplan joined #parrot
19:58 soh_cah_toa NotFound++ indeed. very nice
20:00 soh_cah_toa i think winxed has a very bright future ahead of it. it has a lot of potential
20:01 soh_cah_toa especially now that it's included on master
20:01 cotto_work warning: good times ahead
20:01 NotFound World domination is the goal.
20:02 soh_cah_toa ha! destroy all humans
20:02 NotFound All your servers are belong to me!
20:08 jevin left #parrot
20:13 dalek parrot: d9e105e | NotFound++ | NEWS:
20:13 dalek parrot: add a note about winxed snapshot to NEWS
20:13 dalek parrot: review: https://github.com/parrot/parrot/commit/d9e105e2db
20:21 soh_cah_toa could somebody help clarify what the Parrot_set_executable_name() function is used for? the perldoc says that it sets the name of the executable launching parrot. why would one need to call this? when is it useful? it seems kinda useless to me
20:26 NotFound soh_cah_toa: to make it available inside parrot, without needing to access global argv or something like that.
20:27 soh_cah_toa alright
20:30 whiteknight left #parrot
20:31 dmalcolm left #parrot
20:31 soh_cah_toa i'm noticing a lot of (sadly undocumented) mem_gc_allocate_* macros. i'm guessing that these family of macros allocate memory that can be garbage collected? is that right?
20:33 dukeleto where is it documented how and when Winxed-in-Parrot will be synced with Winxed trunk?
20:34 NotFound dukeleto: nowhere yet.
20:35 NotFound I'm going to add a README to ext/winxed/
20:37 dodathome left #parrot
20:37 NotFound About how. The "when" part will be informal for a now. Standard deprecation policy should apply.
20:56 cotto_work NotFound: is there any reason to keep the with_winxed branches around?
20:57 cotto_work aloha: clock?
20:57 aloha cotto_work: LAX: Thu, 13:57 PDT / CHI: Thu, 15:57 CDT / NYC: Thu, 16:57 EDT / UTC: Thu, 20:57 UTC / LON: Thu, 21:57 BST / BER: Thu, 22:57 CEST / TOK: Fri, 05:57 JST / SYD: Fri, 06:57 EST
20:57 NotFound cotto_work: No, it will be easier to create new ones if something fails. I'll delete them.
21:00 cotto_work NotFound: thanks
21:05 dalek parrot: ec21896 | NotFound++ | ext/winxed/README:
21:05 dalek parrot: Document how to update the winxed snapshot
21:05 dalek parrot: review: https://github.com/parrot/parrot/commit/ec21896da8
21:06 dalek nqp: eeb63e9 | pmichaud++ | tools/lib/NQP/Configure.pm:
21:06 dalek nqp: Update NQP::Configure to handle Win32 oddities.
21:06 dalek nqp: review: https://github.com/perl6/nqp/commit/eeb63e99ea
21:08 NotFound Deleted.
21:10 cotto_work NotFound++
21:11 bluescreen left #parrot
21:23 ambs left #parrot
21:31 hercynium left #parrot
21:41 Psyche^ joined #parrot
21:42 Patterner left #parrot
21:42 Psyche^ is now known as Patterner
21:42 mj41 left #parrot
23:00 cotto_work dukeleto: ping
23:11 bubaflub left #parrot
23:28 bubaflub joined #parrot
23:40 bubaflub left #parrot
23:48 dalek parrot/soh-cah-toa/hbdb: 153d55c | soh_cah_toa++ | / (3 files):
23:48 dalek parrot/soh-cah-toa/hbdb: Added a few comments on typedefs and structs
23:48 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/153d55c51a
23:48 dalek parrot/soh-cah-toa/hbdb: ac5eae7 | soh_cah_toa++ | / (3 files):
23:48 dalek parrot/soh-cah-toa/hbdb: Began building list of commands
23:48 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/ac5eae77d3
23:48 dalek parrot/soh-cah-toa/hbdb: 6dcf033 | soh_cah_toa++ | include/parrot/hbdb.h:
23:48 dalek parrot/soh-cah-toa/hbdb: Defined a minimal set of status flags
23:48 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/6dcf033a52
23:48 dalek parrot/soh-cah-toa/hbdb: 10bbc15 | soh_cah_toa++ | src/hbdb.c:
23:48 dalek parrot/soh-cah-toa/hbdb: Made some further revisions to the perldoc in src/hbdb.c
23:48 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/10bbc15b6e
23:48 dalek parrot/soh-cah-toa/hbdb: 4f048d4 | soh_cah_toa++ | frontend/hbdb/main.c:
23:48 dalek parrot/soh-cah-toa/hbdb: Added a call to Parrot_api_set_executable_name()
23:48 dalek parrot/soh-cah-toa/hbdb: review: https://github.com/parrot/parrot/commit/4f048d4f01
23:53 whiteknight joined #parrot

| Channels | #parrot index | Today | | Search | Google Search | Plain-Text | summary

Parrot | source cross referenced