NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: bin/59035: new named(8) crashes at startup on evbarmv5
The following reply was made to PR bin/59035; it has been noted by GNATS.
From: Tobias Nygren <tnn%NetBSD.org@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: bin/59035: new named(8) crashes at startup on evbarmv5
Date: Fri, 14 Feb 2025 21:34:33 +0100
Reproducable on aarch64 as well. "named -g" core dumps immediately[1].
On aarch64 I found that I can paper over the crash with this patch.
--- external/lgpl2/userspace-rcu/lib/liburcu-memb/Makefile 17 Jan 2025 16:07:27 -0000 1.1
+++ external/lgpl2/userspace-rcu/lib/liburcu-memb/Makefile 14 Feb 2025 20:31:37 -0000
@@ -8,4 +8,6 @@ CPPFLAGS+=-DRCU_MEMBARRIER
SRCS+= urcu.c urcu-pointer.c compat_arch.c compat_futex.c
+COPTS.urcu.c+=-O0
+
.include <bsd.lib.mk>
[1]
Thread 7 "isc-loop-0005" received signal SIGSEGV, Segmentation fault.
[Switching to LWP 24143 of process 3105]
_cds_wfcq_enqueue (new_tail=0xf011f2ca6130, tail=0x1, head=...)
at /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/static/wfcqueue.h:217
217 return ___cds_wfcq_append(head, tail, new_tail, new_tail);
(gdb) bt
#0 _cds_wfcq_enqueue (new_tail=0xf011f2ca6130, tail=0x1, head=...)
at /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/include/urcu/static/wfcqueue.h:217
#1 _call_rcu (head=head@entry=0xf011f2ca6130, func=<optimized out>, crdp=0x1)
at /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu-call-rcu-impl.h:705
#2 0x000000000f37f628 in urcu_memb_call_rcu (head=head@entry=0xf011f2ca6130, func=func@entry=0xf011f85d7960 <dispentry_destroy_rcu>)
at /usr/src/external/lgpl2/userspace-rcu/lib/liburcu-memb/../../dist/src/urcu-call-rcu-impl.h:732
#3 0x0000f011f85d981c in dispentry_destroy (resp=0xf011f2ca6010) at /usr/src/external/mpl/bind/lib/libdns/../../dist/lib/dns/dispatch.c:447
#4 dns_dispentry_unref (ptr=0xf011f2ca6010) at /usr/src/external/mpl/bind/lib/libdns/../../dist/lib/dns/dispatch.c:453
#5 0x0000f011f85da4c0 in udp_recv (handle=0xf011f2e0b010, eresult=ISC_R_SUCCESS, region=0xf011f37cdb70, arg=<optimized out>)
at /usr/src/external/mpl/bind/lib/libdns/../../dist/lib/dns/dispatch.c:628
#6 0x0000f011f84438f0 in isc.nm_readcb () from /usr/lib/libisc.so.23
#7 0x0000f011f842d8bc in isc.nm_udp_read_cb () from /usr/lib/libisc.so.23
#8 0x0000f011f8462b80 in ?? () from /usr/lib/libisc.so.23
#9 0x0000f011f846203c in uv.io_poll () from /usr/lib/libisc.so.23
#10 0x0000f011f846a2a0 in uv_run () from /usr/lib/libisc.so.23
#11 0x0000f011f8454b0c in ?? () from /usr/lib/libisc.so.23
#12 0x0000f011f8459eec in ?? () from /usr/lib/libisc.so.23
#13 0x0000f011f824dad4 in ?? () from /usr/lib/libpthread.so.1
#14 0x0000f011f75e26a0 in __mknod50 () from /usr/lib/libc.so.12
Home |
Main Index |
Thread Index |
Old Index