sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Re: sks recon cores when it claims "reconciliation compl


From: Chris Kuethe
Subject: Re: [Sks-devel] Re: sks recon cores when it claims "reconciliation complete"
Date: Mon, 26 Jan 2004 17:21:06 -0700 (MST)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, 26 Jan 2004, Yaron Minsky wrote:

> The hashconvert function, which occurs in the
> critical lines in question, could be the source of the problem, so adding
> printout statements could help track the problem down.

2004-01-26 17:00:30 Done received                                               
2004-01-26 17:00:30 Reconciliation complete                                     
2004-01-26 17:00:30 calling print_hashes (client)                               
2004-01-26 17:00:30 hashconvert:1                                               

that's about line 70 or recoverList.ml

(** converts a list of elements of ZZp to a sorted list of hashes *)
let hashconvert elements =
    ignore (plerror 4 "hashconvert:1");
  let hashes = List.map ~f:ZZp.to_bytes elements in
    ignore (plerror 4 "hashconvert:2");
  let hashes = List.map ~f:(fun hash -> RMisc.truncate hash 
                              KeyHash.hash_bytes) hashes in
    ignore (plerror 4 "hashconvert:3");
  let hashes = List.sort ~cmp:compare hashes in
  hashes

so it's the line right after "hashconvert:1" that dies... and at this point
it's time for me to go grab the Ocaml and Numerix tutorials.

- -- 
Chris Kuethe, GCIA CISSP: Secure Systems Specialist - U of A CNS
      office: 157 General Services Bldg.    +1.780.492.8135
              address@hidden

     GDB has a 'break' feature; why doesn't it have 'fix' too?

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (OpenBSD)

iD8DBQFAFa728bLxfOPbiw4RApSwAKDbu+Glox1YGNVQ3lLj53VoYd2q/ACfdr93
pkjKAinr+TC9mzjLBWpJbnU=
=LFwr
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]