[Coke] thinks now is a great time to fix moar! 00:21
timotimo isn't it always? :)
[Coke] I have 2 hours to kill and a laptop and wifi 00:24
[Coke] tries to see if he can track down this nqp-m segfault
looks like moar builds by default with -g - is there a way to get more debug symbols? 00:25
gist.github.com/coke/7903006 00:28
minor bugnit, can't use a relative path when configuring nqp-m --prefix 00:33
gist.github.com/coke/7903139 - actual line numbers and stuff. whee. 00:39
TimToady yes, I discovered this a week or two ago
it's worse when configuring from the rakudo level 00:40
[Coke] is there an open bug? my bad.
oh, the relative path thing
the bug is reporting from OP(isinvokable): {
from inside that block, but that might be macro'd too much for me just now. 00:42
TimToady is this while compiling the rakudo setting?
[Coke] updated gist.github.com/coke/7903139 with the func args. 00:43
TimToady: this is a segfault building nqp-m
(current stopper on the daily roast machine)
TimToady are you in master?
and are you using MoarVM master? 00:44
TimToady configures his rakudo with: perl Configure.pl --backends='parrot,jvm,moar' --prefix='/home/larry/nom/install' --gen-parrot --gen-nqp=master --gen-moar=master 00:45
undetected version skew can cause problems in nqp-m
[Coke] I'm just trying to build nqp, not rakudo. 00:46
TimToady on what arch?
[Coke] I don't specify, so I would expect to be getting master on moar.
whatever host06 is... checking...
Linux host06 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
TimToady specifying master explicitly has seemed to matter sometimes to me
dunno why 00:47
[Coke] what branch of rakudo are you on?
00:48 cognominal joined
[Coke] wipes ./nqp and tries again with TimToady++'s config (minus parrot,jvm) 00:49
TimToady++ # cargo culting done right. 00:50
I wonder if we need to bump the required version in both places. 00:51
TimToady nom 00:53
[Coke] ah. that's probably my problem. I was on moar-support on rakudo.
TimToady oh, wait, so am I, duh
[Coke] bet that is old and has an old nqp ref.
[Coke] ah, whew, I had one thing right. 00:54
[Coke] tries to build rakudo-m
TimToady but install/ gets confused when you switch branches, so you generally have to blow it away
the various configures and the various makes are not interacting well with git
[Coke] I start fresh every day, so I have a slight advantage. 00:55
TimToady on mine I get up to where rakudo wants to compile m-BOOTSTRAP, and get a heap corrpution
on WindowsĀ® people seem to get as far as compiling the setting 00:56
[Coke] Heap corruption detected: pointer 0x2aba5552acf8 to past fromspace
so now I'm caught up to now.
TimToady yeah, please fix that one :D 00:57
which both jnthn++ and diakopter++ seem to run away from screaming...
(they get karma for being entertaining, y'see) 00:58
diakopter :) it's not that I run from that screaming, it's that I run toward everything else screaming 01:08
TimToady berserkers... 01:09
01:18 japhb_ joined
[Coke] diakopter: can we get valgrind on host06? 01:27
TimToady okay, I'm not in the sudoers list, and this incident will be reported. :) 01:31
diakopter REPORTED 01:37
[Coke]: done 01:39
[Coke] diakopter++ 01:59
I am going to wish I captured the output of that command... 02:02
valgrind sez: gist.github.com/coke/7904039 02:06
[Coke] reruns with -v and --leak-check=full, but is unsure if valgrind noticed the heapcorruption 02:08
02:28 benabik joined
[Coke] here's a more verbose run: feather.perl6.nl/~coke/barf.out 02:32
I wonder how many of those losses are due to the crash from the heap corruption 02:37
TimToady fix the crash and we'll know :P
but I'd guess your guess is right 02:40
[Coke] so, I can't gdb it (no backtrace), and valgrind isn't helpful. I think this is the point where I run away screaming. 02:48
diakopter [Coke]: well if the global destruct phase doesn't run, nothing get freed
[Coke] I wonder if I need to do a gdb run and just step through the whole thing until it splodes. 02:49
diakopter it won't help track down the problem
TimToady trouble is that something is leaving a timebomb
incorrectly rooted or some such 02:50
or somebody is assuming something doesn't move when it does 02:51
[Coke] diakopter: pointers on how to solve it most welcome. I was just hoping to find the place where it exploded. 02:56
[Coke] packs up for the commute home. 02:58
07:07 FROGGS joined
FROGGS [Coke]: valgrind is not helpful because all happens in our allocated area, so there is no suspicious invalid read or so... 07:11
[Coke]: but this was interesting: gist.github.com/FROGGS/8efa32fce9e...e-bash-L25
[Coke]: the exploding thing is an MSMStaticFrame
09:16 odc joined
nwc10 is it worth creating a way to make the GC very agressive, and (at least) do a nursery sweep at every point it might do one 10:14
to rapidly show up unrooted thingies
yes, I realise that this will be slow
but it's probably faster than how a developer currently finds porblems 10:15
or even just valgrind
FROGGS it might help insofar you would hit the wrongish thing earlier
at least that is what I'd hope
diakopter nwc10: sure, just decrease the nursery size pathologically 10:28
10:42 tgt joined 12:33 tgt joined 15:47 eternaleye joined
jnthn evening o/ 16:01
16:01 benabik joined
nwc10 good UGT, jnthn 16:01
jnthn Mostly, hunting the GC bug from my side blocks on a chunk of undistracted time I can dedicate to it. :) 16:03
jnthn managed to attend talks by the creators of Erlang and Eiffel this week :) 16:09
timotimo cool :) 16:16
something good to steal for perl6 or moarvm perhaps? 16:17
jnthn Well, the Erlang one had some good stuff on fault tolerance. 16:18
timotimo that's always cool 16:20
perl6 could learn a bit of marketing from Outlaw Techno Psychobitch.
16:29 FROGGS joined 16:42 jnap joined 18:22 jnap joined 18:47 jnap1 joined 19:15 ssutch joined 19:16 ssutch joined 19:30 ssutch joined 20:45 benabik joined 21:00 jnap joined 21:27 jnap joined
[Coke] lizmat: I was going to say you shouldn't enable me, but my boss decalred he's taking the team out for drinks and dinner this evening, which makes a date switch much more attractive. 22:32
ww
22:53 jnap joined 22:54 ssutch joined 23:35 ssutch joined 23:47 jnap joined 23:55 benabik joined