Re: crash from curl with pkcs12 certs and threads

2010-07-14 Thread Brian Makin
On Thu, 2010-07-08 at 18:54 +0200, Dr. Stephen Henson wrote: > On Thu, Jul 08, 2010, Brian Makin wrote: > > > > > Ahh, got it. > > in crypto/evp/evp_pbe.c:EvP_PBE_alg_add > > pbe_tmp isn't initialized which means sometimes it has a bogus value. > >

Re: crash from curl with pkcs12 certs and threads

2010-07-08 Thread Brian Makin
> On Wed, 2010-07-07 at 21:28 +0200, Dr. Stephen Henson wrote: > > On Wed, Jul 07, 2010, Brian Makin wrote: > > > > > > > > The snapshots all seem to be failing in make test... > > > Is this a known issue or might it be a problem on my end? > >

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Brian Makin
Hah! reverted EVP_PBE_alg_add $ make $ make test everything passed :) I'll try to get at least a stack. On Wed, 2010-07-07 at 21:28 +0200, Dr. Stephen Henson wrote: > On Wed, Jul 07, 2010, Brian Makin wrote: > > > > > The snapshots all seem to be failing in make test

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Brian Makin
(core dumped) $cmd enc < $test > $test.cipher ./testenc: line 11: 26684 Segmentation fault (core dumped) $cmd enc < $test.cipher > $test.clear cmp: EOF on ./p.clear On Sat, 2010-06-26 at 14:56 +0200, Dr. Stephen Henson wrote: > On Thu, Jun 24, 2010, Brian Makin wrote: > &

Re: Slow crypto initialization.

2010-06-30 Thread Brian Makin
This is Windows 2003, 64 bit, and it's definitely in RAND_screen. I'm trying to move things to 1.0.0a now. On Wed, 2010-06-30 at 20:47 +0200, Dr. Stephen Henson wrote: > On Wed, Jun 30, 2010, Ger Hobbelt wrote: > > > :-( I hope I recall correctly that what I mention next is indeed stuff > > happ

Re: Slow crypto initialization.

2010-06-30 Thread Brian Makin
screen sampling that'll > turn out to eat the cycles on that one box of yours but the heap > traversal sys calls which are part of RAND_poll()/RAND_screen() and > they are only a part of the whole RAND_whatever entropy collecting > thing. > > > Bottom line: commenting ou

RAND_add with struct explanation?

2010-06-30 Thread Brian Makin
. Is this a bug or do I just not understand that bit of code? -- BRIAN MAKIN Senior Software Engineer ma...@vivisimo.com Vivisimo [Search Done Rightâ„¢] 1710 Murray Avenue Pittsburgh, PA 15217 USA tel: +1.412.422.2499 vi

Slow crypto initialization.

2010-06-30 Thread Brian Makin
s function is misbehaving? -- BRIAN MAKIN Senior Software Engineer ma...@vivisimo.com Vivisimo [Search Done Rightâ„¢] 1710 Murray Avenue Pittsburgh, PA 15217 USA tel: +1.412.422.2499 vivisimo.com __ OpenS

Re: crash from curl with pkcs12 certs and threads

2010-06-24 Thread Brian Makin
On Thu, 2010-06-24 at 15:22 +0200, Dr. Stephen Henson wrote: > On Tue, Jun 22, 2010, Brian Makin wrote: > > > Can you check to see if PKCS12_PBE_add() is called multiple times using the > debugger? It is only supposed to be called once before threads are started but > a

Re: crash from curl with pkcs12 certs and threads

2010-06-22 Thread Brian Makin
On Tue, 2010-06-22 at 19:00 +0200, Dr. Stephen Henson wrote: > On Tue, Jun 22, 2010, Brian Makin wrote: > > > Using curl 7.16.1 and 7.20.0 > > with openssl 0.9.8l and 0.9.8o > > I am getting intermittent crashes. Apache is setup with a pkcs12 cert > > and when th

crash from curl with pkcs12 certs and threads

2010-06-22 Thread Brian Makin
Using curl 7.16.1 and 7.20.0 with openssl 0.9.8l and 0.9.8o I am getting intermittent crashes. Apache is setup with a pkcs12 cert and when this fails it is always early in the process ie: initialization of the threads. I'm guessing either curl or ssl has a missing lock but I'm not sure which and