# New Ticket Created by  Mark Glines 
# Please include the string:  [perl #43481]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=43481 >


Failed Test              Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/examples/shootout.t       1   256    20    1  16


[EMAIL PROTECTED] ~/parrot $ perl t/examples/shootout.t
1..20
ok 1 - examples/shootout/ack.pir
ok 2 - examples/shootout/binarytrees.pir
ok 3 - examples/shootout/fannkuch.pir
ok 4 - examples/shootout/fasta.pir
ok 5 - examples/shootout/knucleotide.pir
ok 6 - examples/shootout/mandelbrot.pir
ok 7 - examples/shootout/nbody.pir
ok 8 - examples/shootout/nsieve-bits-2.pir
ok 9 - examples/shootout/nsieve-bits.pir
ok 10 - examples/shootout/nsieve.pir
ok 11 - examples/shootout/partialsums-2.pir
ok 12 - examples/shootout/partialsums.pir
ok 13 - examples/shootout/pidigits.pir
ok 14 - examples/shootout/recursive-2.pir
ok 15 - examples/shootout/recursive.pir
not ok 16 - examples/shootout/regexdna.pir
#     Failed test (t/examples/shootout.t at line 103)
# Exited with error code: 139
# Received:
# agggtaaa|tttaccct 0
# [cgt]gggtaaa|tttaccc[acg] 3
# a[act]ggtaaa|tttacc[agt]t 9
# ag[act]gtaaa|tttac[agt]ct 8
# agg[act]taaa|ttta[agt]cct 10
# aggg[acg]aaa|ttt[cgt]ccct 3
# agggt[cgt]aa|tt[acg]accct 4
# agggta[cgt]a|t[acg]taccct 3
# agggtaa[cgt]|[acg]ttaccct 5
# sh: line 1: 11716 Segmentation fault      ./parrot 
"/home/paranoid/parrot/t/examples/shootout_16.pir" < 
examples/shootout/regexdna.pir.input
#
# Expected:
# agggtaaa|tttaccct 0
# [cgt]gggtaaa|tttaccc[acg] 3
# a[act]ggtaaa|tttacc[agt]t 9
# ag[act]gtaaa|tttac[agt]ct 8
# agg[act]taaa|ttta[agt]cct 10
# aggg[acg]aaa|ttt[cgt]ccct 3
# agggt[cgt]aa|tt[acg]accct 4
# agggta[cgt]a|t[acg]taccct 3
# agggtaa[cgt]|[acg]ttaccct 5
#
# 101745
# 100000
# 133640
#
ok 17 - examples/shootout/revcomp.pir
ok 18 - examples/shootout/spectralnorm.pir
ok 19 - examples/shootout/sumcol.pir
ok 20 - examples/shootout/takfp.pir
# Looks like you failed 1 test of 20.


[EMAIL PROTECTED] ~/parrot $ ./parrot 
"/home/paranoid/parrot/t/examples/shootout_16.pir" 
<examples/shootout/regexdna.pir.input
agggtaaa|tttaccct 0
[cgt]gggtaaa|tttaccc[acg] 3
a[act]ggtaaa|tttacc[agt]t 9
ag[act]gtaaa|tttac[agt]ct 8
agg[act]taaa|ttta[agt]cct 10
aggg[acg]aaa|ttt[cgt]ccct 3
agggt[cgt]aa|tt[acg]accct 4
agggta[cgt]a|t[acg]taccct 3
agggtaa[cgt]|[acg]ttaccct 5
Segmentation fault (core dumped)


Program terminated with signal 11, Segmentation fault.
#0  0xb7d0e93a in string_rep_compatible (interp_unused=0x804e008, a=0x81da0c8,
    b=0x0, e=0xbfdf2060) at src/string.c:357
357         if (a->encoding == b->encoding && a->charset == b->charset) {
(gdb) print a
$1 = (const STRING *) 0x81da0c8
(gdb) print b
$2 = (const STRING *) 0x0
(gdb) bt
#0  0xb7d0e93a in string_rep_compatible (interp_unused=0x804e008, a=0x81da0c8,
    b=0x0, e=0xbfdf2060) at src/string.c:357
#1  0xb7d0fa06 in string_replace (interp=0x804e008, src=0x81da0c8,
    offset=81240, length=1, rep=0x0, d=0x0) at src/string.c:1075
#2  0xb7c5101f in Parrot_substr_s_i_i_s (cur_opcode=0x8247f14,
    interp=0x804e008) at src/ops/string.ops:282
#3  0xb7d137e9 in runops_slow_core (interp=0x804e008, pc=0x8247f14)
    at src/runops_cores.c:184
#4  0xb7cfdf13 in runops_int (interp=0x804e008, offset=3760)
    at src/interpreter.c:769
#5  0xb7d0380d in runops (interp=0x804e008, offs=0) at src/inter_run.c:95
#6  0xb7d03a3c in runops_args (interp=0x804e008, sub=0x8217a70, obj=0x80942f8,
    meth=0x0, sig=0xb7e75fde "vP",
    ap=0xbfdf21ec "Hz!\b(\"0mX\004\bpz!\bHz!\b\033(\"'ɤ\b\004\b\001") at 
src/inter_run.c:210
#7  0xb7d03b46 in Parrot_runops_fromc_args (interp=0x804e008, sub=0x8217a70,
    sig=0xb7e75fde "vP") at src/inter_run.c:287
#8  0xb7d56b7f in Parrot_runcode (interp=0x804e008, argc=1, argv=0xbfdf2388)
    at src/embed.c:785
#9  0xb7e4c927 in imcc_run_pbc (interp=0x804e008, obj_file=0, output_file=0x0,
    argc=1, argv=0xbfdf2388) at compilers/imcc/main.c:612
#10 0xb7e4d157 in imcc_run (interp=0x804e008,
    sourcefile=0xbfdf2f70 "/home/paranoid/parrot/t/examples/shootout_16.pir",
    argc=1, argv=0xbfdf2388) at compilers/imcc/main.c:813
#11 0x0804895d in main (argc=1, argv=0xbfdf2388) at src/main.c:61


I believe this has been around for at least a week or two; the Gentoo
package guys are using the 20070620 snapshot tarball, and seeing it
there, too.  http://bugs.gentoo.org/show_bug.cgi?id=168979

Mark

Reply via email to