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

 
 

bug #37429: Test suite freezes on client script

Submitter:  Christian Mauduit <ufoot>
Submitted:  Sun 23 Sep 2012 05:28:11 PM UTC
   
 
Category:  Engine Severity:  3 - Normal
Status:  Fixed Privacy:  Public
Assigned to:  ufoot Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group administrator
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>
Group administrator

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-05-06 ufoot Open/ClosedOpen Closed
    2014-01-05 ufoot StatusReady For Test Fixed
    2012-10-10 ufoot StatusFixed Ready For Test
    2012-10-10 ufoot StatusIn Progress Fixed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code