01:48
ilbot3 joined
03:56
geekosaur joined
03:59
geekosaur joined
06:11
domidumont joined
06:17
domidumont joined
08:04
zakharyas joined
17:02
domidumont joined
18:09
pyrimidine joined
18:20
dalek joined
18:31
FROGGS joined
18:36
domidumont joined
18:52
TheLemonMan joined
|
|||
dalek | Heuristic branch merge: pushed 20 commits to MoarVM/line_based_coverage_4 by timo | 18:59 | |
timotimo | ^- just a rebase of the line_based_coverage_3 branch | ||
not really merge-able as it interferes with inlining in some strange way :( | |||
19:06
Ven_ joined
20:07
lizmat joined
|
|||
timotimo | Thread 3 bound to an attribute of an object allocated by thread 1 | 20:12 | |
at <unknown>:1 (/home/timo/perl6/install/share/nqp/lib/Perl6/BOOTSTRAP.moarvm:add_to_cache) | |||
i get a million cases of this when using a cross thread write log on a script that crashes with "zeroed target thread id in work pass" | |||
20:14
zakharyas joined
|
|||
timotimo | i can make this go away by removing an autothreading operation from Promise.Bool | 20:19 | |
i imagine we'll want to protect this cache with a lock perhaps? | 20:20 | ||
the crash i have now is in find_best_dispatchee | 20:27 | ||
20:27
lizmat joined
|
|||
timotimo | well, not necessarily crash, but it shows up in the cross thread write log | 20:27 | |
jnthn | Cross thread write log doesn't mean bug | 20:30 | |
Not automatically | |||
timotimo | OK | ||
i'm not sure how to properly debug this program | |||
i wonder if it gets better if i throw out the native calls entirely | 20:31 | ||
cool, it still crashes. and very fast, too | |||
interested in the script? | 20:33 | ||
removing a sub that doesn't even get called makes it finish :D | 20:48 | ||
that sub is allowed to be empty and have an empty signature | |||
but it is also allowed to come near to the start rather than at the very end | |||
TheLemonMan | JIT bug? | 20:49 | |
timotimo | /home/timo/perl6/install/lib/libmoar.so(MVM_args_proc_cleanup_for_cache+0x23)[0x7f6cabfda273] | ||
^- this appears in a backtrace of something stumbling over a corrupted heap | |||
double free or corruption | |||
nope, i can get it to crash even when the jit is off | 20:50 | ||
and even when spesh is off completely | |||
gist.github.com/timo/610b39f340db9...97c11fa2c3 | 20:51 | ||
if you want to experiment | |||
mandelbrot is the sub that seems to make things stable when it gets removed | 20:53 | ||
TheLemonMan | timotimo, jitbug :D | 21:06 | |
it's jumping to 0x3BB0 | |||
timotimo | how can it be a jitbug if it also explodes when the jit is turned off? :P | 21:09 | |
must be one script with multiple bugs, i suppose | |||
keep me posted on what you find out, anyway | 21:18 | ||
TheLemonMan | I finally managed to make it crash with the Jit turned off | 21:19 | |
MVM_SC_WB_OBJ: Assertion `!(obj->header.flags & MVM_CF_FORWARDER_VALID)' | |||
no interesting output from valgrind though | |||
timotimo | yeah, same on my end | 21:20 | |
maybe ASAN has something to say, or maybe hellgrind |