Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-05-01 Thread Kurt Roeckx
reassign 670581 src:ntp 1:4.2.6.p2+dfsg-1 thanks On Tue, May 01, 2012 at 09:52:06AM -0700, Andris Kalnozols wrote: > On 4/30/2012 11:54 PM, Andris Kalnozols wrote: > > >However, I can't find where the ntpd program ever calls ssl_init() > >or the INIT_SSL() macro. So I'm betting that this problem

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-05-01 Thread Andris Kalnozols
On 4/30/2012 11:54 PM, Andris Kalnozols wrote: However, I can't find where the ntpd program ever calls ssl_init() or the INIT_SSL() macro. So I'm betting that this problem will go away once I find the proper place to call this important routine. I took a look at the latest development code bas

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-05-01 Thread Kurt Roeckx
On Mon, Apr 30, 2012 at 05:25:44PM -0700, Andris Kalnozols wrote: > > In `digest.c', the failing line of code seems to involve a function pointer > if I'm interpreting the EVP_MD structure correctly from `crypto/evp/evp.h: > > int (*update)(EVP_MD_CTX *ctx,const void *data,size_t count); > > I

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-30 Thread Andris Kalnozols
I believe I found the smoking gun by breaking out the call to EVP_get_digestbynid(crypto_nid) and testing its return value: --- ntp_crypto.c.orig 2009-12-08 23:36:35.0 -0800 +++ ntp_crypto.c2012-04-30 22:44:46.094602274 -0700 @@ -197,6 +197,7 @@ ) { EVP_MD_CTX

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-30 Thread Andris Kalnozols
On 4/30/2012 3:07 AM, Kurt Roeckx wrote: On Sun, Apr 29, 2012 at 05:13:39PM -0700, Andris Kalnozols wrote: I also added the following code: --- ntp_crypto.c.orig 2009-12-08 23:36:35.0 -0800 +++ ntp_crypto.c2012-04-29 15:16:50.181208921 -0700 @@ -230,6 +230,38 @@

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-30 Thread Kurt Roeckx
On Sun, Apr 29, 2012 at 05:13:39PM -0700, Andris Kalnozols wrote: > > I also added the following code: > > --- ntp_crypto.c.orig 2009-12-08 23:36:35.0 -0800 > +++ ntp_crypto.c2012-04-29 15:16:50.181208921 -0700 > @@ -230,6 +230,38 @@ > break; > } Can you

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-29 Thread Andris Kalnozols
On 4/28/2012 1:57 AM, Kurt Roeckx wrote: On Fri, Apr 27, 2012 at 05:42:07PM -0700, Andris Kalnozols wrote: On 4/27/2012 4:11 PM, Kurt Roeckx wrote: header and hdlen from frame 1 would be nice. Could you also install the libssl0.9.8-dbg package? You'll get debug symbols then. I'm not a real

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-28 Thread Kurt Roeckx
On Fri, Apr 27, 2012 at 05:42:07PM -0700, Andris Kalnozols wrote: > On 4/27/2012 4:11 PM, Kurt Roeckx wrote: > >header and hdlen from frame 1 would be nice. > > > >Could you also install the libssl0.9.8-dbg package? You'll get > >debug symbols then. > > > > I'm not a real pro with the debugger.

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Andris Kalnozols
On 4/27/2012 4:11 PM, Kurt Roeckx wrote: header and hdlen from frame 1 would be nice. Could you also install the libssl0.9.8-dbg package? You'll get debug symbols then. I'm not a real pro with the debugger. After installing the `dbg' package, is this all that's needed?: gdb /usr/sbin/ntp

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Kurt Roeckx
On Sat, Apr 28, 2012 at 01:11:39AM +0200, Kurt Roeckx wrote: > > header and hdlen from frame 1 would be nice. I guess ctx and crypto_nid would also be nice. Kurt -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas.

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Kurt Roeckx
On Fri, Apr 27, 2012 at 03:56:03PM -0700, Andris Kalnozols wrote: > On 4/27/2012 11:44 AM, Kurt Roeckx wrote: > >On Thu, Apr 26, 2012 at 03:28:17PM -0700, Andris Kalnozols wrote: > >>Package: openssl > >>Version: 0.9.8o-4squeeze12 > >>Severity: important > >>Tags: squeeze > >> > >>The NTP daemon on

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Andris Kalnozols
On 4/27/2012 11:44 AM, Kurt Roeckx wrote: On Thu, Apr 26, 2012 at 03:28:17PM -0700, Andris Kalnozols wrote: Package: openssl Version: 0.9.8o-4squeeze12 Severity: important Tags: squeeze The NTP daemon on our stratum-1 time server `clepsydra.dec.com' keeps failing with this log message: Apr 26

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Kurt Roeckx
On Fri, Apr 27, 2012 at 12:36:00PM -0700, Andris Kalnozols wrote: > On 4/27/2012 11:44 AM, Kurt Roeckx wrote: > >Did you try this with 0.9.8o-4squeeze11? I assume > >0.9.8o-4squeeze7 didn't have a problem? > > From the changelog, squeeze7 came out in January and I'm pretty > sure that the ntpd pro

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Andris Kalnozols
On 4/27/2012 1:07 PM, Raphael Geissert wrote: On Friday 27 April 2012 14:36:00 Andris Kalnozols wrote: I see that the squeeze7 release is still available: apt-get install openssl=0.9.8o-4squeeze7 Reading package lists... Done Building dependency tree Reading state information...

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Raphael Geissert
On Friday 27 April 2012 14:36:00 Andris Kalnozols wrote: > I see that the squeeze7 release is still available: > >apt-get install openssl=0.9.8o-4squeeze7 >Reading package lists... Done >Building dependency tree >Reading state information... Done >The following packages will be

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Andris Kalnozols
On 4/27/2012 11:44 AM, Kurt Roeckx wrote: On Thu, Apr 26, 2012 at 03:28:17PM -0700, Andris Kalnozols wrote: Package: openssl Version: 0.9.8o-4squeeze12 Severity: important Tags: squeeze The NTP daemon on our stratum-1 time server `clepsydra.dec.com' keeps failing with this log message: Apr 26

Bug#670581: [Pkg-openssl-devel] Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-27 Thread Kurt Roeckx
On Thu, Apr 26, 2012 at 03:28:17PM -0700, Andris Kalnozols wrote: > Package: openssl > Version: 0.9.8o-4squeeze12 > Severity: important > Tags: squeeze > > The NTP daemon on our stratum-1 time server `clepsydra.dec.com' keeps > failing with this log message: > > Apr 26 12:27:17 clepsydra kernel:

Bug#670581: openssl: ntpd segfaults with error 4 in libcrypto.so.0.9.8 on Debian squeeze

2012-04-26 Thread Andris Kalnozols
Package: openssl Version: 0.9.8o-4squeeze12 Severity: important Tags: squeeze The NTP daemon on our stratum-1 time server `clepsydra.dec.com' keeps failing with this log message: Apr 26 12:27:17 clepsydra kernel: [ 635.455671] ntpd[2598]: segfault at 20 ip 7f727f118ec3 sp 7fff1ecb9a78 e