crash

Udo van den Heuvel udovdh at xs4all.nl
Mon Apr 13 16:44:55 UTC 2020


On 13-04-2020 16:01, Hal Murray wrote:
> 
> udovdh at xs4all.nl said:
>> Started things this way. One gdb line worries me a bit: (No debugging symbols
>> found in build/main/ntpd/ntpd)
> 
>> Perhaps a different build is needed? 
> 
> I'm not sure how that stuff works.
> 
> configure has an --enable-debug-gdb option.  That may do it.

With that option and some debuginfo's installed I get:

Thread 1 "ntpd" received signal SIGSEGV, Segmentation fault.
use_certificate_chain_file (ctx=ctx at entry=0x0, ssl=ssl at entry=0x0,
file=file at entry=0x5555555f9640
"/etc/letsencrypt/csr/0000_csr-certbot.pem") at ssl/ssl_rsa.c:604
604	        passwd_callback = ssl->default_passwd_callback;
Missing separate debuginfos, use: dnf debuginfo-install
libgpg-error-1.36-2.fc31.x86_64
(gdb) bt
#0  use_certificate_chain_file (ctx=ctx at entry=0x0, ssl=ssl at entry=0x0,
file=file at entry=0x5555555f9640
"/etc/letsencrypt/csr/0000_csr-certbot.pem") at ssl/ssl_rsa.c:604
#1  0x00007ffff7c5c36e in SSL_CTX_use_certificate_chain_file
(ctx=ctx at entry=0x0, file=file at entry=0x5555555f9640
"/etc/letsencrypt/csr/0000_csr-certbot.pem") at ssl/ssl_rsa.c:688
#2  0x000055555558312e in nts_load_certificate (ctx=ctx at entry=0x0) at
../../ntpd/nts.c:225
#3  0x00005555555832bc in nts_reload_certificate (ctx=0x0) at
../../ntpd/nts.c:204
#4  0x00005555555840d5 in check_cert_file () at ../../ntpd/nts_server.c:171
#5  0x000055555558414d in nts_cert_timer () at ../../ntpd/nts_server.c:163
#6  0x0000555555582d59 in nts_timer () at ../../ntpd/nts.c:107
#7  0x00005555555739cd in timer () at ../../ntpd/ntp_timer.c:284
#8  0x0000555555562051 in mainloop () at ../../ntpd/ntpd.c:940
#9  main (argc=<optimized out>, argv=<optimized out>) at
../../ntpd/ntpd.c:884
(gdb)

Hopefully this helps fixing the issue.

Kind regards,
Udo



More information about the devel mailing list