> Now it hangs in some exception code as you mentioned,
> I'll keep investigate.

Replying to self,

I truly hate threads :-) 
reverting from interactive debugging with gdb
to good old printf-debugging I traced this one
down.
Something goes wrong in a key generation (and BigInteger
is involved). An infinite loop is created:

    public DSAPrivateKey(DSAGroup g, Random r) {
        XBigInteger x;
        Node.logger.log(DSAPrivateKey.class,"will create key",
                        Logger.DEBUG);
        do {
            x = new XBigInteger(160, r);
            Node.logger.log(DSAPrivateKey.class,"created key: "+x,
                            Logger.DEBUG);
            Node.logger.log(DSAPrivateKey.class,"key Q:       "+g.getQ(),
                            Logger.DEBUG);
            Node.logger.log(DSAPrivateKey.class,"key cmp: 
"+x.compareTo(g.getQ()),
                            Logger.DEBUG);
        } while (x.compareTo(g.getQ()) > -1);
        this.x = x;
    }


The while never false is never.
XBigInteger is a hack to use MJR's libgcj patch
but it still does not work.

I'll keep investigating,
any pointers appriciated.

/g?ran




-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 239 bytes
Desc: not available
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20020105/a9c078bf/attachment.pgp>

Reply via email to