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

Kurt Roeckx kurt at roeckx.be
Fri Apr 27 18:44:20 UTC 2012


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: [  635.455671] ntpd[2598]: segfault at 20 ip 00007f727f118ec3 sp 00007fff1ecb9a78 error 4 in libcrypto.so.0.9.8[7f727f039000+175000]
> 
> When linking with libcrypto.a, crashes still occur:
> 
> Apr 26 14:20:19 clepsydra kernel: [ 2191.670043] ntpd[2596]: segfault at 20 ip 0000000000470aa3 sp 00007fff49a93e78 error 4 in ntpd[400000+14f000]

Did you try this with 0.9.8o-4squeeze11?  I assume
0.9.8o-4squeeze7 didn't have a problem?

In any case I can't reproduce your problem.

As far as I know, ntp only uses openssl for autokey, but I also
don't have a setup with autokey.

> Despite the following:
> 
>   clepsydra# ulimit -a
>   core file size          (blocks, -c) unlimited
> 
>   running the process as root instead of uid=ntp

I assume you removed the -u option?

How about starting it in gdb?  With the -n option it
should not fork, but I think gdb has an option to
follow the fork.



Kurt






More information about the Pkg-openssl-devel mailing list