Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SegFault on Test::Fuzz #5899

Open
p6rt opened this issue Dec 20, 2016 · 7 comments
Open

SegFault on Test::Fuzz #5899

p6rt opened this issue Dec 20, 2016 · 7 comments
Labels
SEGV Segmentation fault, bus error, etc.

Comments

@p6rt
Copy link

p6rt commented Dec 20, 2016

Migrated from rt.perl.org#130379 (status was 'open')

Searchable as RT130379$

@p6rt
Copy link
Author

p6rt commented Dec 20, 2016

From @FCO

HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role <https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…

The perl6 version​:

MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ docker run -ti -v$PWD​:/code --security-opt seccomp=unconfined perl6-debug perl6 --version
This is Rakudo version 2016.12-10-g7a642f8 built on MoarVM version 2016.12
implementing Perl 6.c.

that’s what I get when I try to gdb it.

MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ docker run -ti -v$PWD​:/code --security-opt seccomp=unconfined perl6-debug perl6-gdb-m --optimize=0 -I/code/lib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-tests'

This is Rakudo Perl 6 running in the GNU debugger, which often allows the user to generate useful back-
traces to debug or report issues in Rakudo, the MoarVM backend or the currently running code.

This Rakudo version is 2016.12.10.g.7.a.642.f.8 built on MoarVM version 2016.12,
running on debian (8.jessie) / linux (4.8.14.moby)

Type `bt full` to generate a backtrace if applicable, type `q` to quit or `help` for help.


Reading symbols from /usr/bin/moar...done.
Starting program​: /usr/bin/moar --execname=/usr/bin/perl6-gdb-m --libpath=/usr/share/nqp/lib --libpath=/usr/share/perl6/lib --libpath=/usr/share/perl6/runtime /usr/share/perl6/runtime/perl6.moarvm --optimize=0 -I/code/lib -MTest​::Fuzz -e sub\ bla\(Int\ \$a\)\ is\ fuzzed\ \{42\}\;\ run-tests
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7912fb7 in gc_mark (tc=0x6027c0, st=<optimized out>, data=<optimized out>, worklist=0x4922360) at src/6model/reprs/MVMCallCapture.c​:55
55 src/6model/reprs/MVMCallCapture.c​: No such file or directory.
(gdb) bt full
#​0 0x00007ffff7912fb7 in gc_mark (tc=0x6027c0, st=<optimized out>, data=<optimized out>, worklist=0x4922360) at src/6model/reprs/MVMCallCapture.c​:55
  ctx = 0x37afa10
  count = 3
  i = 0
  flag = 0
  flag_map = <optimized out>
  st = <optimized out>
  worklist = 0x4922360
  data = <optimized out>
  tc = 0x6027c0
  body = <optimized out>
#​1 0x00007ffff78ebcbc in process_worklist (tc=tc@​entry=0x6027c0, worklist=worklist@​entry=0x4922360, wtp=wtp@​entry=0x7fffffffe5f0, gen=gen@​entry=0 '\000') at src/gc/collect.c​:313
  item = 0x7ffff4d68010
  item_gen2 = <optimized out>
  to_gen2 = 1 '\001'
  gen2 = 0x602d00
  item_ptr = <optimized out>
  new_addr = 0x49828b0
  gen2count = 1610
#​2 0x00007ffff78ec2be in MVM_gc_collect (tc=0x6027c0, what_to_do=<optimized out>, gen=gen@​entry=0 '\000') at src/gc/collect.c​:129
  fromspace = <optimized out>
  tospace = <optimized out>
  worklist = 0x4922360
  wtp = {num_target_threads = 0, target_work = 0x0}
#​3 0x00007ffff78e8136 in run_gc (tc=tc@​entry=0x6027c0, what_to_do=what_to_do@​entry=0 '\000') at src/gc/orchestrate.c​:323
  other = <optimized out>
  gen = 0 '\000'
  i = <optimized out>
  n = <optimized out>
#​4 0x00007ffff78e8bd6 in MVM_gc_enter_from_allocator (tc=tc@​entry=0x6027c0) at src/gc/orchestrate.c​:457
  last_starter = 0x621060
  num_threads = <optimized out>
#​5 0x00007ffff78e8cf8 in MVM_gc_allocate_nursery (tc=0x6027c0, size=280) at src/gc/allocation.c​:32
  allocated = <optimized out>
#​6 0x00007ffff78e8fde in MVM_gc_allocate_frame (tc=tc@​entry=0x6027c0) at src/gc/allocation.c​:99
  f = 0x37aedb0
#​7 0x00007ffff78cfca8 in MVM_frame_force_to_heap (tc=0x6027c0, frame=0x7ffff7fcc260) at src/core/frame.c​:669
  promoted = <optimized out>
  cur_to_promote = 0x7ffff7fcc030
  new_cur_frame = 0x7ffff6689c38
  update_caller = 0x7ffff6689d50
  result = 0x7ffff6689c38
  frame = 0x7ffff7fcc260
  tc = 0x6027c0
#​8 0x00007ffff78d158d in MVM_frame_takeclosure (tc=0x6027c0, code=<optimized out>) at src/core/frame.c​:1090
  closure = 0x7ffff6689e68
  captured = <optimized out>
#​9 0x00007ffff78c5366 in MVM_interp_run (tc=tc@​entry=0x6027c0, initial_invoke=0x37aedb0, invoke_data=0x49828c8) at src/core/interp.c​:1089
  op = 10440
  LABELS = {0x7ffff78b5ed9 <MVM_interp_run+153>, 0x7ffff78bdfa4 <MVM_interp_run+33124>, 0x7ffff78b60c5 <MVM_interp_run+645>, 0x7ffff78b60c5 <MVM_interp_run+645>, 0x7ffff78c14e7 <MVM_interp_run+46759>,
  0x7ffff78b72bf <MVM_interp_run+5247>, 0x7ffff78b72d2 <MVM_interp_run+5266>, 0x7ffff78bdc94 <MVM_interp_run+32340>, 0x7ffff78bdcf5 <MVM_interp_run+32437>, 0x7ffff78bdd3c <MVM_interp_run+32508>,
  0x7ffff78bdd83 <MVM_interp_run+32579>, 0x7ffff78bbb44 <MVM_interp_run+23812>, 0x7ffff78bbb8a <MVM_interp_run+23882>, 0x7ffff78bbbd2 <MVM_interp_run+23954>, 0x7ffff78bbc1a <MVM_interp_run+24026>,
  0x7ffff78bbc61 <MVM_interp_run+24097>, 0x7ffff78bbca7 <MVM_interp_run+24167>, 0x7ffff78bbcee <MVM_interp_run+24238>, 0x7ffff78bbd34 <MVM_interp_run+24308>, 0x7ffff78bb6be <MVM_interp_run+22654>,
  0x7ffff78bb705 <MVM_interp_run+22725>, 0x7ffff78bce66 <MVM_interp_run+28710>, 0x7ffff78bcf82 <MVM_interp_run+28994>, 0x7ffff78bcdad <MVM_interp_run+28525>, 0x7ffff78bcdfe <MVM_interp_run+28606>,
  0x7ffff78bceb3 <MVM_interp_run+28787>, 0x7ffff78bcf14 <MVM_interp_run+28884>, 0x7ffff78c486d <MVM_interp_run+59949>, 0x7ffff78c48d4 <MVM_interp_run+60052>, 0x7ffff78c4953 <MVM_interp_run+60179>,
  0x7ffff78c5089 <MVM_interp_run+62025>, 0x7ffff78c4e9f <MVM_interp_run+61535>, 0x7ffff78c4f1b <MVM_interp_run+61659>, 0x7ffff78c4f8b <MVM_interp_run+61771>, 0x7ffff78c4ffe <MVM_interp_run+61886>,
  0x7ffff78c39ad <MVM_interp_run+56173>, 0x7ffff78c3a31 <MVM_interp_run+56305>, 0x7ffff78c3ad5 <MVM_interp_run+56469>, 0x7ffff78c44f6 <MVM_interp_run+59062>, 0x7ffff78c440d <MVM_interp_run+58829>,
  0x7ffff78c45e1 <MVM_interp_run+59297>, 0x7ffff78c4483 <MVM_interp_run+58947>, 0x7ffff78c456e <MVM_interp_run+59182>, 0x7ffff78c152a <MVM_interp_run+46826>, 0x7ffff78c159d <MVM_interp_run+46941>,
  0x7ffff78b60d8 <MVM_interp_run+664>, 0x7ffff78b60d8 <MVM_interp_run+664>, 0x7ffff78c1610 <MVM_interp_run+47056>, 0x7ffff78c17d0 <MVM_interp_run+47504>, 0x7ffff78c166c <MVM_interp_run+47148>,
  0x7ffff78c1829 <MVM_interp_run+47593>, 0x7ffff78c18ab <MVM_interp_run+47723>, 0x7ffff78c1b8d <MVM_interp_run+48461>, 0x7ffff78c1ad1 <MVM_interp_run+48273>, 0x7ffff78c1b2f <MVM_interp_run+48367>,
  0x7ffff78c198e <MVM_interp_run+47950>, 0x7ffff78c19d5 <MVM_interp_run+48021>, 0x7ffff78c1a29 <MVM_interp_run+48105>, 0x7ffff78c1a7d <MVM_interp_run+48189>, 0x7ffff78c4146 <MVM_interp_run+58118>,
---Type <return> to continue, or q <return> to quit---
  0x7ffff78c419a <MVM_interp_run+58202>, 0x7ffff78c41ee <MVM_interp_run+58286>, 0x7ffff78c4242 <MVM_interp_run+58370>, 0x7ffff78c42a3 <MVM_interp_run+58467>, 0x7ffff78c42f2 <MVM_interp_run+58546>,
  0x7ffff78c4341 <MVM_interp_run+58625>, 0x7ffff78c4391 <MVM_interp_run+58705>, 0x7ffff78c3c4e <MVM_interp_run+56846>, 0x7ffff78c3c9f <MVM_interp_run+56927>, 0x7ffff78c3cfc <MVM_interp_run+57020>,
  0x7ffff78c3d4d <MVM_interp_run+57101>, 0x7ffff78c3d97 <MVM_interp_run+57175>, 0x7ffff78c3deb <MVM_interp_run+57259>, 0x7ffff78c3e2b <MVM_interp_run+57323>, 0x7ffff78c3e6b <MVM_interp_run+57387>,
  0x7ffff78c3eab <MVM_interp_run+57451>, 0x7ffff78c3eeb <MVM_interp_run+57515>, 0x7ffff78c3f3a <MVM_interp_run+57594>, 0x7ffff78c3f89 <MVM_interp_run+57673>, 0x7ffff78c3fd8 <MVM_interp_run+57752>,
  0x7ffff78c4022 <MVM_interp_run+57826>, 0x7ffff78c4074 <MVM_interp_run+57908>, 0x7ffff78c40c6 <MVM_interp_run+57990>, 0x7ffff78bd90c <MVM_interp_run+31436>, 0x7ffff78bd95a <MVM_interp_run+31514>,
  0x7ffff78bd9e7 <MVM_interp_run+31655>, 0x7ffff78bda6c <MVM_interp_run+31788>, 0x7ffff78bdacb <MVM_interp_run+31883>, 0x7ffff78bdb2a <MVM_interp_run+31978>, 0x7ffff78bdb80 <MVM_interp_run+32064>,
  0x7ffff78bdbd6 <MVM_interp_run+32150>, 0x7ffff78c47ae <MVM_interp_run+59758>, 0x7ffff78c4805 <MVM_interp_run+59845>, 0x7ffff78c6801 <MVM_interp_run+68033>, 0x7ffff78c6853 <MVM_interp_run+68115>,
  0x7ffff78c66c3 <MVM_interp_run+67715>, 0x7ffff78c6715 <MVM_interp_run+67797>, 0x7ffff78c6767 <MVM_interp_run+67879>, 0x7ffff78c68a5 <MVM_interp_run+68197>, 0x7ffff78c3b4b <MVM_interp_run+56587>,
  0x7ffff78c641b <MVM_interp_run+67035>, 0x7ffff78c637d <MVM_interp_run+66877>, 0x7ffff78c63cc <MVM_interp_run+66956>, 0x7ffff78c623d <MVM_interp_run+66557>, 0x7ffff78c628c <MVM_interp_run+66636>,
  0x7ffff78c62dd <MVM_interp_run+66717>, 0x7ffff78c632c <MVM_interp_run+66796>, 0x7ffff78c4b22 <MVM_interp_run+60642>, 0x7ffff78c6674 <MVM_interp_run+67636>, 0x7ffff78c65bf <MVM_interp_run+67455>,
  0x7ffff78c6619 <MVM_interp_run+67545>, 0x7ffff78c6475 <MVM_interp_run+67125>, 0x7ffff78c64ce <MVM_interp_run+67214>, 0x7ffff78c651f <MVM_interp_run+67295>, 0x7ffff78c6570 <MVM_interp_run+67376>,
  0x7ffff78c0c68 <MVM_interp_run+44584>, 0x7ffff78c0cc5 <MVM_interp_run+44677>, 0x7ffff78c0d1b <MVM_interp_run+44763>, 0x7ffff78c5909 <MVM_interp_run+64201>, 0x7ffff78c57c9 <MVM_interp_run+63881>,
  0x7ffff78c5817 <MVM_interp_run+63959>, 0x7ffff78c5860 <MVM_interp_run+64032>, 0x7ffff78c58b4 <MVM_interp_run+64116>, 0x7ffff78c49ce <MVM_interp_run+60302>, 0x7ffff78c5b62 <MVM_interp_run+64802>,
  0x7ffff78c5aa8 <MVM_interp_run+64616>, 0x7ffff78c5b05 <MVM_interp_run+64709>, 0x7ffff78c595a <MVM_interp_run+64282>, 0x7ffff78c59aa <MVM_interp_run+64362>, 0x7ffff78c59fe <MVM_interp_run+64446>,
  0x7ffff78c5a54 <MVM_interp_run+64532>, 0x7ffff78c3bfa <MVM_interp_run+56762>, 0x7ffff78c5f57 <MVM_interp_run+65815>, 0x7ffff78c5ea7 <MVM_interp_run+65639>, 0x7ffff78c5ef1 <MVM_interp_run+65713>,
  0x7ffff78c5bb7 <MVM_interp_run+64887>, 0x7ffff78c5c6a <MVM_interp_run+65066>, 0x7ffff78c5d29 <MVM_interp_run+65257>, 0x7ffff78c5de8 <MVM_interp_run+65448>, 0x7ffff78c50fe <MVM_interp_run+62142>,
  0x7ffff78c51bd <MVM_interp_run+62333>, 0x7ffff78c6173 <MVM_interp_run+66355>, 0x7ffff78c61d8 <MVM_interp_run+66456>, 0x7ffff78c5f9f <MVM_interp_run+65887>, 0x7ffff78c6004 <MVM_interp_run+65988>,
  0x7ffff78c6069 <MVM_interp_run+66089>, 0x7ffff78c60ee <MVM_interp_run+66222>, 0x7ffff78bfd15 <MVM_interp_run+40661>, 0x7ffff78c5553 <MVM_interp_run+63251>, 0x7ffff78c5453 <MVM_interp_run+62995>,
  0x7ffff78c54d3 <MVM_interp_run+63123>, 0x7ffff78c4a22 <MVM_interp_run+60386>, 0x7ffff78c4aa2 <MVM_interp_run+60514>, 0x7ffff78c55d8 <MVM_interp_run+63384>, 0x7ffff78c567b <MVM_interp_run+63547>,
  0x7ffff78c4668 <MVM_interp_run+59432>, 0x7ffff78c470b <MVM_interp_run+59595>, 0x7ffff78c5391 <MVM_interp_run+62801>, 0x7ffff78c53f4 <MVM_interp_run+62900>, 0x7ffff78c520e <MVM_interp_run+62414>,
  0x7ffff78c5261 <MVM_interp_run+62497>, 0x7ffff78c52f4 <MVM_interp_run+62644>, 0x7ffff78c533d <MVM_interp_run+62717>, 0x7ffff78c3ba2 <MVM_interp_run+56674>, 0x7ffff78c4e17 <MVM_interp_run+61399>,
  0x7ffff78c4d2e <MVM_interp_run+61166>, 0x7ffff78c4db6 <MVM_interp_run+61302>, 0x7ffff78c4b71 <MVM_interp_run+60721>, 0x7ffff78c4bdb <MVM_interp_run+60827>, 0x7ffff78c4c66 <MVM_interp_run+60966>,
  0x7ffff78c4cd0 <MVM_interp_run+61072>, 0x7ffff78b60fe <MVM_interp_run+702>, 0x7ffff78b615f <MVM_interp_run+799>, 0x7ffff78b61c0 <MVM_interp_run+896>, 0x7ffff78b621a <MVM_interp_run+986>, 0x7ffff78b6277 <MVM_interp_run+1079>,
  0x7ffff78b62d4 <MVM_interp_run+1172>, 0x7ffff78b6330 <MVM_interp_run+1264>, 0x7ffff78b637c <MVM_interp_run+1340>, 0x7ffff78b63c4 <MVM_interp_run+1412>, 0x7ffff78b642b <MVM_interp_run+1515>,
  0x7ffff78b6f3c <MVM_interp_run+4348>, 0x7ffff78b6fa6 <MVM_interp_run+4454>, 0x7ffff78b6e85 <MVM_interp_run+4165>, 0x7ffff78b70ec <MVM_interp_run+4780>, 0x7ffff78b6ffa <MVM_interp_run+4538>,
  0x7ffff78b7068 <MVM_interp_run+4648>, 0x7ffff78b6a71 <MVM_interp_run+3121>, 0x7ffff78b6af5 <MVM_interp_run+3253>, 0x7ffff78b6b79 <MVM_interp_run+3385>, 0x7ffff78b6bfd <MVM_interp_run+3517>,
  0x7ffff78b6cb8 <MVM_interp_run+3704>, 0x7ffff78b6d37 <MVM_interp_run+3831>, 0x7ffff78b6daf <MVM_interp_run+3951>, 0x7ffff78b6ed8 <MVM_interp_run+4248>, 0x7ffff78b647a <MVM_interp_run+1594>,
  0x7ffff78b64d6 <MVM_interp_run+1686>, 0x7ffff78b6519 <MVM_interp_run+1753>, 0x7ffff78b6567 <MVM_interp_run+1831>, 0x7ffff78b65c3 <MVM_interp_run+1923>...}
  cur_op = 0x7ffff532f360 "]"
  bytecode_start = 0x7ffff532f358 "\237"
  reg_base = 0x4921f60
  cu = 0x6642f0
  cur_callsite = 0x7ffff7dcaf00 <two_args_callsite>
#​10 0x00007ffff797c809 in MVM_vm_run_file (instance=0x602010, filename=0x7fffffffeeb1 "/usr/share/perl6/runtime/perl6.moarvm") at src/moar.c​:309
  tc = 0x6027c0
  cu = 0x662df0
#​11 0x0000000000400f8f in main (argc=11, argv=0x7fffffffec28) at src/main.c​:192
  instance = 0x602010
  input_file = 0x7fffffffeeb1 "/usr/share/perl6/runtime/perl6.moarvm"
  executable_name = <optimized out>
  lib_path = {0x7fffffffee5c "/usr/share/nqp/lib", 0x7fffffffee79 "/usr/share/perl6/lib", 0x7fffffffee98 "/usr/share/perl6/runtime", 0x0, 0x7ffff7ffe1a8 "", 0x0, 0x1 <error​: Cannot access memory at address 0x1>,
  0x4010ed <__libc_csu_init+77> "H\203\303\001H9\353u\352H\203\304\b[]A\\A]A^A_\303ff.\017\037\204"}
  dump = <optimized out>
  full_cleanup = <optimized out>
  argi = 6
  lib_path_i = <optimized out>
(gdb) call MVM_print_backtrace(tc)
No symbol "MVM_print_backtrace" in current context.
(gdb) call MVM_dump_backtrace(tc)
  at <unknown>​:1 (/usr/share/nqp/lib/Perl6/BOOTSTRAP.moarvm​:)
from SETTING​::src/core/Mu.pm​:527 (/usr/share/perl6/runtime/CORE.setting.moarvm​:perl)
from SETTING​::src/core/Setty.pm​:75 (/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:417 (/usr/share/perl6/runtime/CORE.setting.moarvm​:push-all)
from SETTING​::src/core/Iterator.pm​:70 (/usr/share/perl6/runtime/CORE.setting.moarvm​:push-until-lazy)
from SETTING​::src/core/List.pm​:243 (/usr/share/perl6/runtime/CORE.setting.moarvm​:reify-until-lazy)
from SETTING​::src/core/List.pm​:1238 (/usr/share/perl6/runtime/CORE.setting.moarvm​:join)
from SETTING​::src/core/Any.pm​:153 (/usr/share/perl6/runtime/CORE.setting.moarvm​:join)
from SETTING​::src/core/Setty.pm​:73 (/usr/share/perl6/runtime/CORE.setting.moarvm​:perl)
from /code/lib/Test/Fuzz/Generator.pm6 (Test​::Fuzz​::Generator)​:15 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/3C/3C3AF497BAC115D045D262DABA57A198F363CF82​:)
from /code/lib/Test/Fuzz/Generator.pm6 (Test​::Fuzz​::Generator)​:15 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/3C/3C3AF497BAC115D045D262DABA57A198F363CF82​:generate)
from /code/lib/Test/Fuzz/AggGenerators.pm6 (Test​::Fuzz​::AggGenerators)​:21 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/FCB4BA9267A20C12B18033CB15E46FCA5734914A​:)
from SETTING​::src/core/Any-iterable-methods.pm​:462 (/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:448 (/usr/share/perl6/runtime/CORE.setting.moarvm​:sink-all)
from SETTING​::src/core/Seq.pm​:159 (/usr/share/perl6/runtime/CORE.setting.moarvm​:sink)
from /code/lib/Test/Fuzz/AggGenerators.pm6 (Test​::Fuzz​::AggGenerators)​:20 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/FCB4BA9267A20C12B18033CB15E46FCA5734914A​:build-possibilities)
from SETTING​::src/core/Mu.pm​:693 (/usr/share/perl6/runtime/CORE.setting.moarvm​:dispatch​:<!>)
from /code/lib/Test/Fuzz/AggGenerators.pm6 (Test​::Fuzz​::AggGenerators)​:31 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/FCB4BA9267A20C12B18033CB15E46FCA5734914A​:generate-samples)
from /code/lib/Test/Fuzz/Fuzzed.pm6 (Test​::Fuzz​::Fuzzed)​:21 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/5B/5B6759756EF7703FD91573CDB96C7516BF6F033F​:)
from perl#sources/C712FE6969F786C9380D643DF17E85D06868219E (Test)​:364 (/usr/share/perl6/precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/C7/C712FE6969F786C9380D643DF17E85D06868219E​:subtest)
from perl#sources/C712FE6969F786C9380D643DF17E85D06868219E (Test)​:356 (/usr/share/perl6/precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/C7/C712FE6969F786C9380D643DF17E85D06868219E​:subtest)
from /code/lib/Test/Fuzz/Fuzzed.pm6 (Test​::Fuzz​::Fuzzed)​:20 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/5B/5B6759756EF7703FD91573CDB96C7516BF6F033F​:run-tests)
from SETTING​::src/core/Mu.pm​:748 (/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Rakudo/Internals.pm​:2409 (/usr/share/perl6/runtime/CORE.setting.moarvm​:pull-one)
from SETTING​::src/core/Iterator.pm​:57 (/usr/share/perl6/runtime/CORE.setting.moarvm​:push-all)
from SETTING​::src/core/Rakudo/Internals.pm​:2445 (/usr/share/perl6/runtime/CORE.setting.moarvm​:coremap)
from SETTING​::src/core/Rakudo/Internals.pm​:2365 (/usr/share/perl6/runtime/CORE.setting.moarvm​:coremap)
from SETTING​::src/core/metaops.pm​:515 (/usr/share/perl6/runtime/CORE.setting.moarvm​:deepmap)
from SETTING​::src/core/metaops.pm​:513 (/usr/share/perl6/runtime/CORE.setting.moarvm​:deepmap)
from SETTING​::src/core/metaops.pm​:507 (/usr/share/perl6/runtime/CORE.setting.moarvm​:HYPER)
from SETTING​::src/core/metaops.pm​:398 (/usr/share/perl6/runtime/CORE.setting.moarvm​:HYPER)
from SETTING​::src/core/Mu.pm​:742 (/usr/share/perl6/runtime/CORE.setting.moarvm​:dispatch​:<hyper>)
from /code/lib/Test/Fuzz.pm6 (Test​::Fuzz)​:20 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/E8/E824BF4C92321B778DE5CED78D180342653C59FE​:)
from SETTING​::src/core/Any-iterable-methods.pm​:462 (/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:448 (/usr/share/perl6/runtime/CORE.setting.moarvm​:sink-all)
from SETTING​::src/core/Seq.pm​:159 (/usr/share/perl6/runtime/CORE.setting.moarvm​:sink)
from /code/lib/Test/Fuzz.pm6 (Test​::Fuzz)​:19 (/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/E8/E824BF4C92321B778DE5CED78D180342653C59FE​:run-tests)
from -e​:1 (<ephemeral file>​:<unit>)
from -e​:1 (<ephemeral file>​:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp​:1577 (/usr/share/nqp/lib/NQPHLL.moarvm​:eval)
from gen/moar/stage2/NQPHLL.nqp​:1667 (/usr/share/nqp/lib/NQPHLL.moarvm​:)
from gen/moar/stage2/NQPHLL.nqp​:1664 (/usr/share/nqp/lib/NQPHLL.moarvm​:command_eval)
from src/Perl6/Compiler.nqp​:27 (/usr/share/nqp/lib/Perl6/Compiler.moarvm​:command_eval)
from gen/moar/stage2/NQPHLL.nqp​:1648 (/usr/share/nqp/lib/NQPHLL.moarvm​:command_line)
from gen/moar/main.nqp​:47 (/usr/share/perl6/runtime/perl6.moarvm​:MAIN)
from gen/moar/main.nqp​:38 (/usr/share/perl6/runtime/perl6.moarvm​:<mainline>)
from <unknown>​:1 (/usr/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1 (/usr/share/perl6/runtime/perl6.moarvm​:<entry>)

@p6rt
Copy link
Author

p6rt commented Dec 21, 2016

From @jnthn

On Mon, 19 Dec 2016 17​:36​:34 -0800, fernandocorrea@​gmail.com wrote​:

HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-
tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role
<https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…

I've tried to reproduce this today (both on a normal build, plus a build with GC stressing to shake out corruption bugs), but am unable to on Rakudo and MoarVM HEAD revisions. We've done a number of fixes for things that resulted in SEGV in recent days, so it's possible that one of those covered it. Any chance you could try on latest and see if this still happens?

Thank you,

Jonathan

@p6rt
Copy link
Author

p6rt commented Dec 21, 2016

The RT System itself - Status changed from 'new' to 'open'

@p6rt
Copy link
Author

p6rt commented Dec 23, 2016

From @FCO

for me, with this version it still segfaults​:
MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ perl6 -v
This is Rakudo version 2016.12-49-gb8df3a6 built on MoarVM version 2016.12-18-ga645d7e
implementing Perl 6.c.

Em 21 de dez de 2016, à(s) 09​:03, jnthn@​jnthn.net via RT <perl6-bugs-followup@​perl.org> escreveu​:

On Mon, 19 Dec 2016 17​:36​:34 -0800, fernandocorrea@​gmail.com wrote​:

HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-
tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role
<https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…
I've tried to reproduce this today (both on a normal build, plus a build with GC stressing to shake out corruption bugs), but am unable to on Rakudo and MoarVM HEAD revisions. We've done a number of fixes for things that resulted in SEGV in recent days, so it's possible that one of those covered it. Any chance you could try on latest and see if this still happens?

Thank you,

Jonathan

@p6rt
Copy link
Author

p6rt commented Dec 23, 2016

From @FCO

for me, with this version it still segfaults​:
MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ perl6 -v
This is Rakudo version 2016.12-49-gb8df3a6 built on MoarVM version 2016.12-18-ga645d7e
implementing Perl 6.c.

Em 21 de dez de 2016, à(s) 09​:03, jnthn@​jnthn.net via RT <perl6-bugs-followup@​perl.org> escreveu​:

On Mon, 19 Dec 2016 17​:36​:34 -0800, fernandocorrea@​gmail.com wrote​:

HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-
tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role
<https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…

I've tried to reproduce this today (both on a normal build, plus a build with GC stressing to shake out corruption bugs), but am unable to on Rakudo and MoarVM HEAD revisions. We've done a number of fixes for things that resulted in SEGV in recent days, so it's possible that one of those covered it. Any chance you could try on latest and see if this still happens?

Thank you,

Jonathan

@p6rt
Copy link
Author

p6rt commented Dec 23, 2016

From @FCO

for me, with this version it still segfaults​:
MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ perl6 -v
This is Rakudo version 2016.12-49-gb8df3a6 built on MoarVM version
2016.12-18-ga645d7e
implementing Perl 6.c.

Em 21 de dez de 2016, à(s) 09​:03, jnthn@​jnthn.net via RT <
perl6-bugs-followup@​perl.org> escreveu​:

On Mon, 19 Dec 2016 17​:36​:34 -0800, fernandocorrea@​gmail.com wrote​:

HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-
tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role
<https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…

I've tried to reproduce this today (both on a normal build, plus a build
with GC stressing to shake out corruption bugs), but am unable to on Rakudo
and MoarVM HEAD revisions. We've done a number of fixes for things that
resulted in SEGV in recent days, so it's possible that one of those covered
it. Any chance you could try on latest and see if this still happens?

Thank you,

Jonathan

@p6rt
Copy link
Author

p6rt commented Dec 23, 2016

From @FCO

I just tested with this version and still segfaults...

MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ perl6 -v

This is Rakudo version 2016.12-49-gb8df3a6 built on MoarVM version
2016.12-18-ga645d7e

implementing Perl 6.c.

Just another Perl Hacker,
Fernando (SmokeMachine)

2016-12-19 23​:36 GMT-02​:00 perl6 via RT <perl6-bugs-followup@​perl.org>​:

Greetings,

This message has been automatically generated in response to the
creation of a trouble ticket regarding​:
"[BUG] SegFault",
a summary of which appears below.

There is no need to reply to this message right now. Your ticket has been
assigned an ID of [perl #​130379].

Please include the string​:

     \[perl #&#8203;130379\]

in the subject line of all future correspondence about this issue. To do
so,
you may reply to this message.

                    Thank you,
                    perl6\-bugs\-followup@&#8203;perl\.org

-------------------------------------------------------------------------
HI there!

I was trying to reduce the code, but I couldn’t…
Some times I get a segfault running this code​:

perl6 -Ilib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-tests’

on branch “role” of https://github.com/FCO/Test-Fuzz/tree/role <
https://github.com/FCO/Test-Fuzz/tree/role>

I'm sorry the big code…

The perl6 version​:

MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ docker run -ti -v$PWD​:/code
--security-opt seccomp=unconfined perl6-debug perl6 --version
This is Rakudo version 2016.12-10-g7a642f8 built on MoarVM version 2016.12
implementing Perl 6.c.

that’s what I get when I try to gdb it.

MacBook-Pro-de-Fernando​:Test-Fuzz fernando$ docker run -ti -v$PWD​:/code
--security-opt seccomp=unconfined perl6-debug perl6-gdb-m --optimize=0
-I/code/lib -MTest​::Fuzz -e 'sub bla(Int $a) is fuzzed {42}; run-tests'

====================================
This is Rakudo Perl 6 running in the GNU debugger, which often allows the
user to generate useful back-
traces to debug or report issues in Rakudo, the MoarVM backend or the
currently running code.

This Rakudo version is 2016.12.10.g.7.a.642.f.8 built on MoarVM version
2016.12,
running on debian (8.jessie) / linux (4.8.14.moby)

Type `bt full` to generate a backtrace if applicable, type `q` to quit or
`help` for help.
------------------------------------------------------------
------------------------------------
Reading symbols from /usr/bin/moar...done.
Starting program​: /usr/bin/moar --execname=/usr/bin/perl6-gdb-m
--libpath=/usr/share/nqp/lib --libpath=/usr/share/perl6/lib
--libpath=/usr/share/perl6/runtime /usr/share/perl6/runtime/perl6.moarvm
--optimize=0 -I/code/lib -MTest​::Fuzz -e sub\ bla\(Int\ \$a\)\ is\ fuzzed\
\{42\}\;\ run-tests
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7912fb7 in gc_mark (tc=0x6027c0, st=<optimized out>,
data=<optimized out>, worklist=0x4922360) at src/6model/reprs/
MVMCallCapture.c​:55
55 src/6model/reprs/MVMCallCapture.c​: No such file or directory.
(gdb) bt full
#​0 0x00007ffff7912fb7 in gc_mark (tc=0x6027c0, st=<optimized out>,
data=<optimized out>, worklist=0x4922360) at src/6model/reprs/
MVMCallCapture.c​:55
ctx = 0x37afa10
count = 3
i = 0
flag = 0
flag_map = <optimized out>
st = <optimized out>
worklist = 0x4922360
data = <optimized out>
tc = 0x6027c0
body = <optimized out>
#​1 0x00007ffff78ebcbc in process_worklist (tc=tc@​entry=0x6027c0,
worklist=worklist@​entry=0x4922360, wtp=wtp@​entry=0x7fffffffe5f0,
gen=gen@​entry=0 '\000') at src/gc/collect.c​:313
item = 0x7ffff4d68010
item_gen2 = <optimized out>
to_gen2 = 1 '\001'
gen2 = 0x602d00
item_ptr = <optimized out>
new_addr = 0x49828b0
gen2count = 1610
#​2 0x00007ffff78ec2be in MVM_gc_collect (tc=0x6027c0,
what_to_do=<optimized out>, gen=gen@​entry=0 '\000') at
src/gc/collect.c​:129
fromspace = <optimized out>
tospace = <optimized out>
worklist = 0x4922360
wtp = {num_target_threads = 0, target_work = 0x0}
#​3 0x00007ffff78e8136 in run_gc (tc=tc@​entry=0x6027c0,
what_to_do=what_to_do@​entry=0 '\000') at src/gc/orchestrate.c​:323
other = <optimized out>
gen = 0 '\000'
i = <optimized out>
n = <optimized out>
#​4 0x00007ffff78e8bd6 in MVM_gc_enter_from_allocator (tc=tc@​entry=0x6027c0)
at src/gc/orchestrate.c​:457
last_starter = 0x621060
num_threads = <optimized out>
#​5 0x00007ffff78e8cf8 in MVM_gc_allocate_nursery (tc=0x6027c0, size=280)
at src/gc/allocation.c​:32
allocated = <optimized out>
#​6 0x00007ffff78e8fde in MVM_gc_allocate_frame (tc=tc@​entry=0x6027c0) at
src/gc/allocation.c​:99
f = 0x37aedb0
#​7 0x00007ffff78cfca8 in MVM_frame_force_to_heap (tc=0x6027c0,
frame=0x7ffff7fcc260) at src/core/frame.c​:669
promoted = <optimized out>
cur_to_promote = 0x7ffff7fcc030
new_cur_frame = 0x7ffff6689c38
update_caller = 0x7ffff6689d50
result = 0x7ffff6689c38
frame = 0x7ffff7fcc260
tc = 0x6027c0
#​8 0x00007ffff78d158d in MVM_frame_takeclosure (tc=0x6027c0,
code=<optimized out>) at src/core/frame.c​:1090
closure = 0x7ffff6689e68
captured = <optimized out>
#​9 0x00007ffff78c5366 in MVM_interp_run (tc=tc@​entry=0x6027c0,
initial_invoke=0x37aedb0, invoke_data=0x49828c8) at src/core/interp.c​:1089
op = 10440
LABELS = {0x7ffff78b5ed9 <MVM_interp_run+153>, 0x7ffff78bdfa4
<MVM_interp_run+33124>, 0x7ffff78b60c5 <MVM_interp_run+645>, 0x7ffff78b60c5
<MVM_interp_run+645>, 0x7ffff78c14e7 <MVM_interp_run+46759>,
0x7ffff78b72bf <MVM_interp_run+5247>, 0x7ffff78b72d2
<MVM_interp_run+5266>, 0x7ffff78bdc94 <MVM_interp_run+32340>,
0x7ffff78bdcf5 <MVM_interp_run+32437>, 0x7ffff78bdd3c
<MVM_interp_run+32508>,
0x7ffff78bdd83 <MVM_interp_run+32579>, 0x7ffff78bbb44
<MVM_interp_run+23812>, 0x7ffff78bbb8a <MVM_interp_run+23882>,
0x7ffff78bbbd2 <MVM_interp_run+23954>, 0x7ffff78bbc1a
<MVM_interp_run+24026>,
0x7ffff78bbc61 <MVM_interp_run+24097>, 0x7ffff78bbca7
<MVM_interp_run+24167>, 0x7ffff78bbcee <MVM_interp_run+24238>,
0x7ffff78bbd34 <MVM_interp_run+24308>, 0x7ffff78bb6be
<MVM_interp_run+22654>,
0x7ffff78bb705 <MVM_interp_run+22725>, 0x7ffff78bce66
<MVM_interp_run+28710>, 0x7ffff78bcf82 <MVM_interp_run+28994>,
0x7ffff78bcdad <MVM_interp_run+28525>, 0x7ffff78bcdfe
<MVM_interp_run+28606>,
0x7ffff78bceb3 <MVM_interp_run+28787>, 0x7ffff78bcf14
<MVM_interp_run+28884>, 0x7ffff78c486d <MVM_interp_run+59949>,
0x7ffff78c48d4 <MVM_interp_run+60052>, 0x7ffff78c4953
<MVM_interp_run+60179>,
0x7ffff78c5089 <MVM_interp_run+62025>, 0x7ffff78c4e9f
<MVM_interp_run+61535>, 0x7ffff78c4f1b <MVM_interp_run+61659>,
0x7ffff78c4f8b <MVM_interp_run+61771>, 0x7ffff78c4ffe
<MVM_interp_run+61886>,
0x7ffff78c39ad <MVM_interp_run+56173>, 0x7ffff78c3a31
<MVM_interp_run+56305>, 0x7ffff78c3ad5 <MVM_interp_run+56469>,
0x7ffff78c44f6 <MVM_interp_run+59062>, 0x7ffff78c440d
<MVM_interp_run+58829>,
0x7ffff78c45e1 <MVM_interp_run+59297>, 0x7ffff78c4483
<MVM_interp_run+58947>, 0x7ffff78c456e <MVM_interp_run+59182>,
0x7ffff78c152a <MVM_interp_run+46826>, 0x7ffff78c159d
<MVM_interp_run+46941>,
0x7ffff78b60d8 <MVM_interp_run+664>, 0x7ffff78b60d8
<MVM_interp_run+664>, 0x7ffff78c1610 <MVM_interp_run+47056>, 0x7ffff78c17d0
<MVM_interp_run+47504>, 0x7ffff78c166c <MVM_interp_run+47148>,
0x7ffff78c1829 <MVM_interp_run+47593>, 0x7ffff78c18ab
<MVM_interp_run+47723>, 0x7ffff78c1b8d <MVM_interp_run+48461>,
0x7ffff78c1ad1 <MVM_interp_run+48273>, 0x7ffff78c1b2f
<MVM_interp_run+48367>,
0x7ffff78c198e <MVM_interp_run+47950>, 0x7ffff78c19d5
<MVM_interp_run+48021>, 0x7ffff78c1a29 <MVM_interp_run+48105>,
0x7ffff78c1a7d <MVM_interp_run+48189>, 0x7ffff78c4146
<MVM_interp_run+58118>,
---Type <return> to continue, or q <return> to quit---
0x7ffff78c419a <MVM_interp_run+58202>, 0x7ffff78c41ee
<MVM_interp_run+58286>, 0x7ffff78c4242 <MVM_interp_run+58370>,
0x7ffff78c42a3 <MVM_interp_run+58467>, 0x7ffff78c42f2
<MVM_interp_run+58546>,
0x7ffff78c4341 <MVM_interp_run+58625>, 0x7ffff78c4391
<MVM_interp_run+58705>, 0x7ffff78c3c4e <MVM_interp_run+56846>,
0x7ffff78c3c9f <MVM_interp_run+56927>, 0x7ffff78c3cfc
<MVM_interp_run+57020>,
0x7ffff78c3d4d <MVM_interp_run+57101>, 0x7ffff78c3d97
<MVM_interp_run+57175>, 0x7ffff78c3deb <MVM_interp_run+57259>,
0x7ffff78c3e2b <MVM_interp_run+57323>, 0x7ffff78c3e6b
<MVM_interp_run+57387>,
0x7ffff78c3eab <MVM_interp_run+57451>, 0x7ffff78c3eeb
<MVM_interp_run+57515>, 0x7ffff78c3f3a <MVM_interp_run+57594>,
0x7ffff78c3f89 <MVM_interp_run+57673>, 0x7ffff78c3fd8
<MVM_interp_run+57752>,
0x7ffff78c4022 <MVM_interp_run+57826>, 0x7ffff78c4074
<MVM_interp_run+57908>, 0x7ffff78c40c6 <MVM_interp_run+57990>,
0x7ffff78bd90c <MVM_interp_run+31436>, 0x7ffff78bd95a
<MVM_interp_run+31514>,
0x7ffff78bd9e7 <MVM_interp_run+31655>, 0x7ffff78bda6c
<MVM_interp_run+31788>, 0x7ffff78bdacb <MVM_interp_run+31883>,
0x7ffff78bdb2a <MVM_interp_run+31978>, 0x7ffff78bdb80
<MVM_interp_run+32064>,
0x7ffff78bdbd6 <MVM_interp_run+32150>, 0x7ffff78c47ae
<MVM_interp_run+59758>, 0x7ffff78c4805 <MVM_interp_run+59845>,
0x7ffff78c6801 <MVM_interp_run+68033>, 0x7ffff78c6853
<MVM_interp_run+68115>,
0x7ffff78c66c3 <MVM_interp_run+67715>, 0x7ffff78c6715
<MVM_interp_run+67797>, 0x7ffff78c6767 <MVM_interp_run+67879>,
0x7ffff78c68a5 <MVM_interp_run+68197>, 0x7ffff78c3b4b
<MVM_interp_run+56587>,
0x7ffff78c641b <MVM_interp_run+67035>, 0x7ffff78c637d
<MVM_interp_run+66877>, 0x7ffff78c63cc <MVM_interp_run+66956>,
0x7ffff78c623d <MVM_interp_run+66557>, 0x7ffff78c628c
<MVM_interp_run+66636>,
0x7ffff78c62dd <MVM_interp_run+66717>, 0x7ffff78c632c
<MVM_interp_run+66796>, 0x7ffff78c4b22 <MVM_interp_run+60642>,
0x7ffff78c6674 <MVM_interp_run+67636>, 0x7ffff78c65bf
<MVM_interp_run+67455>,
0x7ffff78c6619 <MVM_interp_run+67545>, 0x7ffff78c6475
<MVM_interp_run+67125>, 0x7ffff78c64ce <MVM_interp_run+67214>,
0x7ffff78c651f <MVM_interp_run+67295>, 0x7ffff78c6570
<MVM_interp_run+67376>,
0x7ffff78c0c68 <MVM_interp_run+44584>, 0x7ffff78c0cc5
<MVM_interp_run+44677>, 0x7ffff78c0d1b <MVM_interp_run+44763>,
0x7ffff78c5909 <MVM_interp_run+64201>, 0x7ffff78c57c9
<MVM_interp_run+63881>,
0x7ffff78c5817 <MVM_interp_run+63959>, 0x7ffff78c5860
<MVM_interp_run+64032>, 0x7ffff78c58b4 <MVM_interp_run+64116>,
0x7ffff78c49ce <MVM_interp_run+60302>, 0x7ffff78c5b62
<MVM_interp_run+64802>,
0x7ffff78c5aa8 <MVM_interp_run+64616>, 0x7ffff78c5b05
<MVM_interp_run+64709>, 0x7ffff78c595a <MVM_interp_run+64282>,
0x7ffff78c59aa <MVM_interp_run+64362>, 0x7ffff78c59fe
<MVM_interp_run+64446>,
0x7ffff78c5a54 <MVM_interp_run+64532>, 0x7ffff78c3bfa
<MVM_interp_run+56762>, 0x7ffff78c5f57 <MVM_interp_run+65815>,
0x7ffff78c5ea7 <MVM_interp_run+65639>, 0x7ffff78c5ef1
<MVM_interp_run+65713>,
0x7ffff78c5bb7 <MVM_interp_run+64887>, 0x7ffff78c5c6a
<MVM_interp_run+65066>, 0x7ffff78c5d29 <MVM_interp_run+65257>,
0x7ffff78c5de8 <MVM_interp_run+65448>, 0x7ffff78c50fe
<MVM_interp_run+62142>,
0x7ffff78c51bd <MVM_interp_run+62333>, 0x7ffff78c6173
<MVM_interp_run+66355>, 0x7ffff78c61d8 <MVM_interp_run+66456>,
0x7ffff78c5f9f <MVM_interp_run+65887>, 0x7ffff78c6004
<MVM_interp_run+65988>,
0x7ffff78c6069 <MVM_interp_run+66089>, 0x7ffff78c60ee
<MVM_interp_run+66222>, 0x7ffff78bfd15 <MVM_interp_run+40661>,
0x7ffff78c5553 <MVM_interp_run+63251>, 0x7ffff78c5453
<MVM_interp_run+62995>,
0x7ffff78c54d3 <MVM_interp_run+63123>, 0x7ffff78c4a22
<MVM_interp_run+60386>, 0x7ffff78c4aa2 <MVM_interp_run+60514>,
0x7ffff78c55d8 <MVM_interp_run+63384>, 0x7ffff78c567b
<MVM_interp_run+63547>,
0x7ffff78c4668 <MVM_interp_run+59432>, 0x7ffff78c470b
<MVM_interp_run+59595>, 0x7ffff78c5391 <MVM_interp_run+62801>,
0x7ffff78c53f4 <MVM_interp_run+62900>, 0x7ffff78c520e
<MVM_interp_run+62414>,
0x7ffff78c5261 <MVM_interp_run+62497>, 0x7ffff78c52f4
<MVM_interp_run+62644>, 0x7ffff78c533d <MVM_interp_run+62717>,
0x7ffff78c3ba2 <MVM_interp_run+56674>, 0x7ffff78c4e17
<MVM_interp_run+61399>,
0x7ffff78c4d2e <MVM_interp_run+61166>, 0x7ffff78c4db6
<MVM_interp_run+61302>, 0x7ffff78c4b71 <MVM_interp_run+60721>,
0x7ffff78c4bdb <MVM_interp_run+60827>, 0x7ffff78c4c66
<MVM_interp_run+60966>,
0x7ffff78c4cd0 <MVM_interp_run+61072>, 0x7ffff78b60fe
<MVM_interp_run+702>, 0x7ffff78b615f <MVM_interp_run+799>, 0x7ffff78b61c0
<MVM_interp_run+896>, 0x7ffff78b621a <MVM_interp_run+986>, 0x7ffff78b6277
<MVM_interp_run+1079>,
0x7ffff78b62d4 <MVM_interp_run+1172>, 0x7ffff78b6330
<MVM_interp_run+1264>, 0x7ffff78b637c <MVM_interp_run+1340>, 0x7ffff78b63c4
<MVM_interp_run+1412>, 0x7ffff78b642b <MVM_interp_run+1515>,
0x7ffff78b6f3c <MVM_interp_run+4348>, 0x7ffff78b6fa6
<MVM_interp_run+4454>, 0x7ffff78b6e85 <MVM_interp_run+4165>, 0x7ffff78b70ec
<MVM_interp_run+4780>, 0x7ffff78b6ffa <MVM_interp_run+4538>,
0x7ffff78b7068 <MVM_interp_run+4648>, 0x7ffff78b6a71
<MVM_interp_run+3121>, 0x7ffff78b6af5 <MVM_interp_run+3253>, 0x7ffff78b6b79
<MVM_interp_run+3385>, 0x7ffff78b6bfd <MVM_interp_run+3517>,
0x7ffff78b6cb8 <MVM_interp_run+3704>, 0x7ffff78b6d37
<MVM_interp_run+3831>, 0x7ffff78b6daf <MVM_interp_run+3951>, 0x7ffff78b6ed8
<MVM_interp_run+4248>, 0x7ffff78b647a <MVM_interp_run+1594>,
0x7ffff78b64d6 <MVM_interp_run+1686>, 0x7ffff78b6519
<MVM_interp_run+1753>, 0x7ffff78b6567 <MVM_interp_run+1831>, 0x7ffff78b65c3
<MVM_interp_run+1923>...}
cur_op = 0x7ffff532f360 "]"
bytecode_start = 0x7ffff532f358 "\237"
reg_base = 0x4921f60
cu = 0x6642f0
cur_callsite = 0x7ffff7dcaf00 <two_args_callsite>
#​10 0x00007ffff797c809 in MVM_vm_run_file (instance=0x602010,
filename=0x7fffffffeeb1 "/usr/share/perl6/runtime/perl6.moarvm") at
src/moar.c​:309
tc = 0x6027c0
cu = 0x662df0
#​11 0x0000000000400f8f in main (argc=11, argv=0x7fffffffec28) at
src/main.c​:192
instance = 0x602010
input_file = 0x7fffffffeeb1 "/usr/share/perl6/runtime/
perl6.moarvm"
executable_name = <optimized out>
lib_path = {0x7fffffffee5c "/usr/share/nqp/lib", 0x7fffffffee79
"/usr/share/perl6/lib", 0x7fffffffee98 "/usr/share/perl6/runtime", 0x0,
0x7ffff7ffe1a8 "", 0x0, 0x1 <error​: Cannot access memory at address 0x1>,
0x4010ed <__libc_csu_init+77> "H\203\303\001H9\353u\352H\
203\304\b[]A\\A]A^A_\303ff.\017\037\204"}
dump = <optimized out>
full_cleanup = <optimized out>
argi = 6
lib_path_i = <optimized out>
(gdb) call MVM_print_backtrace(tc)
No symbol "MVM_print_backtrace" in current context.
(gdb) call MVM_dump_backtrace(tc)
at <unknown>​:1 (/usr/share/nqp/lib/Perl6/BOOTSTRAP.moarvm​:)
from SETTING​::src/core/Mu.pm​:527 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:perl)
from SETTING​::src/core/Setty.pm​:75 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:417
(/usr/share/perl6/runtime/CORE.setting.moarvm​:push-all)
from SETTING​::src/core/Iterator.pm​:70 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:push-until-lazy)
from SETTING​::src/core/List.pm​:243 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:reify-until-lazy)
from SETTING​::src/core/List.pm​:1238 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:join)
from SETTING​::src/core/Any.pm​:153 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:join)
from SETTING​::src/core/Setty.pm​:73 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:perl)
from /code/lib/Test/Fuzz/Generator.pm6 (Test​::Fuzz​::Generator)​:15
(/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/3C/3C3AF497BAC115D045D262DABA57A198F363CF82​:)
from /code/lib/Test/Fuzz/Generator.pm6 (Test​::Fuzz​::Generator)​:15
(/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/3C/3C3AF497BAC115D045D262DABA57A1
98F363CF82​:generate)
from /code/lib/Test/Fuzz/AggGenerators.pm6
(Test​::Fuzz​::AggGenerators)​:21 (/code/lib/.precomp/
3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/
FCB4BA9267A20C12B18033CB15E46FCA5734914A​:)
from SETTING​::src/core/Any-iterable-methods.pm​:462
(/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:448
(/usr/share/perl6/runtime/CORE.setting.moarvm​:sink-all)
from SETTING​::src/core/Seq.pm​:159 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:sink)
from /code/lib/Test/Fuzz/AggGenerators.pm6
(Test​::Fuzz​::AggGenerators)​:20 (/code/lib/.precomp/
3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/
FCB4BA9267A20C12B18033CB15E46FCA5734914A​:build-possibilities)
from SETTING​::src/core/Mu.pm​:693 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:dispatch​:<!>)
from /code/lib/Test/Fuzz/AggGenerators.pm6
(Test​::Fuzz​::AggGenerators)​:31 (/code/lib/.precomp/
3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/FC/
FCB4BA9267A20C12B18033CB15E46FCA5734914A​:generate-samples)
from /code/lib/Test/Fuzz/Fuzzed.pm6 (Test​::Fuzz​::Fuzzed)​:21
(/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/5B/5B6759756EF7703FD91573CDB96C7516BF6F033F​:)
from perl#sources/C712FE6969F786C9380D643DF17E85D06868219E (Test)​:364
(/usr/share/perl6/precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/C7/C712FE6969F786C9380D643DF17E85
D06868219E​:subtest)
from perl#sources/C712FE6969F786C9380D643DF17E85D06868219E (Test)​:356
(/usr/share/perl6/precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/C7/C712FE6969F786C9380D643DF17E85
D06868219E​:subtest)
from /code/lib/Test/Fuzz/Fuzzed.pm6 (Test​::Fuzz​::Fuzzed)​:20
(/code/lib/.precomp/3A7F8D44B1BE04579CC836E5E37C3F
4785F6362E.1482107421.76571/5B/5B6759756EF7703FD91573CDB96C75
16BF6F033F​:run-tests)
from SETTING​::src/core/Mu.pm​:748 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:)
from SETTING​::src/core/Rakudo/Internals.pm​:2409
(/usr/share/perl6/runtime/CORE.setting.moarvm​:pull-one)
from SETTING​::src/core/Iterator.pm​:57 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:push-all)
from SETTING​::src/core/Rakudo/Internals.pm​:2445
(/usr/share/perl6/runtime/CORE.setting.moarvm​:coremap)
from SETTING​::src/core/Rakudo/Internals.pm​:2365
(/usr/share/perl6/runtime/CORE.setting.moarvm​:coremap)
from SETTING​::src/core/metaops.pm​:515 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:deepmap)
from SETTING​::src/core/metaops.pm​:513 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:deepmap)
from SETTING​::src/core/metaops.pm​:507 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:HYPER)
from SETTING​::src/core/metaops.pm​:398 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:HYPER)
from SETTING​::src/core/Mu.pm​:742 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:dispatch​:<hyper>)
from /code/lib/Test/Fuzz.pm6 (Test​::Fuzz)​:20 (/code/lib/.precomp/
3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/E8/
E824BF4C92321B778DE5CED78D180342653C59FE​:)
from SETTING​::src/core/Any-iterable-methods.pm​:462
(/usr/share/perl6/runtime/CORE.setting.moarvm​:)
from SETTING​::src/core/Any-iterable-methods.pm​:448
(/usr/share/perl6/runtime/CORE.setting.moarvm​:sink-all)
from SETTING​::src/core/Seq.pm​:159 (/usr/share/perl6/runtime/
CORE.setting.moarvm​:sink)
from /code/lib/Test/Fuzz.pm6 (Test​::Fuzz)​:19 (/code/lib/.precomp/
3A7F8D44B1BE04579CC836E5E37C3F4785F6362E.1482107421.76571/E8/
E824BF4C92321B778DE5CED78D180342653C59FE​:run-tests)
from -e​:1 (<ephemeral file>​:<unit>)
from -e​:1 (<ephemeral file>​:<unit-outer>)
from gen/moar/stage2/NQPHLL.nqp​:1577 (/usr/share/nqp/lib/NQPHLL.
moarvm​:eval)
from gen/moar/stage2/NQPHLL.nqp​:1667 (/usr/share/nqp/lib/NQPHLL.moarvm​:)
from gen/moar/stage2/NQPHLL.nqp​:1664 (/usr/share/nqp/lib/NQPHLL.
moarvm​:command_eval)
from src/Perl6/Compiler.nqp​:27 (/usr/share/nqp/lib/Perl6/
Compiler.moarvm​:command_eval)
from gen/moar/stage2/NQPHLL.nqp​:1648 (/usr/share/nqp/lib/NQPHLL.
moarvm​:command_line)
from gen/moar/main.nqp​:47 (/usr/share/perl6/runtime/perl6.moarvm​:MAIN)
from gen/moar/main.nqp​:38 (/usr/share/perl6/runtime/
perl6.moarvm​:<mainline>)
from <unknown>​:1 (/usr/share/perl6/runtime/perl6.moarvm​:<main>)
from <unknown>​:1 (/usr/share/perl6/runtime/perl6.moarvm​:<entry>)

@p6rt p6rt added the SEGV Segmentation fault, bus error, etc. label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
SEGV Segmentation fault, bus error, etc.
Projects
None yet
Development

No branches or pull requests

1 participant