Hi All, I have bind9 version 9.18.26 deployed on a dns server running on the AWS ECS cluster. I noticed "named" crashed with assertion failure. It has happened a few times now.
>From the coredump, it appears named crashied when it is trying to respond to a query. I was sending a dig query with +dnssec flag but not sure if that caused the issue. It works fine now with the same query. Let me know if you need more information. Any help would be appreciated. Below is the coredump: (gdb) bt #0 0x00007ff892802e97 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ff892804801 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x000055864102e534 in assertion_failed (file=<optimized out>, line=<optimized out>, type=isc_assertiontype_require, cond=0x7ff894582e28 "(((name)->attributes & 0x00000001) != 0 ? 1 : 0)") at main.c:247 #3 0x00007ff89485bdaa in isc_assertion_failed (file=file@entry=0x7ff894582d64 "compress.c", line=line@entry=391, type=type@entry=isc_assertiontype_require, cond=cond@entry=0x7ff894582e28 "(((name)->attributes & 0x00000001) != 0 ? 1 : 0)") at assertions.c:48 #4 0x00007ff89441842d in dns_compress_add (cctx=cctx@entry=0x7ff88a59ab10, name=name@entry=0x7ff88a596f90, prefix=<optimized out>, offset=<optimized out>) at compress.c:391 #5 0x00007ff894467eb5 in dns_name_towire2 (name=name@entry=0x7ff88a596f90, cctx=cctx@entry=0x7ff88a59ab10, target=target@entry=0x7ff88a59aa50, comp_offsetp=comp_offsetp@entry=0x0) at name.c:2025 #6 0x00007ff894468267 in dns_name_towire (name=name@entry=0x7ff88a596f90, cctx=cctx@entry=0x7ff88a59ab10, target=target@entry=0x7ff88a59aa50) at name.c:1915 #7 0x00007ff8944bcab5 in towire_nsec (target=<optimized out>, cctx=<optimized out>, rdata=<optimized out>) at rdata/generic/nsec_47.c:114 #8 dns_rdata_towire (rdata=<optimized out>, cctx=cctx@entry=0x7ff88a59ab10, target=target@entry=0x7ff88a59aa50) at rdata.c:863 #9 0x00007ff8944d20ee in towiresorted (rdataset=rdataset@entry=0x7ff87c046c50, owner_name=owner_name@entry=0x7ff87c0462d0, cctx=<optimized out>, target=<optimized out>, order=<optimized out>, order_arg=order_arg@entry=0x7ff87c0447d8, partial=<optimized out>, options=<optimized out>, countp=<optimized out>, client_info=<optimized out>, state=0x0) at rdataset.c:688 #10 0x00007ff8944d3208 in dns_rdataset_towiresorted (rdataset=rdataset@entry=0x7ff87c046c50, owner_name=owner_name@entry=0x7ff87c0462d0, cctx=<optimized out>, target=<optimized out>, order=<optimized out>, order_arg=order_arg@entry=0x7ff87c0447d8, options=0, countp=0x7ff88a59a9e4, client_info=0x7ff87c044820) at rdataset.c:751 #11 0x00007ff89445867f in dns_message_rendersection (msg=0x7ff87c044600, sectionid=sectionid@entry=1, options=options@entry=2) at message.c:2209 #12 0x00007ff89418ac8f in ns_client_send (client=client@entry=0x7ff87c0439f8) at client.c:600 #13 0x00007ff894197687 in query_send (client=0x7ff87c0439f8) at query.c:587 #14 0x00007ff8941a0108 in ns_query_done (qctx=qctx@entry=0x7ff88a59d440) at query.c:12070 #15 0x00007ff8941a94d3 in query_respond (qctx=qctx@entry=0x7ff88a59d440) at query.c:8432 #16 0x00007ff8941a9801 in query_prepresponse (qctx=qctx@entry=0x7ff88a59d440) at query.c:11019 #17 0x00007ff8941a48fa in query_gotanswer (qctx=qctx@entry=0x7ff88a59d440, result=result@entry=ISC_R_SUCCESS) at query.c:7829 #18 0x00007ff8941a6166 in query_lookup (qctx=qctx@entry=0x7ff88a59d440) at query.c:6205 #19 0x00007ff8941a7a0c in ns__query_start (qctx=qctx@entry=0x7ff88a59d440) at query.c:5772 #20 0x00007ff8941a8243 in query_setup (client=client@entry=0x7ff87c0439f8, qtype=<optimized out>) at query.c:5451 #21 0x00007ff8941ab212 in ns_query_start (client=client@entry=0x7ff87c0439f8, handle=handle@entry=0x7ff87c043890) at query.c:12533 #22 0x00007ff89418e3fe in ns__client_request (handle=<optimized out>, eresult=<optimized out>, region=<optimized out>, arg=<optimized out>) at client.c:2259 #23 0x00007ff8948477bc in isc__nm_async_readcb (worker=worker@entry=0x0, ev0=ev0@entry=0x7ff88a59e550) at netmgr/netmgr.c:2907 #24 0x00007ff894847948 in isc__nm_readcb (sock=sock@entry=0x7ff8840aca20, uvreq=<optimized out>, eresult=eresult@entry=ISC_R_SUCCESS) at netmgr/netmgr.c:2880 #25 0x00007ff8948571b1 in udp_recv_cb (handle=<optimized out>, nrecv=84, buf=0x7ff88a59e6b0, addr=0x7ff88a59e800, flags=8) at netmgr/udp.c:651 #26 0x00007ff89323dc43 in uv__udp_recvmmsg (handle=handle@entry=0x7ff8840ad040, buf=buf@entry=0x7ff88a59ef90) at src/unix/udp.c:195 #27 0x00007ff89323e92b in uv__udp_recvmsg (handle=0x7ff8840ad040) at src/unix/udp.c:238 #28 uv__udp_io (loop=<optimized out>, w=0x7ff8840ad0c0, revents=1) at src/unix/udp.c:142 #29 0x00007ff89324163b in uv__io_poll (loop=loop@entry=0x55867046c9a8, timeout=<optimized out>) at src/unix/linux.c:1528 #30 0x00007ff89322f18b in uv_run (loop=loop@entry=0x55867046c9a8, mode=mode@entry=UV_RUN_DEFAULT) at src/unix/core.c:448 #31 0x00007ff894849d3a in nm_thread (worker0=0x55867046c998) at netmgr/netmgr.c:704 #32 0x00007ff8948826c5 in isc__trampoline_run (arg=0x55867048e230) at trampoline.c:190 #33 0x00007ff892bbc6db in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0 #34 0x00007ff8928e588f in clone () from /lib/x86_64-linux-gnu/libc.so.6
-- Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list ISC funds the development of this software with paid support subscriptions. Contact us at https://www.isc.org/contact/ for more information. bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users