7 Bugs Found and Corrected

This chapter contains a list of bugs that have been found and eventually corrected.

4. Submitted on 29 Apr. 2004, fixed on 30 Apr. 2004.

When two threads join the network at nearly the same time through the same access point without specifying a nodeId, they are assigned the same value.

3. Submitted on 5 Jan. 2004, fixed on 5 Jan. 2004.

When a node, alone in the P2PS network, tries to send a message with method sendToSucc there is a problem (an error occurs).

2. Submitted on 17 Dec. 2003, fixed on 17 Dec. 2003.

In the netConfig structure you have misspelt the 'protocol' feature:

{System.show {OP2PS getNetConfig($)}}

gives:

netConfig(expFactor:3 maxNetSize:2131 prorocol:tango succListSize:10)

1. Submitted on 28 Nov. 2003, fixed on 17 Dec. 2003.

The following error is issued when a peer that uses a proxy tries to send a message:

%************************ Error: Dictionary *********************
%**
%** Key not found
%**
%** Dictionary: Dictionary
%** Key found:  1987
%** Legal keys: [1014]
%** In statement: {P/3 Dictionary.get Dictionary 1987 _}
%**
%** Call Stack:
%** procedure 'ConManager,asSend/fast' in file "./P2PCom/Connection.oz", line 42, column 6, PC = 136110248
%** procedure in file "./kevpeer.oz", line 1, column 0, PC = 135873232
%** procedure 'RootManager,Pickle/fast' in file "/home/keving/MOZART/kosher/mozart/share/lib/init/Module.oz", line 252, column 6, PC = 135764648
%** procedure in file "/home/keving/MOZART/kosher/mozart/share/lib/init/Module.oz", line 74, column 3, PC = 136001928
%**--------------------------------------------------------------
%************************ Error: Dictionary *********************


Bruno Carton and Valentin Mesaros