[RC5] Client checkpoint file bug

Rask Ingemann Lambertsen rask at kampsax.k-net.dk
Thu Jan 1 19:10:59 EST 1998


Den 01-Jan-98 16:42:23 skrev Roy Wilson følgende om "Re: [RC5] Client checkpoint file bug":
> On Thu, 1 Jan 98 10:32:06 -0500, Seth Dillingham wrote:

>>So, Adam/David/Jeff (er, Duncan/Nugget/Bovine), care to comment 
>>'officially' on some of this, and save all of us the trouble? ;) There 
>>have certainly been enough comments in the last month about disappearing 
>>blocks. It would be great to have some official comment on it, including:
>>     1. What the most common causes are, of AWOL blocks
>>     2. What's the remedy in the situations that HAVE a remedy?
>>     3. Can you, or the programmer, confirm the bug that Rask 
>>         has just reported? That would be nice. It's entirely 
>>         possible that it's specific to the client he's working
>>         with, but not necessarily. Lots of the clients share 
>>         some common code. :)

> 	Rask; what client are you using (OS flavor),

I'm running the Amiga/m68k build 6401 and Amiga/PPC build 6402.271 clients.
Both are CLI clients, so I imagine that most of the is common code. All
except one of the duplicated blocks were checked by the PPC client. Something
really weird happened with that block (64740D15:50000000):

----- (log file starts here) 


RC5-64 Client v2.6401 started.  Using rask at kampsax.k-net.dk as email address.


[10/29/97 05:45:31 GMT] The proxy says: "The cows are invading!  www.bovine.net"
<<<<<
[10/29/97 05:45:36 GMT] Retrieved 5 block(s) from server
[10/29/97 05:45:36 GMT] Block: 64740D15:50000000 being processed
[10/29/97 05:45:36 GMT] 4 Blocks remain in file buff-in.rc5
[10/29/97 05:45:36 GMT] 0 Blocks are in file buff-out.rc5

[10/29/97 05:47:19 GMT] Shutdown message received - Block being saved.
[10/29/97 05:47:19 GMT] Saved block 64740D15:50000000 ( 0.21 percent complete)


RC5-64 Client v2.6401 started.  Using rask at kampsax.k-net.dk as email address.

[10/29/97 07:58:34 GMT] Block: 64740D15:50000000 being processed
[10/29/97 07:58:34 GMT] 4 Blocks remain in file buff-in.rc5
[10/29/97 07:58:34 GMT] 0 Blocks are in file buff-out.rc5
R
[10/29/97 21:09:32 GMT] Completed block 64740D15:50000000 (268435456 keys)
                        13:10:57.96 - [5643.89 keys/sec]
[10/29/97 21:09:32 GMT] Block: 64740D15:40000000 being processed
-----

20 days go by, then that block suddenly reappears out of nowhere (note that I
changed the email address _before_ sending in the first blocks):

-----
RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/18/97 21:31:35 GMT] Block: 64CC39BB:A0000000 being processed
[11/18/97 21:31:35 GMT] 1 Blocks remain in file buff-in.rc5
[11/18/97 21:31:35 GMT] 0 Blocks are in file buff-out.rc5
R

RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/18/97 21:53:16 GMT] Block: 64740D15:50000000 being processed
[11/18/97 21:53:16 GMT] 1 Blocks remain in file buff-in.rc5
[11/18/97 21:53:16 GMT] 0 Blocks are in file buff-out.rc5
R

RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/18/97 23:02:51 GMT] Block: 64740D15:50000000 being processed
[11/18/97 23:02:51 GMT] 1 Blocks remain in file buff-in.rc5
[11/18/97 23:02:51 GMT] 0 Blocks are in file buff-out.rc5
R

RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/19/97 01:48:40 GMT] Block: 64740D15:50000000 being processed
[11/19/97 01:48:40 GMT] 1 Blocks remain in file buff-in.rc5
[11/19/97 01:48:40 GMT] 0 Blocks are in file buff-out.rc5
R

RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/19/97 01:54:56 GMT] Block: 64740D15:50000000 being processed
[11/19/97 01:54:56 GMT] 1 Blocks remain in file buff-in.rc5
[11/19/97 01:54:56 GMT] 0 Blocks are in file buff-out.rc5
R

RC5-64 Client v2.6401 started.  Using rask-rc5amiga at kampsax.k-net.dk as email address.

Recovered 1 blocks from checkpoint file
[11/19/97 03:37:49 GMT] Block: 64740D15:50000000 being processed
[11/19/97 03:37:49 GMT] 1 Blocks remain in file buff-in.rc5
[11/19/97 03:37:49 GMT] 0 Blocks are in file buff-out.rc5
R
[11/19/97 14:27:23 GMT] Completed block 64740D15:50000000 (268435456 keys)
                        10:49:33.96 - [4725.14 keys/sec]
PutBuffer Error
[11/19/97 14:29:49 GMT] Block: 6421AC3B:40000000 being processed

How that block reappeared after 20 days, I don't know.

> and how did
> you find the duplications?  I'd like to check my own logs for
> the same duplications.  Just a sort on that position?

First, extract the block numbers. I used GNU grep and cut (from GNU
textutils) for that. Second, find the duplicates. Sort and uniq (from GNU
textutils) combined does that.

Regards,

/¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯T¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯\
| Rask Ingemann Lambertsen       | E-mail: mailto:rask at kampsax.dtu.dk    |
| Registered Phase5 developer    | WWW: http://www.gbar.dtu.dk/~c948374/ |
| A4k/604e, 44 MB, 3 GB, Ariadne | "ThrustMe" on XPilot, ARCnet and IRC  |
|                           LOAD "emacs",8,1                             |

--
To unsubcribe, send 'unsubscribe rc5' to majordomo at llamas.net
rc5-digest subscribers replace rc5 with rc5-digest



More information about the rc5 mailing list