savannah-hackers
[Top][All Lists]
Advanced

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

Re: [Savannah-hackers] lsh Problem


From: Niels Möller
Subject: Re: [Savannah-hackers] lsh Problem
Date: 15 Jul 2001 18:34:24 +0200

Loic Dachary <address@hidden> writes:

> Jul 11 18:08:53 subversions lshd[15279]: do_dsa_sign: Internal error.

If you apply the below patch, we should get some more information if
it happens again. Running your current version with --trace should
also produce the same information, but also a lot of other noise.

It would be good if you could set lshd up to dump core properly
when/if it crashes. As far as I know, the steps needed to do that is
to

1. Make sure that there's no limit on core size in the environment in
   which lshd is started.

2. Pass the --enable-core command line option to lshd in the start
   script.

3. The core files will be written to /core (when invoked in --daemonic
   mode, lshd chdirs to /). So / must be writable.

Regards,
/Niels

PS: I'm leaving tomorrow morning for a week in Budapest, so don't
expect prompt replies for yet some time. 

RCS file: /lysator/cvsroot/nisse/lsh/src/dsa.c,v
retrieving revision 1.26
diff -u -a -r1.26 dsa.c
--- dsa.c       2001/02/08 16:33:01     1.26
+++ dsa.c       2001/07/15 16:18:15
@@ -525,7 +525,8 @@
       
       break;
     default:
-      fatal("do_dsa_sign: Internal error.");
+      fatal("do_dsa_sign: Internal error, unexpected algorithm %a.\n",
+           algorithm);
     }
   mpz_clear(r);
   mpz_clear(s);



reply via email to

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