Perl 6 - the future is here, just unevenly distributed

IRC log for #moarvm, 2017-10-20

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

All times shown according to UTC.

Time Nick Message
01:18 nativecallable6 joined #moarvm
01:18 quotable6 joined #moarvm
01:18 committable6 joined #moarvm
01:18 bloatable6 joined #moarvm
01:18 bisectable6 joined #moarvm
01:18 greppable6 joined #moarvm
01:18 releasable6 joined #moarvm
01:18 benchable6 joined #moarvm
01:18 evalable6 joined #moarvm
01:18 coverable6 joined #moarvm
01:18 unicodable6 joined #moarvm
01:18 statisfiable6 joined #moarvm
01:18 squashable6 joined #moarvm
01:20 lizmat joined #moarvm
01:56 ilbot3 joined #moarvm
01:56 Topic for #moarvm is now https://github.com/moarvm/moarvm | IRC logs at  http://irclog.perlgeek.de/moarvm/today
02:16 evalable6 joined #moarvm
04:02 evalable6 joined #moarvm
06:02 domidumont joined #moarvm
06:38 nativecallable6 joined #moarvm
06:38 greppable6 joined #moarvm
06:38 evalable6 joined #moarvm
06:38 committable6 joined #moarvm
06:38 quotable6 joined #moarvm
06:38 coverable6 joined #moarvm
06:38 unicodable6 joined #moarvm
06:38 bisectable6 joined #moarvm
06:38 bloatable6 joined #moarvm
06:38 releasable6 joined #moarvm
06:38 benchable6 joined #moarvm
06:38 squashable6 joined #moarvm
06:38 statisfiable6 joined #moarvm
06:52 Ven joined #moarvm
07:10 domidumont joined #moarvm
07:27 Ven_ joined #moarvm
07:57 domidumont joined #moarvm
08:03 Ven joined #moarvm
08:03 rba joined #moarvm
08:13 zakharyas joined #moarvm
08:15 robertle joined #moarvm
08:34 rba_ joined #moarvm
09:00 rba joined #moarvm
09:01 rba timotimo: I have now build MoarVM on Solaris with --debug=3 and --optimize=0. Got todays MoarVM and nqp from git and still get same test errors:
09:26 rba timotimo: t/nqp/059-nqpop.t and t/nqp/104-method-cache.t failed
09:26 rba not ok 92 - nqp::pow_n(1, nqp::nan)
09:26 rba not ok 93 - nqp::pow_n(1, nqp::inf)
09:26 rba not ok 94 - nqp::pow_n(1, nqp::neginf)
09:27 rba # ./nqp-m t/nqp/104-method-cache.t
09:27 rba 1..16
09:27 rba ok 1 - calling a method found in cache
09:27 rba ok 2 - nqp::can on a method found in cache
09:27 rba ok 3 - nqp::can on a method not in cache
09:27 rba ok 4 - ...find_method is not called when the cache is authoritative
09:27 rba Segmentation Fault (core dumped)
09:31 rba bash-4.3# ./nqp-m -e 'say(nqp::pow_n(1, nqp::nan))'
09:31 rba NaN
09:31 rba bash-4.3# ./nqp-m -e 'say(nqp::pow_n(1, nqp::inf))'
09:31 rba NaN
09:31 rba bash-4.3# ./nqp-m -e 'say(nqp::pow_n(1, nqp::neginf))'
09:31 rba NaN
09:44 rba About the segmentation fault:
09:44 rba https://gist.github.com/b83f789c58dcfda29a53e682e2f4edd0
09:46 rba If someone could adivise me how to "cook" the gdb to get valuable information to dig to the root cause, let me know. dbg session still open...
09:49 rba https://gist.github.com/21673ab1df34016a06c5128910b67203
10:01 Ven joined #moarvm
10:23 Ven_ joined #moarvm
11:01 Ven joined #moarvm
11:16 rba joined #moarvm
11:42 patrickz joined #moarvm
11:49 timotimo rba: if the debug session for the seg fault is still open, please "frame 5" and "print c_name"
11:57 samcv yhello guys
11:57 yoleaux 19 Oct 2017 20:53Z <AlexDaniel`> samcv: https://irclog.perlgeek.de/moarvm/2017-10-19#i_15327049
11:57 samcv so i volunteered for something :) ok
11:57 samcv oh yes i did
11:57 AlexDaniel` hehe :D
11:58 samcv i've been needing something to do anyway
11:58 samcv releasable6, status
11:58 releasable6 samcv, Next release in 1 day and ≈7 hours. 1 blocker. Changelog for this release was not started yet
11:58 releasable6 samcv, Details: https://gist.github.com/37d496766d04eaa162c794138697e98a
11:58 samcv ok cool
11:58 samcv AlexDaniel`, there's a list right? of things to be done before release?
11:59 AlexDaniel` samcv: https://github.com/MoarVM/MoarVM/blob/master/docs/release_guide.md
11:59 samcv ok cool
11:59 AlexDaniel` samcv: arguably the most time consuming part is the changelog, so that's probably something you want to start with early
12:00 samcv that's what I was thinking too
12:01 AlexDaniel` samcv: if you have any extra resources, there's one thing that can be improved in the process (and in that document) – signing
12:01 AlexDaniel` I've noticed that your commits are signed so it shouldn't be too hard for you
12:02 AlexDaniel` samcv: rakudo release guide talks about signing (e.g. step 16) https://github.com/rakudo/rakudo/blob/nom/docs/release_guide.pod
12:03 AlexDaniel` but depending on how you have your git set up it may actually happen automatically
12:03 AlexDaniel` then you'll just need to sign the tarball (like in step 17), and that's basically it
12:05 samcv i sign all my commits
12:06 samcv only things i don't sign is doing merges using github
12:06 AlexDaniel` yeah, me too
12:14 Ven joined #moarvm
12:47 zakharyas joined #moarvm
13:33 rba joined #moarvm
13:36 rba timotimo: output from "frame 5" and "print c_name": https://gist.github.com/38c6b0898d6dd2fd40076d0fda2ab330
13:37 timotimo ok, what's STABLE(obj)? and what's STABLE(obj)->debug_name?
13:37 timotimo (again with print)
13:38 timotimo i wonder if debug_name is a null pointer and that simply crashes on freebsd whereas it just prints an empty string on other systems?
13:39 timotimo ah, yes, passing NULL there is "officially undefined"
13:42 timotimo i'll build something
13:42 rba timotimo: https://gist.github.com/f9738f74c0358fc45ba61e2f6d22a26b
13:42 Ven joined #moarvm
13:43 timotimo yup, that's it
13:43 timotimo might be time to run moarvm with ubsan at one point
13:44 rba timotimo: what can I do now?
13:44 timotimo wait for my patch
13:44 rba timotimo: nice!
13:50 arnsholt joined #moarvm
13:55 timotimo so, so, so many usages of debug_name everywhere
14:09 rba joined #moarvm
14:12 Geth ¦ MoarVM/debug_name_safe_null: 51158fa1b3 | (Timo Paulssen)++ | 21 files
14:12 Geth ¦ MoarVM/debug_name_safe_null: don't printf NULL via an unset debug_name
14:12 Geth ¦ MoarVM/debug_name_safe_null:
14:12 Geth ¦ MoarVM/debug_name_safe_null: it's undefined behaviour and actually segfaults
14:12 Geth ¦ MoarVM/debug_name_safe_null: under solaris.
14:12 Geth ¦ MoarVM/debug_name_safe_null: review: https://github.com/MoarVM/MoarVM/commit/51158fa1b3
14:12 timotimo rba: try this branch please
14:15 rba timotimo: building, stand by
14:18 jnthn timotimo++
14:19 timotimo i wonder if we should probe for "printf null is dangerous" during configure and make this function cheaper otherwise ...
14:19 jnthn Not really; we only use it in error reporting
14:19 timotimo true
14:20 timotimo and spesh dump :P
14:20 jnthn And the compiler knows its builtins, it can strip the check out anyway
14:20 jnthn Oh, maybe not
14:20 jnthn But still...
14:20 timotimo it's not out of the question that gcc might be smart enough for this
14:20 timotimo MSVC, though ... nope :)
14:21 domidumont joined #moarvm
14:21 timotimo it took me a minute or two to notice sed without /g at the end will only replace stuff once per file :)
14:22 ilmari once per line, no?
14:22 timotimo it seemed to be once per file
14:22 timotimo but it could have been the other thing
14:23 Ven_ joined #moarvm
14:23 rba timotimo++
14:24 rba timotimo: Confirmed. Error not schowing up any more on Solaris build.
14:24 timotimo cool. now to build rakudo
14:24 timotimo not sure how to handle the mismatch of NaN semantics
14:24 rba Still have the pow_n thing...
14:24 timotimo it's practically harmless
14:25 timotimo only for apps that actually do floating point arithmetic and throw nans around
14:25 timotimo there'll be that kind of program, of course
14:25 lizmat .oO( hmmmm , nans )
14:25 timotimo but we can at least ignore that until rakudo successfully compiles
14:25 rba Ok. will go ahaed...
14:29 timotimo oh, compiler warnings about missing casts
14:31 Geth ¦ MoarVM/debug_name_safe_null: 4faa2ba88a | (Timo Paulssen)++ | 3 files
14:31 Geth ¦ MoarVM/debug_name_safe_null: add a few missing casts to MVMObject *
14:31 Geth ¦ MoarVM/debug_name_safe_null: review: https://github.com/MoarVM/MoarVM/commit/4faa2ba88a

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