github.com/moarvm/moarvm | IRC logs at colabti.org/irclogger/irclogger_logs/moarvm
Set by AlexDaniel on 12 June 2018.
00:00 AlexDaniel` left, ilmari_ left, wictory[m] left 00:10 AlexDaniel` joined, p6bannerbot sets mode: +v AlexDaniel` 00:37 wictory[m] joined, ilmari_ joined, p6bannerbot sets mode: +v wictory[m], p6bannerbot sets mode: +v ilmari_ 00:55 avar left 01:06 avar joined, avar left, avar joined, p6bannerbot sets mode: +v avar 01:07 p6bannerbot sets mode: +v avar
Geth MoarVM: Kaiepi++ created pull request #1001:
Include system library paths in Configure.pl if configured to use them
01:20
03:19 dogbert2_ joined 03:20 p6bannerbot sets mode: +v dogbert2_ 03:22 dogbert21 left 03:35 reportable6 left 03:39 reportable6 joined 03:40 p6bannerbot sets mode: +v reportable6 04:40 evalable6 left 04:44 evalable6 joined 04:45 p6bannerbot sets mode: +v evalable6 05:08 Ven`` joined 05:09 p6bannerbot sets mode: +v Ven`` 05:23 Ven`` left
samcv Kaiepi, reviewed your PR 05:40
07:21 domidumont joined 07:22 p6bannerbot sets mode: +v domidumont 07:44 robertle joined 07:45 p6bannerbot sets mode: +v robertle 07:57 zakharyas joined 07:58 p6bannerbot sets mode: +v zakharyas 09:20 BinGOs_ joined, hoelzro_ joined, p6bannerbot sets mode: +v BinGOs_ 09:21 p6bannerbot sets mode: +v hoelzro_ 09:23 jnthn1 joined, p6bannerbot sets mode: +v jnthn1, Voldenet_ joined 09:24 p6bannerbot sets mode: +v Voldenet_ 09:25 zakharyas left, hoelzro left, Voldenet left, jnthn left, BinGOs left, jpf1 left 09:26 BinGOs_ is now known as BinGOs 09:27 BinGOs left, BinGOs joined, rajaniemi.freenode.net sets mode: +v BinGOs, p6bannerbot sets mode: +v BinGOs 09:31 jpf1 joined 09:32 zakharyas joined, p6bannerbot sets mode: +v jpf1, p6bannerbot sets mode: +v zakharyas 09:33 robertle left 09:35 robertle joined 09:36 p6bannerbot sets mode: +v robertle 09:41 jnthn1 is now known as jnthn 09:43 robertle left 09:50 robertle joined 09:51 p6bannerbot sets mode: +v robertle 09:59 lizmat joined, p6bannerbot sets mode: +v lizmat 11:02 tbrowder___ left 11:03 tbrowder___ joined, p6bannerbot sets mode: +v tbrowder___ 11:21 domidumont left 11:23 lizmat_ joined, p6bannerbot sets mode: +v lizmat_ 11:28 lizmat left 11:39 tbrowder___ left 11:40 tbrowder___ joined, p6bannerbot sets mode: +v tbrowder___ 12:15 zakharyas left 13:00 domidumont joined 13:01 p6bannerbot sets mode: +v domidumont 13:27 lizmat_ is now known as lizmat 13:51 zakharyas joined 13:52 p6bannerbot sets mode: +v zakharyas 14:26 AlexDani` joined 14:27 p6bannerbot sets mode: +v AlexDani`, tbrowder___ left 14:28 tbrowder___ joined, p6bannerbot sets mode: +v tbrowder___ 14:30 AlexDaniel left 14:34 domidumont left 14:35 tbrowder___ left 14:37 tbrowder joined, p6bannerbot sets mode: +v tbrowder 15:12 domidumont joined 15:13 p6bannerbot sets mode: +v domidumont 15:42 AlexDani` is now known as AlexDaniel 15:47 Ven`` joined 15:48 Ven`` left, Ven`` joined, p6bannerbot sets mode: +v Ven`` 15:49 p6bannerbot sets mode: +v Ven`` 16:27 robertle left 16:28 Ven`` left 16:42 zakharyas left, Ven`` joined 16:43 p6bannerbot sets mode: +v Ven`` 16:46 lizmat left 17:08 robertle joined 17:09 p6bannerbot sets mode: +v robertle 17:12 Ven`` left 17:20 Ven`` joined 17:21 p6bannerbot sets mode: +v Ven`` 17:42 brrt joined 17:43 p6bannerbot sets mode: +v brrt
brrt ohai #moarvm 17:43
yoleaux 23 Nov 2018 19:18Z <nine> brrt: I sure hope I can help :)
brrt I can't seem to find the concentration to actually get to work on it :-( 17:44
(it being, the implementation of nativecallinvoke in the expr jit, especially testing that it is correct)
lucasb is there any way to segfault moarvm on purpose from Perl 6 code? 17:49
17:49 lizmat joined, p6bannerbot sets mode: +v lizmat
lucasb and if there isn't, can't one exist? 17:50
I remember seeing this "feature" in some environment/language 17:51
japhb lucasb: Do you want to *actually* segfault, or do you just want to send it sig 11 or so? 17:52
lucasb just for the purposes of learning what a legit segfault looks like in a debubging tool
japhb Oh, I see.
brrt write a C program, you'll get one
lucasb oh, then bind it with Nativecall?
brrt I'm not sure why you want to hurt moarvm so much
japhb lucasb: Yeah, it shouldn't be hard to do it with nativecall
brrt :-P 17:53
japhb brrt: He wants to learn how to debug a segfault.
lucasb I don't want a standalone C program, I want to segfault from within Perl 6 code
japhb So cause one and look at the crash in a debugger
brrt hehe
well, i'll make one for you, no problem
lucasb brrt: you will? :-)
brrt just wait, they'll pop up soon enough 17:55
but we try not to have segfaults. I'm not sure we're right about that, but that's what we do
lucasb you are not sure moarvm should have *no* segfaults? (Just trying to learn/understand :-) 17:57
brrt well, something like java will not emit checks for null pointers, but translate a segmentation vialotion to a null pointer to a NullPointerException 18:00
that makes the code quite a bit smaller for the common case that a pointer is indeed not null
there's another school of thought that says all UB is a safety problem. I'm not so sure what my position on that is 18:02
lucasb but a NullPointerException is "catchable", right? (dunno Java)
brrt yes
but that's not a problem.
when a SEGV is raised, and it happens to be caused by access of a null pointer, it is really not all that hard to write a signal handler to catch it and translate to a catchable exception 18:03
I forgot which signals could not be caught, but SIGSEGV is not one of them 18:04
lucasb ah, I remembered where I've seen it: Redis! 18:05
redis.io/commands/debug-segfault
DEBUG SEGFAULT performs an invalid memory access that crashes Redis. It is used to simulate bugs during the development.
I think this could be useful, can I haz it in moarvm?
brrt 'no' 18:07
timotimo easy to build a module that does it 18:08
brrt :-P
lucasb hehe, ok. I'll push this project into my todo list :) 18:09
timotimo it'll be two lines 18:11
18:14 MasterDuke joined, p6bannerbot sets mode: +v MasterDuke 18:15 Ven`` left, MasterDuke left, MasterDuke joined, herbert.freenode.net sets mode: +v MasterDuke, p6bannerbot sets mode: +v MasterDuke 18:21 Ven`` joined 18:22 p6bannerbot sets mode: +v Ven`` 18:26 Ven`` left 18:33 domidumont left 18:36 brrt left 19:23 MasterDuke left 19:46 brrt joined 19:47 p6bannerbot sets mode: +v brrt
Geth MoarVM: c0799ec146 | (Ben Davies)++ | Configure.pl
Include system library paths in Configure.pl if configured to use them

Fixes #1000
19:48
MoarVM: 6307866af8 | (Samantha McVey)++ (committed using GitHub Web editor) | Configure.pl
Merge pull request #1001 from Kaiepi/configure2

Include system library paths in Configure.pl if configured to use them
lucasb What was "s/\n/ /g" before, became "s/\n//g", but maybe pkg-config never outputs more than one line, so probably harmless, otherwise things could get concatenated. 20:02
20:10 travis-ci joined, p6bannerbot sets mode: +v travis-ci
travis-ci MoarVM build passed. Samantha McVey 'Merge pull request #1001 from Kaiepi/configure2 20:10
travis-ci.org/MoarVM/MoarVM/builds/459918511 github.com/MoarVM/MoarVM/compare/6...07866af856
20:10 travis-ci left 20:22 AlexDaniel left, AlexDani` joined 20:23 p6bannerbot sets mode: +v AlexDani` 20:24 AlexDani` is now known as AlexDaniel 20:59 robertle left 21:10 lizmat left 21:12 lizmat joined, p6bannerbot sets mode: +v lizmat
brrt .tell jnthn you were right, .net is much superior to java / jvm 21:37
yoleaux brrt: I'll pass your message to jnthn.
brrt as I am learning the hard way 21:40
timotimo i don't see where exactly spesh logs are freed 22:07
oh 22:09
maybe i see where it happens
22:15 brrt left
lizmat And another Perl 6 weekly hits the Net: p6weekly.wordpress.com/2018/11/26/...onga-grep/ 22:57
jnthn Quite a few things for a slow week :) 23:06
yoleaux 21:37Z <brrt> jnthn: you were right, .net is much superior to java / jvm
jnthn lizmat++
23:19 Voldenet_ is now known as Voldenet, Voldenet left, Voldenet joined, tolkien.freenode.net sets mode: +v Voldenet, p6bannerbot sets mode: +v Voldenet
timotimo jnthn: the spesh worker and threads are supposed to recycle spesh logs, right? 23:38
because i'm seeing MVM_spesh_log_create be called over and over 23:42
hum. my idea that maybe it's not running gc was not supported by evidence 23:47
bleh. the watched pot never boils 23:55