On Wed, 28 Feb 2007 19:20:51 +0100 gregor herrmann <[EMAIL PROTECTED]> wrote:
> tags 412041 + unreproducible moreinfo > thanks > > On Thu, 22 Feb 2007 19:56:02 -0500, Celejar wrote: > > Thanks for your bug report! Thanks for the reply; Gmail decided that it was spam (:/) so I didn't see until today. > > But sometimes, the program just dies without any explanation, dropping > > unceremoniously to a command prompt. This occurs even when running under > > rhe debugger; the debugger itself just terminates with no explanation. > > > > The following simple program exhibits the aforementioned behavior: > > > > ---Begin Program--- > > > [..] > > > > ---End Program--- > > > > When I run this repeatedly in succession, sometimes I get the above > > 'gpg: ...' error lines, and sometimes the program just terminates with > > no output. The 'print' line is never reached. > > I just ran your test program a hundred times in a loop, and each > invocation returned the expected result: > gpg: [EMAIL PROTECTED]: skipped: public key not found > gpg: [stdin]: encryption failed: public key not found > > I'm not sure what the conclusion is; maybe a problem in your gpg > setup (keyserver timeout or something)? What happens if you try the > following: > $ touch test > $ gpg --encrypt --recipient [EMAIL PROTECTED] test > (or in a loop like: > for i in `seq 1 100`; do echo $i; gpg --encrypt --recipient [EMAIL PROTECTED] > test; done > ) > > In my tests the output is the same as in your test script: 100 > identical error messages: > gpg: [EMAIL PROTECTED]: skipped: public key not found > gpg: test: encryption failed: public key not found When I do: $ for i in `seq 1 100`; do gpg --encrypt --recipient [EMAIL PROTECTED] test >> output 2>&1; done $ wc -l output I get '200 output' When I do: $ for i in `seq 1 100`; do perl/test.pl >> output 2>&1; done $ wc -l output I got (on 4 separate runs) 272, 292, 272, and 268 (4 lines of output per 'successful' run). [Of course, I did 'rm output' between runs.] My gpg configuration is stock; I don't recall tweaking anything. I have an empty $HOME/.gnupg/gpg.conf . Thanks, Celejar -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]