Camelia, the Perl 6 bug

IRC log for #parrot, 2013-05-03

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:18 eternaleye joined #parrot
00:45 rurban1 joined #parrot
00:49 dalek nqp/rak-jvm-support: 9a05abd | (Andrew Robbins)++ | t/nqp/44-try-catch.t:
00:49 dalek nqp/rak-jvm-support: Added test case for try and CATCH
00:49 dalek nqp/rak-jvm-support: review: https://github.com/perl6/nqp/commit/9a05abdd70
00:49 dalek nqp/rak-jvm-support: e395d5c | (Andrew Robbins)++ | / (36 files):
00:49 dalek nqp/rak-jvm-support: Merge branch 'rak-jvm-support' of github.com:perl6/nqp into rak-jvm-support
00:49 dalek nqp/rak-jvm-support: review: https://github.com/perl6/nqp/commit/e395d5c413
01:47 rurban1 joined #parrot
01:53 davidfetter joined #parrot
02:48 rurban1 joined #parrot
03:46 rurban1 joined #parrot
03:52 rurban2 joined #parrot
04:25 Psyche^ joined #parrot
04:46 xcombelle joined #parrot
05:40 rurban1 joined #parrot
05:59 denisboyun_ joined #parrot
06:19 eternaleye joined #parrot
06:37 Mike-PerlRecruiter_ joined #parrot
06:40 rurban1 joined #parrot
07:11 myhrlin joined #parrot
07:41 rurban1 joined #parrot
08:23 donaldh joined #parrot
08:41 rurban1 joined #parrot
08:48 denisboyun_ joined #parrot
08:51 denisboyun__ joined #parrot
08:53 dalek rakudo/EXPORT_hash: 2c0efdc | (Timo Paulssen)++ | / (3 files):
08:53 dalek rakudo/EXPORT_hash: WIP on EXPORT returning a hash.
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/2c0efdc2d1
08:53 dalek rakudo/EXPORT_hash: e0b3e03 | moritz++ | lib/lib.pm6:
08:53 dalek rakudo/EXPORT_hash: actually return a Hash from EXPORT
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/e0b3e03420
08:53 dalek rakudo/EXPORT_hash: a887d88 | moritz++ | src/Perl6/Grammar.pm:
08:53 dalek rakudo/EXPORT_hash: type check result from &EXPORT
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/a887d88086
08:53 dalek rakudo/EXPORT_hash: 18e34a1 | moritz++ | lib/lib.pm6:
08:53 dalek rakudo/EXPORT_hash: fix spectests
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/18e34a1279
08:53 dalek rakudo/EXPORT_hash: 4c4eac7 | moritz++ | src/Perl6/ (2 files):
08:53 dalek rakudo/EXPORT_hash: run EXPORT subs always when present
08:53 dalek rakudo/EXPORT_hash:
08:53 dalek rakudo/EXPORT_hash: not just when an argument list is present
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/4c4eac774f
08:53 dalek rakudo/EXPORT_hash: 1ad9b40 | moritz++ | / (188 files):
08:53 dalek rakudo/EXPORT_hash: Merge remote-tracking branch 'origin/nom' into EXPORT_hash
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/1ad9b40af1
08:53 dalek rakudo/EXPORT_hash: c66c428 | moritz++ | src/Perl6/ (2 files):
08:53 dalek rakudo/EXPORT_hash: fix exporting of subroutines. jnthn++
08:53 dalek rakudo/EXPORT_hash: review: https://github.com/rakudo/rakudo/commit/c66c428cee
09:00 brrt joined #parrot
09:02 dalek rakudo/nom: 2c0efdc | (Timo Paulssen)++ | / (3 files):
09:02 dalek rakudo/nom: WIP on EXPORT returning a hash.
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/2c0efdc2d1
09:02 dalek rakudo/nom: e0b3e03 | moritz++ | lib/lib.pm6:
09:02 dalek rakudo/nom: actually return a Hash from EXPORT
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/e0b3e03420
09:02 dalek rakudo/nom: a887d88 | moritz++ | src/Perl6/Grammar.pm:
09:02 dalek rakudo/nom: type check result from &EXPORT
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/a887d88086
09:02 dalek rakudo/nom: 18e34a1 | moritz++ | lib/lib.pm6:
09:02 dalek rakudo/nom: fix spectests
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/18e34a1279
09:02 dalek rakudo/nom: 4c4eac7 | moritz++ | src/Perl6/ (2 files):
09:02 dalek rakudo/nom: run EXPORT subs always when present
09:02 dalek rakudo/nom:
09:02 dalek rakudo/nom: not just when an argument list is present
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4c4eac774f
09:02 dalek rakudo/nom: 1ad9b40 | moritz++ | / (188 files):
09:02 dalek rakudo/nom: Merge remote-tracking branch 'origin/nom' into EXPORT_hash
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/1ad9b40af1
09:02 dalek rakudo/nom: c66c428 | moritz++ | src/Perl6/ (2 files):
09:02 dalek rakudo/nom: fix exporting of subroutines. jnthn++
09:02 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/c66c428cee
10:18 mtk joined #parrot
10:22 mtk joined #parrot
10:45 rurban1 joined #parrot
10:50 schm00ster joined #parrot
10:58 xcombelle joined #parrot
11:36 woosley1 joined #parrot
11:45 rurban1 joined #parrot
12:15 denisboyun joined #parrot
12:21 eternaleye joined #parrot
12:46 rurban1 joined #parrot
12:55 denisboyun joined #parrot
13:11 woosley1 joined #parrot
13:14 denisboyun_ joined #parrot
13:19 moritz joined #parrot
13:33 denisboyun joined #parrot
13:46 rurban1 joined #parrot
13:50 darbelo joined #parrot
13:53 rurban1 joined #parrot
14:23 bluescreen joined #parrot
15:11 alester joined #parrot
15:19 quias joined #parrot
15:33 gtodd left #parrot
15:44 rurban1 joined #parrot
15:58 pmurias_ joined #parrot
15:58 denisboyun joined #parrot
15:59 pmurias_ hi
16:00 darbelo o/
16:00 pmurias_ feedback for my gsoc proposal http://www.google-melange.com/gsoc/propo​sal/review/google/gsoc2013/pmurias/9002 would be great ;)
17:23 _ilbot joined #parrot
17:23 Topic for #parrot is now Parrot 5.3.0 "W00tstock Parrot" | http://parrot.org/ | Log: http://irclog.perlgeek.de/parrot | #parrotsketch meeting Tuesday 19:30 UTC
18:06 arnsholt I think we've uncovered a Parrot bug in #perl6
18:06 masak actually, I reported it here yesterday.
18:07 arnsholt Ah, right
18:07 masak no reaction, unless you count '<Coke> IWBNI someone opened a parrot ticket pointing back to that RT'
18:08 masak my in-production program is currently broken and actively blocking on this bug without a known workaround.
18:10 darbelo What RT? Do you have a link handy?
18:10 arnsholt https://rt.perl.org/rt3/Tic​ket/Display.html?id=117841
18:10 masak I'm currently building and testing a fix.
18:10 arnsholt The problem seems to be multi-byte sequences getting split across buffered sections while reading in data
18:11 masak the problem is https://github.com/parrot/parrot/b​lob/master/src/io/utilities.c#L389
18:12 masak (that line attempts to assert utf-8-ness of a not-yet-completed byte buffer)
18:16 masak but hm, I can't seem to build with that line removed.
18:16 masak PackFile_unpack: Buffer length 0 is shorter than PACKFILE_HEADER_BYTES 18.
18:16 masak I don't know enough to know why that is.
18:18 arnsholt Maybe the scan function updates some kind of internal state?
18:18 arnsholt Length of the string for example?
18:19 arnsholt It probably does, since bytes and characters are independent for multi-byte encodings
18:20 masak sure, but why would the absence of the STRING_scan line cause the build to fail?
18:20 masak if it built fine but failed during execution, I wouldn't be surprised.
18:21 arnsholt What's the command the fails?
18:21 arnsholt IIRC Parrot's build is partially bootstrapped
18:21 masak ./parrot -o runtime/parrot/include/parrotlib.pbc runtime/parrot/library/parrotlib.pir
18:21 masak so, hm, I guess it did get far enough to run...
18:22 masak ok, that means the line cannot simply be removed.
18:22 masak but I still contend it's wrong -- which kind of brings us "back to the drawing-board", doesn't it?
18:22 eternaleye joined #parrot
18:23 masak in the sense that there is a wrong assumption in there, so the code is wrong, but doing the obvious thing and removing the line doesn't work either.
18:23 arnsholt Or the scan method needs to be aware of the possibility of an incomplete sequence at the end
18:23 arnsholt Some kind of refactoring is required, anyways
18:23 masak yeah.
18:27 * masak tries to remove the condition that throws the error instead
18:28 masak it builds. :)
18:31 masak one failing test.
18:31 arnsholt Making sure malformed UTF-8 sequences cause an exception, I'd bet =)
18:34 masak the test is called 'illegal utf8 chars' -- so likely, yes.
18:37 Mike-PerlRecruiter_ joined #parrot
18:38 masak unfortunately, I don't immediately see how to add a failing test case for this -- since the failure in my case happens during buffered reading of a byte buffer, and checking the whole string as is done in those test cases will likely succeed.
18:38 arnsholt Yeah, it's a tricky one
18:39 masak in any case, having found a workaround, I will apply that to my local parrot, and likely be able to build my blog posts again.
19:00 janus joined #parrot
19:27 preflex joined #parrot
21:19 dalek nqp: e3b8ef2 | pmichaud++ | / (2 files):
21:19 dalek nqp: P6Regex: Make sure that <alpha> + % <sep> properly captures
21:19 dalek nqp: multiple instances of <sep>.  Should fix RT #117831.
21:19 dalek nqp: review: https://github.com/perl6/nqp/commit/e3b8ef2e17
21:44 dalek rakudo/nom: 4741028 | pmichaud++ | tools/build/NQP_REVISION:
21:44 dalek rakudo/nom: Bump NQP_REVISION to get fix for RT #117831 (quantified separator).
21:44 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/4741028680
22:14 denisboyun_ joined #parrot
22:57 Coke pmichaud: I tagged that ticket.
22:58 Coke ww

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

Parrot | source cross referenced