Ticket #73 (closed defect: fixed)

Opened 4 months ago

Last modified 4 months ago

*net* command loops indefinitely

Reported by: camoroz0 Owned by:
Priority: blocker Milestone: v0.81
Component: ERESI Version:
Severity: High Keywords:
Cc:

Description

uname -a: Linux ebiso-dev1 2.6.25-gentoo-r7 #1 SMP Tue Jul 29 20:09:16 PDT 2008 x86_64 Intel(R) Xeon(R) CPU E5335 @ 2.00GHz GenuineIntel? GNU/Linux

rev: 1057

Steps to reproduce:

with elfsh32:

elfsh-0.81-a17-dev@local) net [DEBUG NETWORK] Socket [0] key = localkeynbr: 0x2, index: 0x1 [Press enter]

[...]

[DEBUG NETWORK] revm_net_input [DEBUG NETWORK] revm_network_input no new buffer

2 - <revm_net_input@…:951>

1 - <revm_input@…:279> 1 + <revm_select@…:266>

2 + <revm_flush@…:24> 2 - <revm_flush@…:39> 2 + <hash_get_keys@…:376> 2 - <hash_get_keys@…:400> 2 + <revm_clean_jobs@…:1073>

2 - <revm_clean_jobs@…:1095>

2 + <revm_output@…:73>

3 + <revm_net_output@…:273>

4 + <revm_netsend@…:250>

5 - <revm_net_output@…:292>

C[0m:684>

2 - <revm_net_recvd@…:839>

[DEBUG NETWORK] Select broken by a new connexion.

1 - <revm_select@…:363> 1 + <revm_input@…:268>

2 + <revm_net_input@…:903>

[DEBUG NETWORK] revm_net_input [DEBUG NETWORK] revm_network_input no new buffer

2 - <revm_net_input@…:951>

1 - <revm_input@…:279> 1 + <revm_select@…:266>

2 + <revm_flush@…:24> 2 - <revm_flush@…:39> 2 + <hash_get_keys@…:376> 2 - <hash_get_keys@…:400> 2 + <revm_clean_jobs@…:1073>

2 - <revm_clean_jobs@…:1095>

2 + <revm_output@…:73>

3 + <revm_net_output@…:273>

4 + <revm_netsend@…:250>

5 - <revm_net_output@…:292>

4 - <revm_output@…:124>

2 + <hash_free_keys@…:409> 2 - <hash_free_keys@…:412> 2 + <hash_get_keys@…:376> 2 - <hash_get_keys@…:400>

[!] An allocation was removed from the history without beeing free (PROXY -[ALLOC of addr: 0x008865A0 at libhash.c@hash_get_keys:385)

[!] An allocation was removed from the history without beeing free (PROXY -[ALLOC of addr: 0x008865C0 at libhash.c@hash_get_keys:385)

Value of keys[index]: 0x22f6cacf Value of keys[index]: 0x2245c0d2 [DEBUG NETWORK] Socket [0] key = localkeynbr: 0x2, index: 0x1

[!] An allocation was removed from the history without beeing free (PROXY -[ALLOC of addr: 0x008865E0 at libhash.c@hash_get_keys:385)

[...]

Deactivating the logs doesn't help.

I get lost... thanks for the help.

Change History

Changed 4 months ago by camoroz0

  • status changed from new to closed
  • resolution set to fixed

For some reason I don't understand yet, in net.c the world.curjob = job must be commented.

hash_add(&world.jobs, "net_init", job);

/* world.curjob = job; // to comment again ? */

world.state.revm_net = 1;

Note: See TracTickets for help on using tickets.