Intermittent coredump in t/event/Dispatcher/Task.t #37

Closed
leto opened this Issue Dec 4, 2011 · 3 comments

Comments

Projects
None yet
2 participants
@leto
Collaborator

leto commented Dec 4, 2011

(datura)(~/git/Rosella master )$ parrot_config git_describe
RELEASE_3_10_0-102-g844c9be
(datura)(~/git/Rosella master )$ git rev-parse HEAD
0c9b299f60649b83d8f57fcd61f2417416a6aa8f

$ winxed t/event/Dispatcher/Task.t 
WARNING: class Rosella.Event.Dispatcher.Task not found at compile time near Rosella at t/event/Dispatcher/Task.t line 4
WARNING: class Rosella.Event.Dispatcher.Task not found at compile time near Rosella at t/event/Dispatcher/Task.t line 12
WARNING: class Rosella.Event.Dispatcher.Task not found at compile time near Rosella at t/event/Dispatcher/Task.t line 14
1..2
ok 1 - test_new
src/pmc/callcontext.c:1531: failed assertion '!PObj_on_free_list_TEST(value) || !"Push dead object into CallContext!"'
Backtrace - Obtained 26 stack frames (max trace depth is 32).
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x19c33f) [0x7fa19748833f]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_confess+0x8b) [0x7fa19748830b]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x294be0) [0x7fa197580be0]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x2936bb) [0x7fa19757f6bb]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1ba64f) [0x7fa1974a664f]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_pcc_set_call_from_varargs+0x109) [0x7fa1974a68c9]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_pcc_set_call_from_c_args+0x145) [0x7fa1974a6275]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x3127ae) [0x7fa1975fe7ae]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x2c0fa8) [0x7fa1975acfa8]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x15d129) [0x7fa197449129]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1ed96a) [0x7fa1974d996a]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1ecde7) [0x7fa1974d8de7]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1c08e0) [0x7fa1974ac8e0]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_pcc_invoke_from_sig_object+0x1a4) [0x7fa1974a5514]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_ext_call+0x1b2) [0x7fa197488f42]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x311226) [0x7fa1975fd226]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_pcc_invoke_from_sig_object+0x12f) [0x7fa1974a549f]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_ext_call+0x1b2) [0x7fa197488f42]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1f4a46) [0x7fa1974e0a46]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(+0x1f47bd) [0x7fa1974e07bd]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_cx_begin_execution+0x124) [0x7fa1974e06e4]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_pf_execute_bytecode_program+0x18b) [0x7fa1974ef69b]
/home/leto/git/parrot/installed_parrot/lib/libparrot.so.3.10.0(Parrot_api_run_bytecode+0x17a) [0x7fa197481bda]
winxed(main+0x1c5) [0x401466]
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fa19442ec4d]
winxed() [0x4011d9]
Attempting to get PIR backtrace.  No guarantees.  Here goes...
current instr.: 'parrot;Rosella;Event;Dispatcher;Task;dispatch' pc 426 (rosella/event.pir:218) (rosella/event.winxed:400)
called from Sub 'parrot;Test_Rosella_Event_Dispatcher_Task;dispatch' pc 120 ((file unknown):50) (t/event/Dispatcher/Task.t:24)
called from Sub 'parrot;Rosella;Test;Suite;execute_test' pc 3190 (rosella/test.pir:1564) (rosella/test.winxed:1049)
called from Sub 'parrot;Rosella;Test;Suite;__run_test' pc 3237 (rosella/test.pir:1585) (rosella/test.winxed:1064)
called from Sub 'parrot;Rosella;Test;Suite;run' pc 3111 (rosella/test.pir:1529) (rosella/test.winxed:1024)
called from Sub 'parrot;Rosella;Test;test' pc 4391 (rosella/test.pir:2157) (rosella/test.winxed:1348)
called from Sub 'main' pc 173 ((file unknown):77) (t/event/Dispatcher/Task.t:33)
called from Sub 'main' pc 1408 (ext/winxed/driver.pir:676) (winxed_installed.winxed:268)
Aborted (core dumped)
@leto

This comment has been minimized.

Show comment
Hide comment
@leto

leto Dec 4, 2011

Collaborator
Core was generated by `winxed t/event/Dispatcher/Task.t'.
Program terminated with signal 6, Aborted.
#0  0x00007fa194443a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007fa194443a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fa1944475c0 in *__GI_abort () at abort.c:92
#2  0x00007fa197488310 in Parrot_confess (cond=0x7fa197691f38 "!PObj_on_free_list_TEST(value) || !\"Push dead object into CallContext!\"", 
    file=0x7fa197691ca0 "src/pmc/callcontext.c", line=1531) at src/exceptions.c:554
#3  0x00007fa197580be0 in Parrot_CallContext_push_pmc_orig (interp=0xc1b050, _self=0x1b503a8, value=0x7fffdfbf5600) at src/pmc/callcontext.c:1531
#4  0x00007fa19757f6bb in Parrot_CallContext_push_pmc (interp=0xc1b050, _self=0x1b503a8, value=0x7fffdfbf5600) at src/pmc/callcontext.c:1240
#5  0x00007fa1974a664f in set_call_from_varargs (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P", args=0x7fffdfbf5490) at src/call/args.c:618
#6  0x00007fa1974a68c9 in Parrot_pcc_set_call_from_varargs (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P", args=0x7fffdfbf5490)
    at src/call/args.c:663
#7  0x00007fa1974a6275 in Parrot_pcc_set_call_from_c_args (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P") at src/call/args.c:535
#8  0x00007fa1975fe7ae in Parrot_Task_nci_data (interp=0xc1b050, _self=0x1b50380) at src/pmc/task.c:356
#9  0x00007fa1975acfa8 in Parrot_NativePCCMethod_invoke (interp=0xc1b050, _self=0xce4db8, next=0x1b0b360) at src/pmc/nativepccmethod.c:124
#10 0x00007fa197449129 in Parrot_callmethodcc_p_sc (cur_opcode=0x1b0b348, interp=0xc1b050) at src/ops/core_ops.c:18055
#11 0x00007fa1974d996a in runops_fast_core (interp=0xc1b050, runcore_unused=0xcecbb0, pc=0x1b0b348) at src/runcore/cores.c:503
#12 0x00007fa1974d8de7 in runops_int (interp=0xc1b050, offset=1238) at src/runcore/main.c:220
#13 0x00007fa1974ac8e0 in runops (interp=0xc1b050, offs=1238) at src/call/ops.c:126
#14 0x00007fa1974a5514 in Parrot_pcc_invoke_from_sig_object (interp=0xc1b050, sub_obj=0xd2afc0, call_object=0xd2b088) at src/call/pcc.c:338
#15 0x00007fa197488f42 in Parrot_ext_call (interp=0xc1b050, sub_pmc=0xd2afc0, signature=0x7fa1976b5700 "P->") at src/extend.c:160
#16 0x00007fa1975fd226 in Parrot_Task_invoke (interp=0xc1b050, _self=0xd214a8, next=0x0) at src/pmc/task.c:166
#17 0x00007fa1974a549f in Parrot_pcc_invoke_from_sig_object (interp=0xc1b050, sub_obj=0xd214a8, call_object=0xd2afe8) at src/call/pcc.c:330
#18 0x00007fa197488f42 in Parrot_ext_call (interp=0xc1b050, sub_pmc=0xd214a8, signature=0x7fa197664d65 "->") at src/extend.c:160
#19 0x00007fa1974e0a46 in Parrot_cx_next_task (interp=0xc1b050, scheduler=0xcef2b0) at src/scheduler.c:218
#20 0x00007fa1974e07bd in Parrot_cx_outer_runloop (interp=0xc1b050) at src/scheduler.c:147
#21 0x00007fa1974e06e4 in Parrot_cx_begin_execution (interp=0xc1b050, main=0xd09400, argv=0xcef968) at src/scheduler.c:111
#22 0x00007fa1974ef69b in Parrot_pf_execute_bytecode_program (interp=0xc1b050, pbc=0xd09478, args=0xcef968) at src/packfile/api.c:2668
#23 0x00007fa197481bda in Parrot_api_run_bytecode (interp_pmc=0xce4ea8, pbc=0xd09478, args=0xcef968) at src/embed/bytecode.c:161
#24 0x0000000000401466 in main (argc=2, argv=0x7fffdfbf5ee8) at winxed.c:934
Collaborator

leto commented Dec 4, 2011

Core was generated by `winxed t/event/Dispatcher/Task.t'.
Program terminated with signal 6, Aborted.
#0  0x00007fa194443a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64  ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
(gdb) bt
#0  0x00007fa194443a75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007fa1944475c0 in *__GI_abort () at abort.c:92
#2  0x00007fa197488310 in Parrot_confess (cond=0x7fa197691f38 "!PObj_on_free_list_TEST(value) || !\"Push dead object into CallContext!\"", 
    file=0x7fa197691ca0 "src/pmc/callcontext.c", line=1531) at src/exceptions.c:554
#3  0x00007fa197580be0 in Parrot_CallContext_push_pmc_orig (interp=0xc1b050, _self=0x1b503a8, value=0x7fffdfbf5600) at src/pmc/callcontext.c:1531
#4  0x00007fa19757f6bb in Parrot_CallContext_push_pmc (interp=0xc1b050, _self=0x1b503a8, value=0x7fffdfbf5600) at src/pmc/callcontext.c:1240
#5  0x00007fa1974a664f in set_call_from_varargs (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P", args=0x7fffdfbf5490) at src/call/args.c:618
#6  0x00007fa1974a68c9 in Parrot_pcc_set_call_from_varargs (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P", args=0x7fffdfbf5490)
    at src/call/args.c:663
#7  0x00007fa1974a6275 in Parrot_pcc_set_call_from_c_args (interp=0xc1b050, signature=0x1b503a8, sig=0x7fa1976b5758 "P") at src/call/args.c:535
#8  0x00007fa1975fe7ae in Parrot_Task_nci_data (interp=0xc1b050, _self=0x1b50380) at src/pmc/task.c:356
#9  0x00007fa1975acfa8 in Parrot_NativePCCMethod_invoke (interp=0xc1b050, _self=0xce4db8, next=0x1b0b360) at src/pmc/nativepccmethod.c:124
#10 0x00007fa197449129 in Parrot_callmethodcc_p_sc (cur_opcode=0x1b0b348, interp=0xc1b050) at src/ops/core_ops.c:18055
#11 0x00007fa1974d996a in runops_fast_core (interp=0xc1b050, runcore_unused=0xcecbb0, pc=0x1b0b348) at src/runcore/cores.c:503
#12 0x00007fa1974d8de7 in runops_int (interp=0xc1b050, offset=1238) at src/runcore/main.c:220
#13 0x00007fa1974ac8e0 in runops (interp=0xc1b050, offs=1238) at src/call/ops.c:126
#14 0x00007fa1974a5514 in Parrot_pcc_invoke_from_sig_object (interp=0xc1b050, sub_obj=0xd2afc0, call_object=0xd2b088) at src/call/pcc.c:338
#15 0x00007fa197488f42 in Parrot_ext_call (interp=0xc1b050, sub_pmc=0xd2afc0, signature=0x7fa1976b5700 "P->") at src/extend.c:160
#16 0x00007fa1975fd226 in Parrot_Task_invoke (interp=0xc1b050, _self=0xd214a8, next=0x0) at src/pmc/task.c:166
#17 0x00007fa1974a549f in Parrot_pcc_invoke_from_sig_object (interp=0xc1b050, sub_obj=0xd214a8, call_object=0xd2afe8) at src/call/pcc.c:330
#18 0x00007fa197488f42 in Parrot_ext_call (interp=0xc1b050, sub_pmc=0xd214a8, signature=0x7fa197664d65 "->") at src/extend.c:160
#19 0x00007fa1974e0a46 in Parrot_cx_next_task (interp=0xc1b050, scheduler=0xcef2b0) at src/scheduler.c:218
#20 0x00007fa1974e07bd in Parrot_cx_outer_runloop (interp=0xc1b050) at src/scheduler.c:147
#21 0x00007fa1974e06e4 in Parrot_cx_begin_execution (interp=0xc1b050, main=0xd09400, argv=0xcef968) at src/scheduler.c:111
#22 0x00007fa1974ef69b in Parrot_pf_execute_bytecode_program (interp=0xc1b050, pbc=0xd09478, args=0xcef968) at src/packfile/api.c:2668
#23 0x00007fa197481bda in Parrot_api_run_bytecode (interp_pmc=0xce4ea8, pbc=0xd09478, args=0xcef968) at src/embed/bytecode.c:161
#24 0x0000000000401466 in main (argc=2, argv=0x7fffdfbf5ee8) at winxed.c:934
@Whiteknight

This comment has been minimized.

Show comment
Hide comment
@Whiteknight

Whiteknight Dec 6, 2011

Owner

I took a real quick look and I think this is a problem in Parrot with the new Task PMC. I'm testing a fix now.

Owner

Whiteknight commented Dec 6, 2011

I took a real quick look and I think this is a problem in Parrot with the new Task PMC. I'm testing a fix now.

@Whiteknight

This comment has been minimized.

Show comment
Hide comment
@Whiteknight

Whiteknight Jan 28, 2012

Owner

I believe this is fixed now. I haven't seen this problem pop up again.

Owner

Whiteknight commented Jan 28, 2012

I believe this is fixed now. I haven't seen this problem pop up again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment