[Opendnssec-user] ods-signerd: Segmentation fault

Hoda Rohani hoda at nlnetlabs.nl
Thu Dec 14 08:34:31 UTC 2017


Hello Thomas,

Thanks for reporting.

We saw this bug before and we already made a fix for it.

You can find the patch here:
https://github.com/opendnssec/opendnssec/pull/713


Regards,
Hoda



On 13-12-17 21:53, Thomas E. wrote:
> Hi,
> 
> I'm running OpenDNSSEC Version 2.1.3 on Debian Jessie with Mysql DB
> Version 5.5.58.
> 
> The signerd crashed after signing a large zone.
> 
> I think I had the same seg fault one or two times more in the past. That
> happened when I deleted a zone form ods and shortly after added it
> again. Don't know if it has anything to do with it....
> 
> 
> Dec 13 18:30:42 ods ods-signerd: [adapter] zone test.zone contains
> dnssec data (type=46), skipping
> Dec 13 18:30:42 ods ods-signerd: [STATS] test.zone 1513186241
> RR[count=2993 time=1(sec)] NSEC3[count=0 time=0(sec)] RRSIG[new=2
> reused=11135 time=0(sec) avg=0(sig/sec)] TOTAL[time=1(sec)]
> Dec 13 18:30:42 ods ods-signerd: Segmentation fault
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   wire/netio.c:234 in netio_dispatch()
> Dec 13 18:30:42 ods ods-signerd:   daemon/xfrhandler.c:124 in
> xfrhandler_start()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd: Threaddump
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   daemon/signertasks.c:174 in drudge()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd: Threaddump
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   daemon/signertasks.c:174 in drudge()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd: Threaddump
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   daemon/signertasks.c:174 in drudge()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd: Threaddump
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   daemon/signertasks.c:174 in drudge()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd: Threaddump
> Dec 13 18:30:42 ods ods-signerd: :
> Dec 13 18:30:42 ods ods-signerd:   inlined method
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/locks.c:63 in ods_thread_wait()
> Dec 13 18:30:42 ods ods-signerd:   scheduler/schedule.c:465 in
> schedule_pop_task()
> Dec 13 18:30:42 ods ods-signerd:   scheduler/worker.c:68 in worker_start()
> Dec 13 18:30:42 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd: Threaddump
> Dec 13 18:30:43 ods ods-signerd: :
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/util.c:279 in util_rr_print()
> Dec 13 18:30:43 ods ods-signerd:   signer/rrset.c:884 in rrset_print()
> Dec 13 18:30:43 ods ods-signerd:   signer/domain.c:505 in domain_backup2()
> Dec 13 18:30:43 ods ods-signerd:   signer/namedb.c:1163 in namedb_backup2()
> Dec 13 18:30:43 ods ods-signerd:   signer/zone.c:1088 in zone_backup2()
> Dec 13 18:30:43 ods ods-signerd:   daemon/signertasks.c:455 in
> do_writezone()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/task.c:120 in task_perform()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/worker.c:71 in worker_start()
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd: Threaddump
> Dec 13 18:30:43 ods ods-signerd: :
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/locks.c:63 in ods_thread_wait()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/schedule.c:465 in
> schedule_pop_task()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/worker.c:68 in worker_start()
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd: Threaddump
> Dec 13 18:30:43 ods ods-signerd: :
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/locks.c:63 in ods_thread_wait()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/schedule.c:465 in
> schedule_pop_task()
> Dec 13 18:30:43 ods ods-signerd:   scheduler/worker.c:68 in worker_start()
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd: Threaddump
> Dec 13 18:30:43 ods ods-signerd: :
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/pselect.c:39 in pselect()
> Dec 13 18:30:43 ods ods-signerd:   wire/netio.c:263 in netio_dispatch()
> Dec 13 18:30:43 ods ods-signerd:   daemon/dnshandler.c:200 in
> dnshandler_start()
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd: Threaddump
> Dec 13 18:30:43 ods ods-signerd: :
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/cmdhandler.c:388 in cmdhandler_start()
> Dec 13 18:30:43 ods ods-signerd:
> /root/opendnssec-2.1.3/common/janitor.c:306 in runthread()
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> Dec 13 18:30:43 ods ods-signerd:   inlined method
> 
> 
> Thanks,
> Thomas
> _______________________________________________
> Opendnssec-user mailing list
> Opendnssec-user at lists.opendnssec.org
> https://lists.opendnssec.org/mailman/listinfo/opendnssec-user
> 



More information about the Opendnssec-user mailing list