Camelia, the Perl 6 bug

IRC log for #parrot, 2012-10-03

Parrot | source cross referenced

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

All times shown according to UTC.

Time Nick Message
01:17 Coke ugh, that sucks.
01:40 mtk joined #parrot
02:07 Khisanth joined #parrot
02:45 Jashwanth_ joined #parrot
03:01 benabik joined #parrot
03:04 mtk joined #parrot
04:28 dalek nqp: 82452e6 | jonathan++ | / (4 files):
04:28 dalek nqp: Implement (?i) modifier.
04:28 dalek nqp: review: https://github.com/perl6/nqp/commit/82452e60bc
06:38 he joined #parrot
07:27 brrt joined #parrot
07:34 Psyche^ joined #parrot
09:15 mvorl joined #parrot
10:48 Jashwanth__ joined #parrot
10:53 Jashwanth joined #parrot
12:17 dalek nqp: 94286df | jonathan++ | src/QRegex/P5Regex/Actions.nqp:
12:17 dalek nqp: Perl 5 capture/alternation semantics.
12:17 dalek nqp: review: https://github.com/perl6/nqp/commit/94286dfa00
12:27 dalek rakudo/nom: fb11f13 | jonathan++ | t (2 files):
12:27 dalek rakudo/nom: Run S05-modifiers/perl5_3.t.
12:27 dalek rakudo/nom:
12:27 dalek rakudo/nom: Also bumps NQP_REVISION to get (?i) support and alternation fix.
12:27 dalek rakudo/nom: review: https://github.com/rakudo/rakudo/commit/fb11f13cda
12:58 PacoAir joined #parrot
13:39 rurban morning #parrot
13:39 rurban I think we have a minor problem
13:39 rurban the vms port guy sent me a huge patch, which needs a parrot copyright
13:40 rurban https://github.com/parrot/parrot/pull/854 is only the first small part of it
13:41 rurban ah, mvorl is even in the channel, hi
13:41 mvorl Hi everyone!
13:42 mvorl @rurban: sorry for sending the patch. After all I found out how to work with git ;-)
13:42 rurban mvorl: no problem. butg i think you need to send a signed copyright form. I'm looking for it. the patch is too big
13:43 rurban here it is: http://www.parrot.org/sites/www.​parrot.org/files/parrot_cla.pdf can you send such a signed CLA?
13:44 rurban you can also fax it.
13:44 rurban it can by found on http://www.parrot.org/foundation/legal
13:45 mvorl Yes I can. Will do.
13:46 Coke mvorl++
13:46 rurban super.
13:48 mvorl Right now I'm trying to figure out a parrot crash that I /think/ is caused by va_list args passed around (nut sure yet)
13:49 rurban oh yeah. I know this. I started with a branch to fix it but my branch made it even worse, rurban/va_arg_print_n
13:49 mvorl Unfortunately it happens deep into winxed.pbc so it'll probably take some time to nail it down
13:50 mvorl @rurban: Forget about the big patch. I'll fax the CLA, and then submit the patches via git pull request
13:51 rurban I'm smoking your pull request right now
13:53 mvorl I haven't seen ptrdiff_t anywhere in parrot, but it's a C standard type
13:53 dalek parrot/vms-usize_t-gh854: fedbe5e | (Martin Vorländer)++ | src/hash.c:
13:53 dalek parrot/vms-usize_t-gh854: Fix a bug that causes parrot to fail on platforms where size_t is an unsigned type.
13:53 dalek parrot/vms-usize_t-gh854:
13:53 dalek parrot/vms-usize_t-gh854: Signed-off-by: Reini Urban <rurban@cpanel.net>
13:53 dalek parrot/vms-usize_t-gh854: review: https://github.com/parrot/parrot/commit/fedbe5e03c
13:54 mvorl Anybody has some hints how to go about debugging parrot crashes? It happens because the data element of a PMC is 0 (and then dereferenced)
13:56 rurban do you have a gdb or such?
13:56 rurban I like windows msvc most for debugging
13:57 rurban Windows is also stricter than liunux and catches more bugs
13:58 mvorl :I have a VMS debugger (which is quite nice). Unfortunately, the last port of gcc to VMS is ages old, so no gdb
14:00 Coke ~[ ●_● ]~ . o O (ooh, more unimotes)
14:00 mvorl I tried to --trace but my parrot assembly language knowledge is really non-existent
14:00 rurban If you get a crash in the debugger it's pretty easy, because you just need to run it, and step upwards
14:01 rurban --trace is a bit noisy. normally c-level debugging is easier
14:01 benabik joined #parrot
14:01 rurban but if you want to see the valuus of all internal parrot registers  (SREG[]) you can add -t
14:02 rurban what is your floatval size?
14:02 rurban single floats are hairy with varargs
14:02 mvorl That I can do. The PMC is created in extend:Parrot_ext_call by Parrot_pcc_build_call_from_varargs
14:03 rurban long double ditto
14:03 mvorl nv=double, numvalsize=8, doublesize=8, longdoublesize=16
14:03 rurban double=8 is good.
14:04 mvorl It's just a "Pi->S" AFAICT
14:05 rurban Pi should be easy, hmm
14:06 rurban And the crash happens in VTABLE_push_pmc(interp, signature, pmc_arg) then?
14:08 mvorl Nope. It's in Parrot_pcc_set_continuation(interp, call_object, ret_cont)
14:10 mvorl when it tries to CONTEXT_STRUCT(ctx)->current_cont = _continuation;
14:10 rurban ctx is empty?
14:11 mvorl (the above in src/call/pcc.c and src/call/context_accessor.c, respectively)
14:12 rurban in which test is this?
14:13 mvorl CONTEXT_STRUCT(ctx) == ctx->data == 0
14:13 mvorl It's in the building process still
14:14 rurban ah the ctx->data only.
14:14 rurban so you got a miniparrot already? or before
14:15 mvorl I've got a parrot.exe already; running winded.pbc is it's first job
14:15 mvorl s/winded/winxed/
14:17 rurban here? $(PARROT) winxed.pbc -c --noan $(DEV_TOOLS_DIR)/pbc_to_exe.winxed
14:17 mvorl Yep. That's the one
14:19 rurban Did you change prt0.winxed?
14:19 mvorl Nope. (I wouldn't change code I don't understand ;-)
14:22 dalek nqp: 2d70bfa | jonathan++ | src/QRegex/P5Regex/ (2 files):
14:22 dalek nqp: Lookahead, positive and negative.
14:22 dalek nqp: review: https://github.com/perl6/nqp/commit/2d70bfa342
14:22 rurban maybe run the winxex pir instead. parrot -t ext/winxed/driver.pir -c --noan tools/dev/pbc_to_exe.winxed
14:26 mvorl That one runs right through.
14:27 rurban that's ia64 little-endian, right?
14:27 rurban is tools/dev/pbc_to_exe.pir created correctly?
14:28 mvorl Yes. (Actually IA64 is bi-endian, but VMS uses it little-endian)
14:28 mvorl Yes, tools/dev/pbc_to_exe.pir is there. Correctly? Dunno.
14:29 rurban you can look at it if looks like pir code
14:29 mvorl Looks okay to me.
14:30 rurban strange, since the frontend/parrot2/prt0.pbc worked correctly
14:30 rurban that was also from a .winxed
14:31 rurban ptrdiff_t looks good on cygwin, linux, msvc, solaris (native cc)
14:31 bluescreen joined #parrot
14:32 dalek Heuristic branch merge: pushed 25 commits to parrot by rurban
14:33 rurban merging now two smoked branches
14:33 dalek parrot: fedbe5e | (Martin Vorländer)++ | src/hash.c:
14:33 dalek parrot: Fix a bug that causes parrot to fail on platforms where size_t is an unsigned type.
14:33 dalek parrot:
14:33 dalek parrot: Signed-off-by: Reini Urban <rurban@cpanel.net>
14:33 dalek parrot: review: https://github.com/parrot/parrot/commit/fedbe5e03c
14:33 dalek parrot: 174ce54 | rurban++ | src/hash.c:
14:33 dalek parrot: Merge branch 'vms-usize_t-gh854'
14:33 dalek parrot: review: https://github.com/parrot/parrot/commit/174ce54da8
14:34 mvorl Got to go (my girlfriend isn't a programmer :-) Thanks a lot, Reini. I'll dig into it.
14:34 rurban interesting bug, bye
14:35 dalek parrot: 29ec1b0 | rurban++ | ChangeLog:
14:35 dalek parrot: [GH #854] ChangeLog line
14:35 dalek parrot: review: https://github.com/parrot/parrot/commit/29ec1b05e5
14:37 mvorl left #parrot
14:52 ttbot Parrot 87ac5ceb MSWin32-x86-multi-thread make error http://tt.taptinder.org/cmdinfo/99176
14:58 dmalcolm joined #parrot
15:08 rurban bacek: around?
15:09 rurban msg bacek I revived your opsc_llvm branch in my rurban/ops2c_llvm branch. what was the problem?
15:09 aloha OK. I'll deliver the message.
15:10 rurban Oh, solaris found a mime_base64 regression...
15:10 * Coke wonders if we can get all our coding bots back at once.
15:12 rurban lobsinger also?
15:12 rurban and cotto
15:13 brrt joined #parrot
15:14 brrt hi #parrot
15:14 * brrt has shirt!
15:14 rurban you are not naked?
15:15 brrt and a certificate, all messed up by customs people
15:15 brrt no, i mean, a gsoc shirt :-)
15:15 rurban ah! a google shirt. I also got one, looks good
15:15 brrt yes, it is a pretty shirt
15:16 brrt i also figured out a way for the parrot foundation to finally make some money
15:16 rurban uh?
15:16 brrt just say you are an alternative implementation of ruby
15:16 brrt or, better yet
15:16 rurban and then ?
15:17 brrt a 'scalable' implementation of ruby
15:17 brrt money flows in
15:17 brrt profit
15:17 brrt 'it almost runs rails'
15:18 brrt you might attempt the same with node.js-on-parrot, but i don't think people will buy into it
15:18 ttbot Parrot 29ec1b05 MSWin32-x86-multi-thread make error http://tt.taptinder.org/cmdinfo/99256
15:20 dalek parrot: 48a9db2 | rurban++ | t/library/mime_base64.t:
15:20 dalek parrot: [GH #855] utf8 comparison problem
15:20 dalek parrot: review: https://github.com/parrot/parrot/commit/48a9db2354
15:25 brrt but in seriousness, a bit better marketing might help a lot
15:46 zby_home joined #parrot
15:57 travis-ci joined #parrot
15:57 travis-ci [travis-ci] parrot/parrot#620 (master - 48a9db2 : Reini Urban): The build was fixed.
15:57 travis-ci [travis-ci] Change view : https://github.com/parrot/parrot/c​ompare/29ec1b05e56a...48a9db235434
15:57 travis-ci [travis-ci] Build details : http://travis-ci.org/parrot/parrot/builds/2651726
15:57 travis-ci left #parrot
16:02 ttbot Parrot 48a9db23 MSWin32-x86-multi-thread make error http://tt.taptinder.org/cmdinfo/99404
16:24 contingencyplan joined #parrot
16:55 tuxit joined #parrot
17:14 sivoais joined #parrot
17:51 jlaire joined #parrot
18:00 benabik_ joined #parrot
18:53 dalek parrot/rurban/llvm-gh853: c4ac9e8 | rurban++ | config/auto/llvm.pm:
18:53 dalek parrot/rurban/llvm-gh853: [GH #853] Less failing llvm-gcc noise
18:53 dalek parrot/rurban/llvm-gh853: review: https://github.com/parrot/parrot/commit/c4ac9e89df
19:11 dalek parrot: 8632cf0 | rurban++ | config/auto/gcc.pm:
19:11 dalek parrot: [cage] silence @noinline@ warning on unknown compilers
19:11 dalek parrot:
19:11 dalek parrot: e.g. solaris cc
19:11 dalek parrot: review: https://github.com/parrot/parrot/commit/8632cf0fa8
19:56 benabik_ joined #parrot
22:26 whiteknight joined #parrot
22:48 whiteknight good evening, #parrot
23:00 Psyche^ joined #parrot
23:01 sorear good evening whiteknight.
23:02 benabik joined #parrot
23:02 whiteknight hello sorear
23:25 mvorl_ joined #parrot
23:27 mvorl__ joined #parrot

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

Parrot | source cross referenced