Welcome to the main channel on the development of MoarVM, a virtual machine for NQP and Rakudo (moarvm.org). This channel is being logged for historical purposes.
Set by lizmat on 24 May 2021.
00:06 reportable6 left 00:07 reportable6 joined 00:55 evalable6 joined 01:56 linkable6 joined 02:37 squashable6 left 02:38 frost joined 03:09 colemanx left, colemanx joined 03:13 colemanx left 04:33 frost left 04:36 colemanx joined 04:38 squashable6 joined 05:38 greppable6 left, bloatable6 left, committable6 left, tellable6 left, notable6 left, quotable6 left, benchable6 left, coverable6 left, releasable6 left, shareable6 left, nativecallable6 left, evalable6 left, statisfiable6 left, sourceable6 left, bisectable6 left, unicodable6 left, linkable6 left, reportable6 left, squashable6 left, bloatable6 joined, reportable6 joined 05:39 nativecallable6 joined, notable6 joined, evalable6 joined, quotable6 joined, bisectable6 joined 05:40 statisfiable6 joined 05:41 releasable6 joined, committable6 joined, greppable6 joined 06:07 reportable6 left 06:40 tellable6 joined, linkable6 joined 07:40 benchable6 joined 07:41 sourceable6 joined
Nicholas * good * 08:00
nine It is a good * to * 08:20
08:38 shareable6 joined
Nicholas aargh, flashbacks. [* TO *] 08:39
08:39 squashable6 joined
timo [* TOTO *] Africa 09:35
09:41 unicodable6 joined 10:39 coverable6 joined 11:39 evalable6 left, linkable6 left, linkable6 joined 13:08 reportable6 joined 13:40 evalable6 joined 14:02 discord-raku-bot left 14:03 discord-raku-bot joined 14:07 discord-raku-bot left, discord-raku-bot joined
MasterDuke i don't recognize that syntax, what's it from? 14:10
Nicholas I met [* TO *] in kibana, but I think that ultimately it's from Lucene 14:23
Voldenet (makes sense, since kibana is using lucene) 14:25
MasterDuke huh, i've used lucene a bunch, but remember that 14:28
14:40 frost joined
MasterDuke ugh, problems in something like that itoa change were pretty easy to debug. e.g., "123" becomes 12...off-by-one. but this remove-spesh-candidate-if-too-many-deopts rebase... 14:50
(rr) p spesh_cand->body.jitcode 15:07
$1 = (MVMJitCode *) 0xffffffff00000007
nine That...doesn't look right 15:08
who wrote that value?
MasterDuke so that's obviously not good. but then i do `watch -l spesh_cand->body.jitcode`, and `reverse-continue`
Old value = (MVMJitCode *) 0xffffffff00000007
New value = (MVMJitCode *) 0x7
0x00007f91ff584060 in MVM_sc_set_collectable_sc (tc=0x559630c41e60, col=0x559630eb6d90, sc=0x7f91fe969d98) at src/6model/sc.h:125
125                 col->sc_forward_u.sc.idx    = MVM_DIRECT_SC_IDX_SENTINEL;
nine Looks like a GC issue then? 15:09
MasterDuke yeah. which is annoying, because i thought i'd found all those with the original version of the branch 15:10
15:13 frost left
MasterDuke and it's been a while since i've debugged those. missing MVMROOT perhaps? 15:14
nine That or a missing MVM_ASSIGN_REF
You may want to go back to the place where that spesh cand was created or assigned to a frame 15:15
MasterDuke hm, could MVM_callstack_unwind_frame cause problems? 15:30
hm, i thought adding spesh_cand to the MVMROOT here github.com/MoarVM/MoarVM/blame/mas...opt.c#L413 might help, but that by itself didn't. afk for a bit, but maybe something to investigate further when i get back 15:34
nine Well it's definitely missing there 15:42
Or access to spesh_cand replaced with frame->spesh_cand 15:44
17:49 nebuchadnezzar left 18:08 reportable6 left 18:29 linkable6 left 21:09 reportable6 joined
MasterDuke nine: hm, but then i'm confused by github.com/MoarVM/MoarVM/commit/74...aca30b95b5 21:16
21:37 nebuchadnezzar joined
nine Oooh...well yes, then MVMROOT is indeed the only option. And that local variable should have gotten a comment 21:47
MasterDuke i added spesh_cand to the MVMROOT (now MVMROOT2 of course), but still get the exact same error. i looked through the rest of deopt.c, but didn't notice any others obviously missing 21:59
23:33 linkable6 joined 23:36 Altai-man joined 23:37 samcv left, discord-raku-bot left, discord-raku-bot joined 23:38 samcv joined 23:39 sena_kun left 23:40 psydroid left, AlexDaniel left 23:43 discord-raku-bot left, discord-raku-bot joined 23:47 psydroid joined 23:51 discord-raku-bot left, discord-raku-bot joined 23:56 AlexDaniel joined 23:59 samcv left