Attempting to build nqp.
nqp$ gdb /home/daxim/p6/moar/bin/moar
GNU gdb (GDB; openSUSE 13.1) 7.6.50.20130731-cvs
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".
..
Reading symbols from /home/daxim/p6/moar/bin/moar...done.
(gdb) r --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc \
--output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
Starting program: /home/daxim/p6/moar/bin/moar --libpath=src/vm/moar/stage0 src/vm/moar/stage0/nqp.moarvm --bootstrap --setting=NULL --no-regex-lib --target=mbc --output=gen/moar/stage1/nqpmo.moarvm gen/moar/stage1/nqpmo.nqp
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
Program received signal SIGSEGV, Segmentation fault.
__memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:40
40 ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Datei oder Verzeichnis nicht gefunden.
(gdb) bt full
#0 __memcpy_sse2_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S:40
No locals.
#1 0x00007ffff72d5e91 in uv_fs_read (loop=0x7ffff74e8b20 <default_loop_struct>, req=req@entry=0x7fffffffd180, file=<optimized out>, bufs=bufs@entry=0xcfa9f0, nbufs=nbufs@entry=47214,
off=off@entry=-1, cb=cb@entry=0x0) at src/unix/fs.c:1053
No locals.
#2 0x00007ffff79d74ee in read_to_buffer (tc=tc@entry=0x604030, data=data@entry=0xcc9f30, bytes=47214) at src/io/syncfile.c:97
buf = 0xcfa9f0 ""
req = {data = 0x7ffff7f9e690, type = UV_FS, active_queue = {0x7ffff74e8b40 <default_loop_struct+32>, 0x7ffff74e8b40 <default_loop_struct+32>}, fs_type = UV_FS_READ,
loop = 0x7ffff74e8b20 <default_loop_struct>, cb = 0x0, result = 0, ptr = 0x0, path = 0x0, statbuf = {st_dev = 4, st_mode = 140737353758000, st_nlink = 162,
st_uid = 140737340328722, st_gid = 140737488343584, st_rdev = 140737488343568, st_ino = 140737488343888, st_size = 140737346416601, st_blksize = 4294967295, st_blocks = 0,
st_flags = 140737340284496, st_gen = 140737353758000, st_atim = {tv_sec = 140733193388156, tv_nsec = 2160255167}, st_mtim = {tv_sec = 4, tv_nsec = 96}, st_ctim = {tv_sec = 1,
tv_nsec = 140733193388081}, st_birthtim = {tv_sec = 64769, tv_nsec = 11814943}}, new_path = 0x0, file = 14, flags = 1000, mode = 100, nbufs = 47214, bufs = 0x7ffff5431010,
off = 47214, uid = 4096, gid = 0, atime = 4.7430302000759668e-322, mtime = 6.955250976690351e-315, work_req = {work = 0x2dd0778d, done = 0x53e8b2e9, loop = 0x37fe1ca7, wq = {
0x53e8b2e9, 0x37fe1ca7}}, bufsml = {{base = 0x0, len = 0}, {base = 0x0, len = 13410096}, {base = 0x7fffffffd350 "\240\324\377\377\377\177", len = 140737488344192}, {
base = 0xcc9f30 "\016", len = 13410048}}}
read = <optimized out>
#3 0x00007ffff79d7690 in slurp (tc=0x604030, h=<optimized out>) at src/io/syncfile.c:140
data = 0xcc9f30
req = {data = 0x7fffffffd4a0, type = UV_FS, active_queue = {0x7ffff74e8b40 <default_loop_struct+32>, 0x7ffff74e8b40 <default_loop_struct+32>}, fs_type = UV_FS_FSTAT,
loop = 0x7ffff74e8b20 <default_loop_struct>, cb = 0x0, result = 0, ptr = 0x7fffffffd3a0, path = 0x0, statbuf = {st_dev = 64769, st_mode = 33188, st_nlink = 1, st_uid = 1000,
st_gid = 100, st_rdev = 0, st_ino = 11814943, st_size = 47214, st_blksize = 4096, st_blocks = 96, st_flags = 0, st_gen = 0, st_atim = {tv_sec = 1407758470,
tv_nsec = 768636813}, st_mtim = {tv_sec = 1407759081, tv_nsec = 939400359}, st_ctim = {tv_sec = 1407759081, tv_nsec = 939400359}, st_birthtim = {tv_sec = 1407759081,
tv_nsec = 939400359}}, new_path = 0x0, file = 14, flags = 32767, mode = 1, nbufs = 0, bufs = 0x0, off = 140737488344368, uid = 4153002352, gid = 32767,
atime = 3.116510758614249e-317, mtime = 6.9533490645511836e-310, work_req = {work = 0x0, done = 0x7ffff5948568, loop = 0x7fffffffd4e0, wq = {0x7ffff75d3534 <mcount+52>, 0x0}},
bufsml = {{base = 0xa <Address 0xa out of bounds>, len = 0}, {base = 0xcc9f00 "\001", len = 6307888}, {base = 0xcc9f00 "\001", len = 4}, {
base = 0x7ffff79bca24 <MVM_tc_set_ex_release_mutex+10> "H\203\177x", len = 140737488344320}}}
#4 0x00007ffff79d6314 in MVM_io_slurp (tc=tc@entry=0x604030, oshandle=<optimized out>) at src/io/io.c:142
mutex = 0xcc9f00
result = <optimized out>
handle = 0x7ffff594bfd8
#5 0x00007ffff79b7ab9 in MVM_interp_run (tc=tc@entry=0x604030, initial_invoke=initial_invoke@entry=0x7ffff7a20894 <toplevel_initial_invoke>, invoke_data=<optimized out>)
at src/core/interp.c:3325
op = <optimized out>
LABELS = {0x7ffff79abfa2 <MVM_interp_run+128>, 0x7ffff79acb00 <MVM_interp_run+3038>, 0x7ffff79acb02 <MVM_interp_run+3040>, 0x7ffff79acb02 <MVM_interp_run+3040>,
0x7ffff79acb1a <MVM_interp_run+3064>, 0x7ffff79acb50 <MVM_interp_run+3118>, 0x7ffff79acb68 <MVM_interp_run+3142>, 0x7ffff79acba0 <MVM_interp_run+3198>,
0x7ffff79ac45a <MVM_interp_run+1336>, 0x7ffff79ac408 <MVM_interp_run+1254>, 0x7ffff79ac40a <MVM_interp_run+1256>, 0x7ffff79ac40c <MVM_interp_run+1258>,
0x7ffff79ac412 <MVM_interp_run+1264>, 0x7ffff79ac414 <MVM_interp_run+1266>, 0x7ffff79ac416 <MVM_interp_run+1268>, 0x7ffff79ac422 <MVM_interp_run+1280>,
0x7ffff79ac424 <MVM_interp_run+1282>, 0x7ffff79ac426 <MVM_interp_run+1284>, 0x7ffff79ac432 <MVM_interp_run+1296>, 0x7ffff79ac434 <MVM_interp_run+1298>,
0x7ffff79ac436 <MVM_interp_run+1300>, 0x7ffff79ac442 <MVM_interp_run+1312>, 0x7ffff79ac442 <MVM_interp_run+1312>, 0x7ffff79abfc1 <MVM_interp_run+159>,
0x7ffff79ac004 <MVM_interp_run+226>, 0x7ffff79ac063 <MVM_interp_run+321>, 0x7ffff79ac0c2 <MVM_interp_run+416>, 0x7ffff79ac127 <MVM_interp_run+517>,
0x7ffff79ac18c <MVM_interp_run+618>, 0x7ffff79ac1f3 <MVM_interp_run+721>, 0x7ffff79ac25a <MVM_interp_run+824>, 0x7ffff79ac2c8 <MVM_interp_run+934>,
0x7ffff79ac336 <MVM_interp_run+1044>, 0x7ffff79ac39f <MVM_interp_run+1149>, 0x7ffff79ae778 <MVM_interp_run+10326>, 0x7ffff79ac49c <MVM_interp_run+1402>,
0x7ffff79ac577 <MVM_interp_run+1621>, 0x7ffff79ac5ff <MVM_interp_run+1757>, 0x7ffff79ac65f <MVM_interp_run+1853>, 0x7ffff79ac6c1 <MVM_interp_run+1951>,
0x7ffff79ac721 <MVM_interp_run+2047>, 0x7ffff79ac791 <MVM_interp_run+2159>, 0x7ffff79ac7f2 <MVM_interp_run+2256>, 0x7ffff79ac855 <MVM_interp_run+2355>,
0x7ffff79ac8b6 <MVM_interp_run+2452>, 0x7ffff79ac948 <MVM_interp_run+2598>, 0x7ffff79ac948 <MVM_interp_run+2598>, 0x7ffff79ae875 <MVM_interp_run+10579>,
0x7ffff79ae8ce <MVM_interp_run+10668>, 0x7ffff79aed45 <MVM_interp_run+11811>, 0x7ffff79afeb6 <MVM_interp_run+16276>, 0x7ffff79ac960 <MVM_interp_run+2622>,
0x7ffff79ac9b6 <MVM_interp_run+2708>, 0x7ffff79aca0d <MVM_interp_run+2795>, 0x7ffff79aca63 <MVM_interp_run+2881>, 0x7ffff79acab9 <MVM_interp_run+2967>,
0x7ffff79ad76d <MVM_interp_run+6219>, 0x7ffff79ad7bd <MVM_interp_run+6299>, 0x7ffff79ad80d <MVM_interp_run+6379>, 0x7ffff79ad85d <MVM_interp_run+6459>,
0x7ffff79ad8ad <MVM_interp_run+6539>, 0x7ffff79ad8fd <MVM_interp_run+6619>, 0x7ffff79aec33 <MVM_interp_run+11537>, 0x7ffff79acbe9 <MVM_interp_run+3271>,
---Type <return> to continue, or q <return> to quit---
0x7ffff79acc33 <MVM_interp_run+3345>, 0x7ffff79acc7d <MVM_interp_run+3419>, 0x7ffff79accc8 <MVM_interp_run+3494>, 0x7ffff79acd6f <MVM_interp_run+3661>,
0x7ffff79acdbe <MVM_interp_run+3740>, 0x7ffff79ace0a <MVM_interp_run+3816>, 0x7ffff79ace59 <MVM_interp_run+3895>, 0x7ffff79ace9e <MVM_interp_run+3964>,
0x7ffff79aceed <MVM_interp_run+4043>, 0x7ffff79acf28 <MVM_interp_run+4102>, 0x7ffff79acf63 <MVM_interp_run+4161>, 0x7ffff79acf9e <MVM_interp_run+4220>,
0x7ffff79ae45c <MVM_interp_run+9530>, 0x7ffff79ae4a6 <MVM_interp_run+9604>, 0x7ffff79ae4f0 <MVM_interp_run+9678>, 0x7ffff79ae53a <MVM_interp_run+9752>,
0x7ffff79ae57f <MVM_interp_run+9821>, 0x7ffff79ae5cc <MVM_interp_run+9898>, 0x7ffff79ae619 <MVM_interp_run+9975>, 0x7ffff79aecfc <MVM_interp_run+11738>,
0x7ffff79b1b39 <MVM_interp_run+23575>, 0x7ffff79b1bb6 <MVM_interp_run+23700>, 0x7ffff79ad94d <MVM_interp_run+6699>, 0x7ffff79ad9aa <MVM_interp_run+6792>,
0x7ffff79ada07 <MVM_interp_run+6885>, 0x7ffff79ada59 <MVM_interp_run+6967>, 0x7ffff79adaab <MVM_interp_run+7049>, 0x7ffff79adafd <MVM_interp_run+7131>,
0x7ffff79aec95 <MVM_interp_run+11635>, 0x7ffff79ad4ec <MVM_interp_run+5578>, 0x7ffff79ad539 <MVM_interp_run+5655>, 0x7ffff79ad586 <MVM_interp_run+5732>,
0x7ffff79ad5d3 <MVM_interp_run+5809>, 0x7ffff79ad620 <MVM_interp_run+5886>, 0x7ffff79ad6c3 <MVM_interp_run+6049>, 0x7ffff79ad713 <MVM_interp_run+6129>,
0x7ffff79ae68c <MVM_interp_run+10090>, 0x7ffff79aff45 <MVM_interp_run+16419>, 0x7ffff79affa6 <MVM_interp_run+16516>, 0x7ffff79b16d7 <MVM_interp_run+22453>,
0x7ffff79b1724 <MVM_interp_run+22530>, 0x7ffff79b1770 <MVM_interp_run+22606>, 0x7ffff79b17bd <MVM_interp_run+22683>, 0x7ffff79b1809 <MVM_interp_run+22759>,
0x7ffff79b1856 <MVM_interp_run+22836>, 0x7ffff79b18a3 <MVM_interp_run+22913>, 0x7ffff79b18f8 <MVM_interp_run+22998>, 0x7ffff79b1951 <MVM_interp_run+23087>,
0x7ffff79b19a5 <MVM_interp_run+23171>, 0x7ffff79b19f1 <MVM_interp_run+23247>, 0x7ffff79b1a3d <MVM_interp_run+23323>, 0x7ffff79b1a8a <MVM_interp_run+23400>,
0x7ffff79b1ae2 <MVM_interp_run+23488>, 0x7ffff79b2aed <MVM_interp_run+27595>, 0x7ffff79b2b39 <MVM_interp_run+27671>, 0x7ffff79ae3d3 <MVM_interp_run+9393>,
0x7ffff79ae418 <MVM_interp_run+9462>, 0x7ffff79ae924 <MVM_interp_run+10754>, 0x7ffff79ae975 <MVM_interp_run+10835>, 0x7ffff79ae9c7 <MVM_interp_run+10917>,
0x7ffff79aea18 <MVM_interp_run+10998>, 0x7ffff79aea6a <MVM_interp_run+11080>, 0x7ffff79aeab7 <MVM_interp_run+11157>, 0x7ffff79ad023 <MVM_interp_run+4353>,
0x7ffff79ad08e <MVM_interp_run+4460>, 0x7ffff79ad0df <MVM_interp_run+4541>, 0x7ffff79ad132 <MVM_interp_run+4624>, 0x7ffff79ad183 <MVM_interp_run+4705>,
0x7ffff79adb4f <MVM_interp_run+7213>, 0x7ffff79adb90 <MVM_interp_run+7278>, 0x7ffff79adbd3 <MVM_interp_run+7345>, 0x7ffff79ad1d4 <MVM_interp_run+4786>,
0x7ffff79ad26c <MVM_interp_run+4938>, 0x7ffff79ad30c <MVM_interp_run+5098>, 0x7ffff79ad3ac <MVM_interp_run+5258>, 0x7ffff79ad44c <MVM_interp_run+5418>,
0x7ffff79adc27 <MVM_interp_run+7429>, 0x7ffff79adc7b <MVM_interp_run+7513>, 0x7ffff79adcdf <MVM_interp_run+7613>, 0x7ffff79add43 <MVM_interp_run+7713>,
0x7ffff79adda7 <MVM_interp_run+7813>, 0x7ffff79ade0b <MVM_interp_run+7913>, 0x7ffff79ade87 <MVM_interp_run+8037>, 0x7ffff79adf03 <MVM_interp_run+8161>,
0x7ffff79adf7f <MVM_interp_run+8285>, 0x7ffff79adffb <MVM_interp_run+8409>, 0x7ffff79ae06a <MVM_interp_run+8520>, 0x7ffff79ae0d9 <MVM_interp_run+8631>,
0x7ffff79ae148 <MVM_interp_run+8742>, 0x7ffff79ae1b7 <MVM_interp_run+8853>, 0x7ffff79ae23e <MVM_interp_run+8988>, 0x7ffff79ae2c5 <MVM_interp_run+9123>,
0x7ffff79ae34c <MVM_interp_run+9258>, 0x7ffff79aeb04 <MVM_interp_run+11234>, 0x7ffff79aeb63 <MVM_interp_run+11329>, 0x7ffff79acfd9 <MVM_interp_run+4279>,
0x7ffff79ae7fa <MVM_interp_run+10456>, 0x7ffff79ae6e1 <MVM_interp_run+10175>, 0x7ffff79ae727 <MVM_interp_run+10245>, 0x7ffff79af14b <MVM_interp_run+12841>,
0x7ffff79af1a3 <MVM_interp_run+12929>, 0x7ffff79af23a <MVM_interp_run+13080>, 0x7ffff79af2d1 <MVM_interp_run+13231>, 0x7ffff79af345 <MVM_interp_run+13347>,
0x7ffff79af3ba <MVM_interp_run+13464>, 0x7ffff79af42f <MVM_interp_run+13581>, 0x7ffff79af4a4 <MVM_interp_run+13698>, 0x7ffff79af4f6 <MVM_interp_run+13780>,
0x7ffff79af548 <MVM_interp_run+13862>, 0x7ffff79af59a <MVM_interp_run+13944>, 0x7ffff79af5e8 <MVM_interp_run+14022>, 0x7ffff79af636 <MVM_interp_run+14100>,
0x7ffff79af684 <MVM_interp_run+14178>, 0x7ffff79b8a9a <MVM_interp_run+52088>, 0x7ffff79b8ae1 <MVM_interp_run+52159>, 0x7ffff79af723 <MVM_interp_run+14337>,
0x7ffff79af770 <MVM_interp_run+14414>, 0x7ffff79af7bc <MVM_interp_run+14490>, 0x7ffff79b0163 <MVM_interp_run+16961>, 0x7ffff79af831 <MVM_interp_run+14607>,
0x7ffff79af881 <MVM_interp_run+14687>, 0x7ffff79af970 <MVM_interp_run+14926>, 0x7ffff79af9e9 <MVM_interp_run+15047>, 0x7ffff79afa7a <MVM_interp_run+15192>,
0x7ffff79afb0b <MVM_interp_run+15337>, 0x7ffff79afb9c <MVM_interp_run+15482>, 0x7ffff79afc2d <MVM_interp_run+15627>, 0x7ffff79b9156 <MVM_interp_run+53812>,
0x7ffff79b91e2 <MVM_interp_run+53952>, 0x7ffff79afd2a <MVM_interp_run+15880>, 0x7ffff79afe04 <MVM_interp_run+16098>, 0x7ffff79afe5d <MVM_interp_run+16187>,
0x7ffff79b538b <MVM_interp_run+37993>, 0x7ffff79b5031 <MVM_interp_run+37135>, 0x7ffff79b0687 <MVM_interp_run+18277>, 0x7ffff79b06e0 <MVM_interp_run+18366>...}
cur_op = 0x7ffff7e6d655 "\n"
bytecode_start = 0x7ffff7e6d533 "\237"
reg_base = 0x9025b0
cu = 0x7ffff58f8c90
cur_callsite = 0x6bc880
#6 0x00007ffff7a2100a in MVM_vm_run_file (instance=instance@entry=0x603a40, filename=<optimized out>) at src/moar.c:190
start_frame = <optimized out>
tc = 0x604030
cu = 0x7ffff58ed010
#7 0x0000000000400fb4 in main (argc=9, argv=0x7fffffffd978) at src/main.c:163
instance = 0x603a40
input_file = <optimized out>
executable_name = 0x0
lib_path = {0x7fffffffde38 "src/vm/moar/stage0", 0x0, 0x7ffff74f91a8 "2(", 0x7ffff7fa3000 "", 0x7ffff7ffe148 "", 0x400a15 <_init+21> "H\203\304", <incomplete sequence \303>,
0x1 <Address 0x1 out of bounds>, 0x40103d <__libc_csu_init+77> "H\203\303\001H9\353u\352H\203\304\b[]A\\A]A^A_\303ff.\017\037\204"}
---Type <return> to continue, or q <return> to quit---
dump = 0
full_cleanup = 0
argi = <optimized out>
lib_path_i = 1