github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
Geth_ MoarVM: ddlws++ created pull request #1271:
Fix utf8-c8 memory usage
02:24
discoD that's my pr if you've got questions/comments/hate. 02:31
02:37 Kaeipi left 02:38 Kaeipi joined 05:20 discoD left 06:04 harrow left 06:31 harrow joined 06:48 MasterDuke joined 07:57 zakharyas joined 08:48 Altai-man_ joined 09:08 Ven`` joined 09:15 sena_kun joined 09:16 Altai-man_ left 09:43 Kaeipi left, Merfont joined 10:43 Ven`` left 10:54 Ven`` joined 11:14 Altai-man_ joined 11:16 sena_kun left
nwc10 good *, #moarvm 11:20
11:31 committable6 left, committable6 joined 12:57 rypervenche joined 13:15 sena_kun joined 13:16 Altai-man_ left 13:55 squashable6 left 13:56 squashable6 joined 14:41 Merfont is now known as Kaiepi
nine Darn....I'm pretty sure that sc_idx is not correct: $4 = {sc_forward_u = {forwarder = 0xe3bc340, sc = {sc_idx = 238797632, idx = 0}, st = 0xe3bc340}, owner = 1, flags = 16, size = 48} 14:47
100 % reproducible, always in a call stack involving MVM_profile_heap_take_snapshot 14:48
jnthn Is 0xe3bc340 valid? 14:50
(as a memeory address)
nine (gdb) p *c 14:51
$7 = {sc_forward_u = {forwarder = 0xb1e2e80, sc = {sc_idx = 186527360, idx = 0}, st = 0xb1e2e80}, owner = 1, flags = 16, size = 48}
(gdb) p *c->sc_forward_u->forwarder
$8 = {sc_forward_u = {forwarder = 0xb1e2eb0, sc = {sc_idx = 186527408, idx = 0}, st = 0xb1e2eb0}, owner = 1, flags = 16, size = 48}
0xb1e2e80 doesn't look like an STable either 14:52
MasterDuke our ui64toa and i64toa are taken from github.com/miloyip/itoa-benchmark, but assuming our names match, there are faster versions 14:57
nwc10 nine: ASAN and/or valgrind don't say much/ 14:59
?
nine nwc10: well valgrind does report the invalid read, but at that point it's already too late 15:06
15:14 Altai-man_ joined 15:15 Ven`` left 15:16 sena_kun left 15:49 Ven`` joined 16:32 [Coke] left 16:35 [Coke] joined, [Coke] left, [Coke] joined 16:48 patrickb joined 17:15 sena_kun joined 17:17 Altai-man_ left 17:19 AlexDaniel left 17:20 AlexDaniel joined, AlexDaniel left, AlexDaniel joined 18:04 robertle joined 18:49 patrickb left 18:50 hankache joined 18:55 patrickb joined 18:59 robertle left 19:02 robertle joined 19:14 Altai-man_ joined 19:16 sena_kun left 19:27 robertle left, lucasb joined 19:33 patrickb left 19:36 patrickb joined 19:57 hankache left 20:52 Ven`` left 21:10 zakharyas left 21:15 sena_kun joined 21:16 Altai-man_ left 21:19 discoD joined 21:25 patrickb left 21:26 patrickb joined, sena_kun left 21:34 dogbert17 joined
dogbert17 hmm, something is wrong with the heap profiler - MoarVM panic: Adding item to worklist already freed in gen2 21:55
22:03 patrickb left
dogbert17 it looks like this: gist.github.com/dogbert17/76bde0a8...3f441d9f62 23:00
23:55 MasterDuke left