gdb says:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7952fb7 in push ()
   from /home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so

and valgrind says:

==16279== Invalid write of size 8
==16279==    at 0x4FB4FB7: push (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4FAF9A5: MVM_repr_push_o (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4F6C739: MVM_args_slurpy_positional (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4F7CCB1: MVM_interp_run (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x501B63D: MVM_vm_run_file (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x400FDE: main (in 
/home/jonathan/.rakudobrew/moar-nom/install/bin/moar)
==16279==  Address 0x0 is not stack'd, malloc'd or (recently) free'd
==16279== 
==16279== 
==16279== Process terminating with default action of signal 11 (SIGSEGV)
==16279==  Access not within mapped region at address 0x0
==16279==    at 0x4FB4FB7: push (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4FAF9A5: MVM_repr_push_o (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4F6C739: MVM_args_slurpy_positional (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x4F7CCB1: MVM_interp_run (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x501B63D: MVM_vm_run_file (in 
/home/jonathan/.rakudobrew/moar-nom/install/lib/libmoar.so)
==16279==    by 0x400FDE: main (in 
/home/jonathan/.rakudobrew/moar-nom/install/bin/moar)
==16279==  If you believe this happened as a result of a stack
==16279==  overflow in your program's main thread (unlikely but
==16279==  possible), you can try to increase the size of the
==16279==  main thread stack using the --main-stacksize= flag.
==16279==  The main thread stack size used in this run was 8388608.
==16279== 
==16279== HEAP SUMMARY:
==16279==     in use at exit: 49,610,196 bytes in 148,006 blocks
==16279==   total heap usage: 431,325 allocs, 283,319 frees, 197,324,716 bytes 
allocated
==16279== 
==16279== LEAK SUMMARY:
==16279==    definitely lost: 42,434 bytes in 865 blocks
==16279==    indirectly lost: 21,836 bytes in 762 blocks
==16279==      possibly lost: 171,752 bytes in 3,070 blocks
==16279==    still reachable: 49,374,174 bytes in 143,309 blocks
==16279==         suppressed: 0 bytes in 0 blocks
==16279== Rerun with --leak-check=full to see details of leaked memory
==16279== 
==16279== For counts of detected and suppressed errors, rerun with: -v
==16279== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
/home/jonathan/.rakudobrew/bin/../moar-nom/install/bin/perl6-valgrind-m: line 
11: 16279 Segmentation fault      (core dumped) valgrind 
/home/jonathan/.rakudobrew/moar-nom/install/bin/moar --execname="$0" 
--libpath="/home/jonathan/.rakudobrew/moar-nom/install/share/nqp/lib" 
--libpath="/home/jonathan/.rakudobrew/moar-nom/install/share/perl6/lib" 
--libpath="/home/jonathan/.rakudobrew/moar-nom/install/share/perl6/runtime" 
/home/jonathan/.rakudobrew/moar-nom/install/share/perl6/runtime/perl6.moarvm 
"$@"

Reply via email to