Ticket #1370: t.pmc.eval.t.failure.txt

File t.pmc.eval.t.failure.txt, 8.4 KB (added by jkeenan, 5 years ago)

Impact of naive replacment of strstart in src/pmc/eval.pmc at some locations

Line 
1$ prove -v t/pmc/eval.t
2t/pmc/eval.t ..
31..17
4ok 1 - eval_sc
5ok 2 - call subs in evaled code
6ok 3 - call 2 subs in evaled code
7ok 4 - PIR compiler sub
8ok 5 - bug \#31467
9ok 6 - PIR compiler sub PASM
10ok 7 - PIR compiler sub PIR
11not ok 8 - eval.get_string
12
13#   Failed test 'eval.get_string'
14#   at t/pmc/eval.t line 247.
15# Exited with error code: [SIGNAL 11]
16# Received:
17# FIXUP_EVAL_1: Size in directory 12 doesn't match size 0 at offset 0x3c
18# CONSTANT_EVAL_1: Size in directory 96 doesn't match size 0 at offset 0x48
19# BYTECODE_EVAL_1_DB: Size in directory 12 doesn't match size 4 at offset 0xa8
20#
21# Expected:
22# hello from foo_1
23# hello from foo_2
24#
25not ok 9 - check loaded lib hash
26
27#   Failed test 'check loaded lib hash'
28#   at t/pmc/eval.t line 290.
29# Exited with error code: [SIGNAL 11]
30# Received:
31# FIXUP_EVAL_1: Size in directory 12 doesn't match size 0 at offset 0x3c
32# CONSTANT_EVAL_1: Size in directory 96 doesn't match size 0 at offset 0x48
33# BYTECODE_EVAL_1_DB: Size in directory 12 doesn't match size 4 at offset 0xa8
34#
35# Expected:
36# hello from foo_1
37# hello from foo_2
38# 2 1 1 1
39#
40not ok 10 - eval.get_string - same file
41
42#   Failed test 'eval.get_string - same file'
43#   at t/pmc/eval.t line 322.
44#          got: 'FIXUP_EVAL_1: Size in directory 12 doesn't match size 0 at offset 0x3c
45# CONSTANT_EVAL_1: Size in directory 96 doesn't match size 0 at offset 0x48
46# BYTECODE_EVAL_1_DB: Size in directory 12 doesn't match size 0 at offset 0xa8
47# PackFile_FixupTable_unpack: Unknown fixup type 96!
48# PackFile_unpack segment 'FIXUP_EVAL_1' failed
49# '
50#     expected: 'hello from foo_1
51# '
52ok 11 - eval.freeze
53*** glibc detected *** ./parrot: free(): invalid pointer: 0x4107c190 ***
54======= Backtrace: =========
55/lib/libc.so.6[0x40fab845]
56/lib/libc.so.6(cfree+0x9c)[0x40fad6ec]
57/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(mem_sys_free+0x2a)[0x400f1c5a]
58/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(PackFile_FixupTable_clear+0xab)[0x40153cbb]
59/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40153dce]
60/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(PackFile_Segment_destroy+0x9d)[0x4015158d]
61/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40248bc4]
62/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_pmc_destroy+0x8f)[0x4015d0df]
63/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400f6d84]
64/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400f6182]
65/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400f553e]
66/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400f5626]
67/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400f2b98]
68/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40106007]
69/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_exit+0x8b)[0x400e5a3b]
70/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400e5184]
71/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_ex_throw_from_c+0xad)[0x400e523d]
72/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x400e5521]
73/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x402349cd]
74/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x402354f9]
75/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40247f7e]
76/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40068939]
77/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x4015fe2e]
78/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x4015e38f]
79/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x40107a8f]
80/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_pcc_invoke_from_sig_object+0x1e9)[0x400fdfb9]
81/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_pcc_invoke_sub_from_c_args+0xd3)[0x400fe0c3]
82/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(Parrot_runcode+0x15e)[0x400e13fe]
83/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0[0x402f5b39]
84/home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0(imcc_run+0x39c)[0x402f672c]
85./parrot[0x8048988]
86/lib/libc.so.6(__libc_start_main+0xe5)[0x40f57455]
87./parrot[0x8048821]
88======= Memory map: ========
8908048000-0804e000 r-xp 00000000 62:00 448220     /home/jimk/work/parrot/parrot
900804e000-0804f000 rw-p 00005000 62:00 448220     /home/jimk/work/parrot/parrot
910804f000-08128000 rw-p 0804f000 00:00 0          [heap]
9240000000-4001a000 r-xp 00000000 62:00 2722       /lib/ld-2.7.so
934001a000-4001c000 rw-p 0001a000 62:00 2722       /lib/ld-2.7.so
944001c000-4001e000 rw-p 4001c000 00:00 0
954001e000-40342000 r-xp 00000000 62:00 658779     /home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0
9640342000-40362000 rw-p 00323000 62:00 658779     /home/jimk/work/parrot/blib/lib/libparrot.so.1.8.0
9740369000-4037d000 r-xp 00000000 62:00 2882       /lib/libpthread-2.7.so
984037d000-4037f000 rw-p 00013000 62:00 2882       /lib/libpthread-2.7.so
994037f000-40381000 rw-p 4037f000 00:00 0
10040381000-403a5000 r-xp 00000000 62:00 2872       /lib/libm-2.7.so
101403a5000-403a7000 rw-p 00023000 62:00 2872       /lib/libm-2.7.so
102403a7000-403a8000 rw-p 403a7000 00:00 0
103403a8000-404b8000 r-xp 00000000 62:00 7002       /usr/lib/libicuuc.so.36.0
104404b8000-404bf000 rw-p 00110000 62:00 7002       /usr/lib/libicuuc.so.36.0
105404bf000-404c1000 rw-p 404bf000 00:00 0
106404c1000-40e70000 r--p 00000000 62:00 7004       /usr/lib/libicudata.so.36.0
10740e70000-40e71000 rw-p 009ae000 62:00 7004       /usr/lib/libicudata.so.36.0
10840e71000-40e84000 r-xp 00000000 62:00 2874       /lib/libnsl-2.7.so
10940e84000-40e86000 rw-p 00012000 62:00 2874       /lib/libnsl-2.7.so
11040e86000-40e88000 rw-p 40e86000 00:00 0
11140e88000-40e8a000 r-xp 00000000 62:00 2871       /lib/libdl-2.7.so
11240e8a000-40e8c000 rw-p 00001000 62:00 2871       /lib/libdl-2.7.so
11340e8c000-40e95000 r-xp 00000000 62:00 2870       /lib/libcrypt-2.7.so
11440e95000-40e97000 rw-p 00008000 62:00 2870       /lib/libcrypt-2.7.so
11540e97000-40ebe000 rw-p 40e97000 00:00 0
11640ebe000-40ec0000 r-xp 00000000 62:00 2887       /lib/libutil-2.7.so
11740ec0000-40ec2000 rw-p 00001000 62:00 2887       /lib/libutil-2.7.so
11840ec2000-40ec9000 r-xp 00000000 62:00 2884       /lib/librt-2.7.so
11940ec9000-40ecb000 rw-p 00006000 62:00 2884       /lib/librt-2.7.so
12040ecb000-40ecc000 rw-p 40ecb000 00:00 0
12140ecc000-40f0e000 r-xp 00000000 62:00 14466      /usr/lib/libgmp.so.3.4.2
12240f0e000-40f0f000 rw-p 00042000 62:00 14466      /usr/lib/libgmp.so.3.4.2
12340f0f000-40f3c000 r-xp 00000000 62:00 2302       /lib/libreadline.so.5.2
12440f3c000-40f40000 rw-p 0002d000 62:00 2302       /lib/libreadline.so.5.2
12540f40000-40f41000 rw-p 40f40000 00:00 0
12640f41000-41079000 r-xp 00000000 62:00 2868       /lib/libc-2.7.so
12741079000-4107a000 r--p 00138000 62:00 2868       /lib/libc-2.7.so
1284107a000-4107c000 rw-p 00139000 62:00 2868       /lib/libc-2.7.so
1294107c000-4107f000 rw-p 4107c000 00:00 0
1304107f000-41162000 r-xp 00000000 62:00 14277      /usr/lib/libstdc++.so.6.0.10
13141162000-41165000 r--p 000e2000 62:00 14277      /usr/lib/libstdc++.so.6.0.10
13241165000-41167000 rw-p 000e5000 62:00 14277      /usr/lib/libstdc++.so.6.0.10
13341167000-4116d000 rw-p 41167000 00:00 0
1344116d000-41179000 r-xp 00000000 62:00 2183       /lib/libgcc_s.so.1
13541179000-4117a000 rw-p 0000b000 62:00 2183       /lib/libgcc_s.so.1
1364117a000-4117b000 rw-p 4117a000 00:00 0
1374117b000-411aa000 r-xp 00000000 62:00 299555     /lib/libncurses.so.5.7
138411aa000-411ad000 rw-p 0002f000 62:00 299555     /lib/libncurses.so.5.7
139411ad000-411cf000 rw-p 411ad000 00:00 0
14041200000-41221000 rw-p 41200000 00:00 0
14141221000-41300000 ---p 41221000 00:00 0
142bf5de000-bf5f3000 rw-p bfbeb000 00:00 0          [stack]
143ffffe000-fffff000 r-xp 00000000 00:00 0          [vdso]
144not ok 12 - eval.thaw
145
146#   Failed test 'eval.thaw'
147#   at t/pmc/eval.t line 397.
148# Exited with error code: [SIGNAL 6]
149# Received:
150# FIXUP_EVAL_1: Size in directory 12 doesn't match size 0 at offset 0x3c
151# CONSTANT_EVAL_1: Size in directory 96 doesn't match size 0 at offset 0x48
152# BYTECODE_EVAL_1_DB: Size in directory 12 doesn't match size 0 at offset 0xa8
153# PackFile_FixupTable_unpack: Unknown fixup type 96!
154# PackFile_unpack segment 'FIXUP_EVAL_1' failed
155# Null PMC access in invoke()
156# current instr.: 'main' pc 24 (/home/jimk/work/parrot/t/pmc/eval_12.pir:12)
157#
158# Expected:
159# hello from foo_1
160# hello from foo_1
161#
162ok 13 - eval.freeze+thaw
163ok 14 - get_pmc_keyed_int
164ok 15 - catch compile err
165ok 16 - compile err in load_bytecode
166ok 17 - catch compile err in load_bytecode
167# Looks like you failed 4 tests of 17.
168Dubious, test returned 4 (wstat 1024, 0x400)
169Failed 4/17 subtests
170
171Test Summary Report
172-------------------
173t/pmc/eval.t (Wstat: 1024 Tests: 17 Failed: 4)
174  Failed tests:  8-10, 12
175  Non-zero exit status: 4
176Files=1, Tests=17,  1 wallclock secs ( 0.02 usr  0.00 sys +  0.20 cusr  0.03 csys =  0.25 CPU)
177Result: FAIL