bugLiquid War 6 - Bugs: bug #37429, Test suite freezes on client script

 
 

bug #37429: Test suite freezes on client script

Submitted by:  Christian Mauduit <ufoot>
Submitted on:  Sun 23 Sep 2012 05:28:11 PM UTC  
 
Category: EngineSeverity: 3 - Normal
Status: FixedPrivacy: Public
Assigned to: Christian Mauduit <ufoot>Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 10 Oct 2012 10:38:37 PM UTC, comment #1:

Added a "SEED" message to make sure "DUMP" was not first. But anyway, the real problem was, it happens, not committing on the test pilot, so seqs were broken.

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.
Sun 23 Sep 2012 05:28:11 PM UTC, original submission:

Test suite freezes in test-0-client.scm, looks like big message receive is broken. Additionnnally, takes up 100% of CPU, typically infinite loop displayed below, taken from a "gdb attach":

_lw6dat_block_get_atom (block=0x2b737c1b4270, serial=1716) at ../../../../src/lib/dat/dat-block.c:133
133 atom = &(block->atoms[atom_index]);
(gdb) bt
#0 _lw6dat_block_get_atom (block=0x2b737c1b4270, serial=1716) at ../../../../src/lib/dat/dat-block.c:133
#1 0x00000000004c0690 in _lw6dat_stack_seq2serial (stack=0x25eaa58, seq=999877899873) at ../../../../src/lib/dat/dat-stack.c:826
#2 0x00000000004c0748 in _lw6dat_stack_update_msg_list_by_seq (stack=0x25eaa58, msg_list=0x7fff79487c90, seq=999877899873, get_all=0, clear_recent=0, worst_msg_i=0xe8cd5df661, worst_msg_n=0x7fff79487c98)
at ../../../../src/lib/dat/dat-stack.c:1184
#3 0x0000000000462587 in _lw6dat_warehouse_get_msg_list_by_seq (warehouse=0x25e9a00, seq_min=<value optimized out>, seq_max=<value optimized out>, for_reference=<value optimized out>, progress=<value optimized out>)
at ../../../../src/lib/dat/dat-warehouse.c:807
#4 0x00000000004c2951 in _lw6p2p_node_get_next_draft_msg (node=0x25acae0, progress=<value optimized out>) at ../../../../src/lib/p2p/p2p-node.c:2184
#5 0x0000000000480e6a in _scm_lw6p2p_node_get_next_draft_msg (node=0x2b73774796e0) at ../../../src/lib/lw6-funcsp2p.c:867
#6 0x00002b7375282bef in ?? () from /usr/lib/libguile.so.17
#7 0x00002b7375283274 in ?? () from /usr/lib/libguile.so.17
#8 0x00002b7375283e1b in ?? () from /usr/lib/libguile.so.17
#9 0x00002b73752827dc in ?? () from /usr/lib/libguile.so.17
#10 0x00002b73752d9c9f in scm_c_catch () from /usr/lib/libguile.so.17
#11 0x00002b73752d9e5e in scm_catch_with_pre_unwind_handler () from /usr/lib/libguile.so.17
#12 0x00002b737528245c in ?? () from /usr/lib/libguile.so.17
#13 0x00002b7375283d6c in ?? () from /usr/lib/libguile.so.17
#14 0x00002b73752827dc in ?? () from /usr/lib/libguile.so.17
#15 0x00002b73752827dc in ?? () from /usr/lib/libguile.so.17
#16 0x00002b73752835d7 in ?? () from /usr/lib/libguile.so.17
#17 0x00002b73752827dc in ?? () from /usr/lib/libguile.so.17
#18 0x00002b7375281fa6 in ?? () from /usr/lib/libguile.so.17
#19 0x00002b73752a0f83 in scm_primitive_load () from /usr/lib/libguile.so.17
#20 0x0000000000467448 in lw6scm_c_primitive_load (filename=0x2b737c001110 "../../../../script/test-0-client.scm") at ../../../../src/lib/scm/scm-wrapper.c:93
#21 0x0000000000422a47 in _test_callback (data=<value optimized out>) at ../../../src/lib/lw6-test.c:149
#22 _guile_test (data=<value optimized out>) at ../../../src/lib/lw6-test.c:236
#23 0x00002b737527493a in ?? () from /usr/lib/libguile.so.17
#24 0x00002b73752d9c9f in scm_c_catch () from /usr/lib/libguile.so.17
#25 0x00002b7375274dab in scm_i_with_continuation_barrier () from /usr/lib/libguile.so.17
#26 0x00002b7375274e40 in scm_c_with_continuation_barrier () from /usr/lib/libguile.so.17
#27 0x00002b73752d8d04 in scm_i_with_guile_and_parent () from /usr/lib/libguile.so.17
#28 0x0000000000422685 in lw6_test (mode=<value optimized out>) at ../../../src/lib/lw6-test.c:355
#29 0x00000000004221bb in main (argc=1, argv=0x7fff794889d8) at ../../../src/lib/lw6-testmain.c:63
(gdb)

Christian Mauduit <ufoot>
Project AdministratorIn charge of this item.

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by ufoot (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 05 Jan 2014 01:24:25 PM UTCufootStatusReady For Test=>Fixed
    Wed 10 Oct 2012 10:39:06 PM UTCufootStatusFixed=>Ready For Test
    Wed 10 Oct 2012 10:38:37 PM UTCufootStatusIn Progress=>Fixed

    Back to the top


    Powered by Savane 3.1-cleanup