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. > > > > 119c119 > > < EVP_PBE_CTL *pbe_tmp = NULL

Re: crash from curl with pkcs12 certs and threads

2010-07-08 Thread Dr. Stephen Henson
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. > > 119c119 > < EVP_PBE_CTL *pbe_tmp = NULL, pbelu; > --- > > EVP_PBE_CTL *pbe_tmp, pbelu; > > Is that all that is

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? > > > > > > Testing key generation with NIST Binary-Cu

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... > > Is this a known iss

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Dr. Stephen Henson
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? > > Testing key generation with NIST Binary-Curve K-571 ok > Testing key generation with NIST Binary-Curve B-571 ok > sh ./teste

Re: crash from curl with pkcs12 certs and threads

2010-07-07 Thread Brian Makin
The snapshots all seem to be failing in make test... Is this a known issue or might it be a problem on my end? Testing key generation with NIST Binary-Curve K-571 ok Testing key generation with NIST Binary-Curve B-571 ok sh ./testenc cat ./testenc: line 10: 26677 Segmentation fault

Re: crash from curl with pkcs12 certs and threads

2010-06-26 Thread Dr. Stephen Henson
On Thu, Jun 24, 2010, Brian Makin wrote: > 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 on

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 bug means if it is cal

Re: crash from curl with pkcs12 certs and threads

2010-06-24 Thread Dr. Stephen Henson
On Tue, Jun 22, 2010, Brian Makin wrote: > 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

Re: crash from curl with pkcs12 certs and threads

2010-06-23 Thread Dr. Stephen Henson
On Wed, Jun 23, 2010, Dr. Stephen Henson wrote: > On Tue, Jun 22, 2010, Brian Makin wrote: > > > 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

Re: crash from curl with pkcs12 certs and threads

2010-06-23 Thread Dr. Stephen Henson
On Tue, Jun 22, 2010, Brian Makin wrote: > 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

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 this fails it is always early in the

Re: crash from curl with pkcs12 certs and threads

2010-06-22 Thread Dr. Stephen Henson
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 this fails it is always early in the process ie: initialization > of the threads. I'm guessing either curl o

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