#1142: test 12 of t/pmc/eval.t fails in testr (passes in other runcores)
---------------------+------------------------------------------------------
 Reporter:  mikehh   |       Owner:       
     Type:  bug      |      Status:  new  
 Priority:  normal   |   Milestone:       
Component:  testing  |     Version:  trunk
 Severity:  medium   |    Keywords:       
     Lang:           |       Patch:       
 Platform:           |  
---------------------+------------------------------------------------------

Comment(by mikehh):

 for those who can interpret these things I generated a backtrace.

 run on parrot r42522 on Ubuntu 9.10 amd64 built with[[BR]]
 perl Configure.pl --optimize --test --maintainer --configure_trace

 (I first ran ./parrot t/pmc/eval_11.pbc to set up the relevant file)

 {{{
 m...@mhb-desktop:~/t.parrot$ ./parrot  t/pmc/eval_12.pbc
 hello from foo_1
 Segmentation fault (core dumped)
 m...@mhb-desktop:~/t.parrot$ gdb ./parrot core
 ...
 Core was generated by `./parrot t/pmc/eval_12.pbc'.
 Program terminated with signal 11, Segmentation fault.
 #0  0x00000000021d2080 in ?? ()
 (gdb) ba
 #0  0x00000000021d2080 in ?? ()
 #1  0x00007fb026df3731 in Parrot_set_returns_pc (cur_opcode=0x2231fd0,
 interp=0x213a080) at src/ops/core.ops:582
 #2  0x00007fb026e67164 in runops_slow_core (interp=0x213a080,
 runcore=<value optimised out>, pc=0x2231fd0) at src/runcore/cores.c:844
 #3  0x00007fb026e661c1 in runops_int (interp=0x213a080, offset=<value
 optimised out>) at src/runcore/main.c:546
 #4  0x00007fb026e2944a in runops (interp=<value optimised out>,
 offs=<value optimised out>) at src/call/ops.c:97
 #5  0x00007fb026e23bd9 in Parrot_pcc_invoke_from_sig_object
 (interp=0x213a080, sub_obj=<value optimised out>, call_object=<value
 optimised out>) at src/call/pcc.c:296
 #6  0x00007fb026e23cd3 in Parrot_pcc_invoke_sub_from_c_args
 (interp=0x213a080, sub_obj=0x21dac58, sig=<value optimised out>) at
 src/call/pcc.c:74
 #7  0x00007fb026f500de in imcc_run_pbc (interp=0x213a080,
 sourcefile=0x7fffcd529640 "t/pmc/eval_12.pbc", argc=<value optimised out>,
 argv=<value optimised out>) at compilers/imcc/main.c:793
 #8  imcc_run (interp=0x213a080, sourcefile=0x7fffcd529640
 "t/pmc/eval_12.pbc", argc=<value optimised out>, argv=<value optimised
 out>) at compilers/imcc/main.c:1076
 #9  0x0000000000400c02 in main (argc=1, argv=0x7fffcd528760) at
 src/main.c:60

 }}}

 I am going to try this on an build without --optimize to see if it makes
 more sense

-- 
Ticket URL: <https://trac.parrot.org/parrot/ticket/1142#comment:5>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets

Reply via email to