Camelia, the Perl 6 bug

IRC log for #parrot, 2012-09-17

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
00:19 rurban Not racy. I suspect stdin.readline has a problem on windows.
00:20 rurban maybe we need to pass \r\n to the input string to be detected...
00:28 rurban msg whiteknight io_cleanup added an interesting mix: stdin.readline on windows adds \r\n to the read string even if the input ended with \n only
00:28 aloha OK. I'll deliver the message.
00:29 dalek parrot/threads: f77643e | rurban++ | t/src/threads_io.t:
00:29 dalek parrot/threads: fix t/src/threads_io.t for windows
00:29 dalek parrot/threads:
00:29 dalek parrot/threads: stdin.readline() now returns input\r\n on windows.
00:29 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/f77643e9c9
00:41 rurban windows msvc smoked threads fine. Even t/perl/Parrot_IO.t
01:11 rurban solaris also smoked threads fine
01:19 woosley joined #parrot
01:35 kid51 joined #parrot
01:35 dalek parrot/threads: 59e749c | jkeenan++ | / (72 files):
01:35 dalek parrot/threads: Merge commit 'origin/master' into threads
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/59e749c29a
01:35 dalek parrot/threads: 78c2dc9 | jkeenan++ | /:
01:35 dalek parrot/threads: Merge branch 'threads' of git@github.com:parrot/parrot into threads
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/78c2dc9c69
01:35 dalek parrot/threads: a704331 | jkeenan++ | / (6 files):
01:35 dalek parrot/threads: Merge branch 'threads' of git@github.com:parrot/parrot into threads
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/a704331b74
01:35 dalek parrot/threads: 119f218 | jkeenan++ | / (30 files):
01:35 dalek parrot/threads: Merge branch 'threads' of git@github.com:parrot/parrot into threads
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/119f218fc7
01:35 dalek parrot/threads: c15424b | jkeenan++ | src/platform/generic/num_cpus.c:
01:35 dalek parrot/threads: [codingstd] No trailing whitespace.
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/c15424b5e7
01:35 dalek parrot/threads: 7616024 | jkeenan++ | src/pmc/task.pmc:
01:35 dalek parrot/threads: [codingstd] No hard tabs.
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/761602447c
01:35 dalek parrot/threads: 696da6a | jkeenan++ | src/platform/generic/num_cpus.c:
01:35 dalek parrot/threads: [codingstd] No space between C function name and following open parenthesis.
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/696da6ab51
01:35 dalek parrot/threads: 15ee724 | jkeenan++ | src/platform/win32/num_cpus.c:
01:35 dalek parrot/threads: [codingstd] Follow C-indent standard inside #ifdef.
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/15ee7241d2
01:35 dalek parrot/threads: 1af86fa | jkeenan++ | src/platform/win32/num_cpus.c:
01:35 dalek parrot/threads: [codingstd] Correct documentation of C function.
01:35 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/1af86fac66
01:35 dalek parrot/threads: 8d7b9a8 | jkeenan++ | frontend/parrot2/main.c:
01:35 dalek parrot/threads: [codingstd] No space after opening parenthesis.
01:36 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/8d7b9a860a
02:18 dalek parrot: c65d63a | rurban++ | t/op/sprintf.t:
02:18 dalek parrot: [GH #832] TODO t/op/sprintf.t 217 on mingw (%+u prints +)
02:18 dalek parrot: review: https://github.com/parrot/parrot/commit/c65d63a803
02:29 dalek parrot: 00f8868 | rurban++ | t/op/string.t:
02:29 dalek parrot: [GH #832] skip t/op/string.t 196,197 on mingw (%+u prints +)
02:29 dalek parrot: review: https://github.com/parrot/parrot/commit/00f8868e72
02:31 rurban thanks jkeenan++
02:33 dalek parrot/rurban/va_arg_print_n: 1908e61 | rurban++ | config/gen/config_h/feature_h.in:
02:33 dalek parrot/rurban/va_arg_print_n: [cage] ident #define properly
02:33 dalek parrot/rurban/va_arg_print_n: review: https://github.com/parrot/parrot/commit/1908e618fc
02:33 dalek parrot/rurban/va_arg_print_n: 4902b3a | rurban++ | src/pmc/float.pmc:
02:33 dalek parrot/rurban/va_arg_print_n: use PARROT_VA_PTR_FLOATVAL in float.pmc
02:33 dalek parrot/rurban/va_arg_print_n: review: https://github.com/parrot/parrot/commit/4902b3aa72
02:33 dalek parrot: 169598d | rurban++ | t/perl/Parrot_IO.t:
02:33 dalek parrot: [codingstd] t/perl/Parrot_IO.t copyright year
02:33 dalek parrot: review: https://github.com/parrot/parrot/commit/169598d530
02:34 dalek parrot/threads: c65d63a | rurban++ | t/op/sprintf.t:
02:34 dalek parrot/threads: [GH #832] TODO t/op/sprintf.t 217 on mingw (%+u prints +)
02:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/c65d63a803
02:34 dalek parrot/threads: 00f8868 | rurban++ | t/op/string.t:
02:34 dalek parrot/threads: [GH #832] skip t/op/string.t 196,197 on mingw (%+u prints +)
02:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/00f8868e72
02:34 dalek parrot/threads: 169598d | rurban++ | t/perl/Parrot_IO.t:
02:34 dalek parrot/threads: [codingstd] t/perl/Parrot_IO.t copyright year
02:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/169598d530
02:34 dalek parrot/threads: 4739ca8 | rurban++ | t/ (3 files):
02:34 dalek parrot/threads: Merge remote-tracking branch 'origin/master' into threads
02:34 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/4739ca84b1
03:06 travis-ci joined #parrot
03:06 travis-ci [travis-ci] parrot/parrot#557 (master - c65d63a : Reini Urban): The build is pending.
03:06 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/8874c43719c6...c65d63a8031f
03:06 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2473521
03:06 travis-ci left #parrot
03:10 benabik "build is pending" is not a useful message.
03:26 travis-ci joined #parrot
03:26 travis-ci [travis-ci] parrot/parrot#558 (master - 00f8868 : Reini Urban): The build is pending.
03:26 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/c65d63a8031f...00f8868e727e
03:26 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2473614
03:26 travis-ci left #parrot
04:54 pjcj joined #parrot
05:28 alvis joined #parrot
05:54 contingencyplan joined #parrot
06:14 jsut joined #parrot
07:05 l3l1p joined #parrot
07:13 brrt joined #parrot
07:54 lucian joined #parrot
08:25 Psyche^ joined #parrot
09:05 schmooster joined #parrot
11:59 JimmyZ joined #parrot
13:01 PacoAir joined #parrot
13:26 PerlJam joined #parrot
14:31 benabik joined #parrot
15:27 dmalcolm joined #parrot
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: 1e44cc1 | rurban++ | / (4 files):
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: [GH #832] Probe for broken snprintf %+..u in mingw and fix it.
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832:
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: snprintf %+u fails on mingw only. t/op/sprintf.t test 217 and
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: t/op/string.t: 196, 198 (now 197)
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: The + is always printed, but should not.
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832:
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: As it works okay in win32 (with msvcrt.ll) and cygwin (cygwin1.dll)
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: on the same system, I assumed it's mingw only snprintf/sprintf wrapper
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: issue.
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832:
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: Probe in auto:snprintf for PARROT_HAS_BROKEN_SPRINTF_UPLUS and skip
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: the '+' in %+..u in spf_render.c.
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832:
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: But the probe is not yet correct. It passes on mingw, but should fail.
15:28 dalek parrot/rurban/broken-sprintf-uplus-gh832: review: https://github.com/parrot/parrot/commit/1e44cc1377
16:26 dalek parrot/rurban/preload-config-steps-gh833: be71d13 | rurban++ | Configure.pl:
16:26 dalek parrot/rurban/preload-config-steps-gh833: [GH #833] preload configure steps
16:26 dalek parrot/rurban/preload-config-steps-gh833:
16:26 dalek parrot/rurban/preload-config-steps-gh833: Term::ReadLine does not work on my mingw, debugging configure steps is a pain.
16:26 dalek parrot/rurban/preload-config-steps-gh833: E.g. "b postpone auto::snprintf::runstep" does not set a breakpoint when
16:26 dalek parrot/rurban/preload-config-steps-gh833: debugging Configure.pl
16:26 dalek parrot/rurban/preload-config-steps-gh833:
16:26 dalek parrot/rurban/preload-config-steps-gh833: I added a preloading of all steps into early Configure.pl so that breakpoints
16:26 dalek parrot/rurban/preload-config-steps-gh833: can easily be set. The old handling is not changed.
16:26 dalek parrot/rurban/preload-config-steps-gh833: review: https://github.com/parrot/parrot/commit/be71d13a69
16:27 benabik joined #parrot
16:35 dalek parrot: 710de59 | rurban++ | .travis.yml:
16:35 dalek parrot: .travis.yml: smoke threads branch also
16:35 dalek parrot: review: https://github.com/parrot/parrot/commit/710de59bae
16:38 dalek rakudo/nom: ec413ef | jnthn++ | src/Perl6/ModuleLoader.pm:
16:38 dalek rakudo/nom: Fix busted GLOBAL preservation code.
16:38 dalek rakudo/nom:
16:38 dalek rakudo/nom: Fixes a bug whereby require would clobber GLOBAL, discovered by
16:38 dalek rakudo/nom: sirrobert++.
16:38 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/ec413efe4f
16:42 dalek parrot: f1a4c7e | rurban++ | .travis.yml:
16:42 dalek parrot: .travis.yml: smoke more branches with less configurations
16:42 dalek parrot:
16:42 dalek parrot: Add smoke-me branches and threads, but reduce the configurations a bit. Shuffle optimize and g++ a bit.
16:42 dalek parrot: 1-2 * 9 vs. now 3-4 * 5
16:43 dalek parrot: review: https://github.com/parrot/parrot/commit/f1a4c7ece1
16:51 travis-ci joined #parrot
16:51 travis-ci [travis-ci] parrot/parrot#560 (master - 710de59 : Reini Urban): The build was broken.
16:51 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/169598d53018...710de59bae04
16:51 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2481420
16:51 travis-ci left #parrot
17:01 tuxit joined #parrot
17:04 travis-ci joined #parrot
17:04 travis-ci [travis-ci] parrot/parrot#561 (master - f1a4c7e : Reini Urban): The build was fixed.
17:04 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/710de59bae04...f1a4c7ece17c
17:04 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2481466
17:04 travis-ci left #parrot
18:10 rurban int3 trap is not supported on the solaris gcc (but triggered)
18:19 UncleFester6 joined #parrot
18:20 dalek parrot: 379faba | rurban++ | src/ops/ (2 files):
18:20 dalek parrot: Fix solaris gcc build: int3 trap not supported
18:20 dalek parrot:
18:20 dalek parrot: Apparently the solaris 10 gcc assembler does not define the
18:20 dalek parrot: int3 (0xCC) opcode. Disable it for solaris, i.e defined(sun).
18:20 dalek parrot: gcc (GCC) 4.5.2 SunOS solaris 5.11 11.0 i86pc i386 i86pc
18:20 dalek parrot:
18:20 dalek parrot:         "<stdin>", line 127437 : Illegal mnemonic
18:20 dalek parrot:         Near line: "    int3"
18:20 dalek parrot:         "<stdin>", line 127437 : Syntax error
18:20 dalek parrot:         Near line: "    int3"
18:20 dalek parrot: review: https://github.com/parrot/parrot/commit/379faba3e8
18:21 UncleFester6 Anyone know how to get an nci call to return a bytebuffer or convert a ptr pmc returned from an nci call to a bytebuffer?
18:23 rurban I cannot close http://trac.parrot.org/parrot/ticket/579 (fixed by 379faba3e871ea9ff0a57611fa4a3bad91b9a6be)
18:25 Coke rurban: we're not using trac anymore.
18:25 Coke we're using github.
18:25 rurban But I want to close this old ticket.
18:26 Coke we're not using that system. no updates.
18:26 Coke close https://github.com/parrot/parrot/issues/583 instead.
18:26 rurban I ran into the same problem and just fixed it.
18:27 rurban ssl cert for *.parrot.org expired at 9/5/11 cannot we extend this? We can pay for it.
18:28 Coke ssl cert handled by the board. particle was the last person I know that touched it.
18:29 rurban chrome does not let me in and firefox behaves weird on trac
18:29 rurban I'll try MSIE :)
18:29 Coke "don't use trac"
18:29 Coke it's dead. we've moved on.
18:30 Coke all the open tickets were copied to github.
18:31 travis-ci joined #parrot
18:31 travis-ci [travis-ci] parrot/parrot#562 (master - 379faba : Reini Urban): The build was broken.
18:31 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/f1a4c7ece17c...379faba3e871
18:31 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2482694
18:31 travis-ci left #parrot
18:32 rurban yep. found it. #583
18:33 Coke rurban++
18:34 rurban I clean up now some old tickets. I have lots of branches to be merged. Who decides that. No review?
18:35 rurban rurban/preload-config-steps-gh833 rurban/strip-install_config-gh824 native_pbc
18:37 dalek rakudo/nom: 43ceae0 | jnthn++ | src/Perl6/ModuleLoader.pm:
18:37 dalek rakudo/nom: Also fix setting loading; PerlJam++.
18:37 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/43ceae0282
18:37 PerlJam rurban: I don't have an answer, but my first inclination would be to ping whiteknight about it.
18:40 Coke I would send an email to the list asking for review.
18:40 Coke perhaps a separate thread per email? if there's a ticket, link back to that also
18:45 rurban solaris gcc build fail to relocate the generated blib/lib/libparrot.so strange, linking static works
19:04 alester joined #parrot
19:10 rurban back to sun cc 64bit. this just works
19:16 brrt joined #parrot
19:21 brrt left #parrot
19:22 dalek nqp/kill-nqpattr: 87eb6c8 | jnthn++ | src/core/NQPRoutine.pm:
19:22 dalek nqp/kill-nqpattr: Stub in an NQPRegex type.
19:22 dalek nqp/kill-nqpattr:
19:22 dalek nqp/kill-nqpattr: This will serve as the code object for regexes, rules and tokens, and
19:22 dalek nqp/kill-nqpattr: will come to hold the caps, NFA, etc.
19:22 dalek nqp/kill-nqpattr: review: https://github.com/perl6/nqp/commit/87eb6c88c2
19:22 dalek nqp/kill-nqpattr: b24e129 | jnthn++ | src/NQP/World.pm:
19:22 dalek nqp/kill-nqpattr: Enable create_code to creates code object types besides NQPRoutine.
19:22 dalek nqp/kill-nqpattr: review: https://github.com/perl6/nqp/commit/b24e12996b
19:22 dalek nqp/kill-nqpattr: 024c643 | jnthn++ | src/NQP/Actions.pm:
19:22 dalek nqp/kill-nqpattr: Start creating regexes as NQPRegex.
19:22 dalek nqp/kill-nqpattr: review: https://github.com/perl6/nqp/commit/024c643a40
19:25 dalek rakudo/nom: 690dadc | jnthn++ | src/core/Set.pm:
19:25 dalek rakudo/nom: Fix 'say KeySet'.
19:25 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/690dadc9cc
19:44 nine StartSSL offers simple domain certificates for free (valid 1 year_
19:48 tadzik nine! \o/
19:48 nine hi tadzik!
19:50 tadzik threads now work nicely on parrot-nqp
19:50 nine groovy :)
19:50 tadzik not on nqp though
19:50 tadzik I'm yet to bug someone competent to look at it :)
19:50 UncleFester6 left #parrot
20:28 tadzik ...you're not volunteering? :P
20:39 nine a bit hesitant....but if you give me details I might have a look at it ;)
20:39 tadzik I think it may be something related to custom lexpads
20:39 tadzik I should have a backtrace somewhere
20:40 benabik joined #parrot
20:41 tadzik https://gist.github.com/3739650 with all the goodies from Parrot debugging build
20:42 tadzik but I'm falling asleep now :) goodnight #parrot
20:45 nine Good night
21:07 rurban nine: are you gone?
21:10 alvis joined #parrot
21:21 sivoais joined #parrot
21:23 nine not yet
21:24 nine rurban: but almost
21:25 rurban I juist wanted to know if could move threads_array to the heap? malloc with user-defined 4000 numthreads e.g.
21:25 rurban Looks sane to me.
21:30 nine rurban: as long as the threads_array is in no way managed by some GC. Wasted a whole night back then trying to make this work...
21:30 rurban Ok, will keep an eye on this. I upped MAX_THREADS now to 16000
21:31 nine wow
21:31 rurban examples/threads/task.pir worked fine with that.
21:32 sorear is it smart enough to only allocate memory for the threads that are used, or is there an automatic MAX_THREADS * N byte allocation?
21:41 rurban currently we preallocate all needed threads in advance. it was useful for 8 threads. with massive parallel threads we might need to realloc, but I doubt that moving the whole structure is good.
21:42 rurban oops, another logical error of mine
21:44 dalek parrot/threads: 97e5370 | rurban++ | src/thread.c:
21:44 dalek parrot/threads: Fix logical set_num_threads bug. Check the input
21:44 dalek parrot/threads:
21:44 dalek parrot/threads: We need to check the input. num_threads is required to be -1 in this state.
21:44 dalek parrot/threads: review: https://github.com/parrot/parrot/commit/97e5370ee4
21:54 rurban hmm, where do we stop existing threads before destruction?
22:18 whiteknight joined #parrot
22:19 rurban shouldn't we kill all tasks when we kill the interp
22:27 whiteknight good evening, #parrot
22:33 lucian joined #parrot
23:07 chekkaa The test Drupal 6 site is up: https://www.parrot.org:8082/
23:08 chekkaa If everything looks all right to you guys, let me know and I can push it to production
23:11 benabik Huh  Seems to have lost the "create new content" on the right side.
23:11 benabik Also, the expired SSL cert.  :-(
23:13 rurban It's SSL. Does it need to be SSL?
23:15 chekkaa rurban: No, it's just how the test site was set up
23:17 rurban good. we have a little cert problem. chrome even refuses to login
23:17 chekkaa I can turn the SSL off for the test site
23:17 chekkaa it was only turned on for some debugging earlier
23:18 benabik I just logged in with chrome.
23:18 benabik It complained first, but could get on.  :-)
23:40 chekkaa benabik: the "Create new content" link is back
23:41 benabik chekkaa: Awesome.
23:41 benabik Thanks.
23:41 chekkaa I also noticed that the page numbers at the bottom are spaced badly
23:41 chekkaa I'll try and fix that too
23:41 chekkaa anything else need looking at?
23:43 benabik The sidebars on /resources.html and /foundation look funny
23:43 benabik And we need to update our list of developer resources, but I don't think that's your job.
23:45 rurban I will be off the next two days, meeting with ingy and will in austin discussing the p5 optimizing compiler

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

Parrot | source cross referenced