[Bug 287071] libuv 1.50 installed from binary package causes bind to crash on start-up

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 25 May 2025 20:57:03 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287071

            Bug ID: 287071
           Summary: libuv 1.50 installed from binary package causes bind
                    to crash on start-up
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: heas@shrubbery.net

I do not see a way to re-open this bug:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282088

The problem with named crashing has returned with libuv 1.51 from binary
packages.  Like the problem from libuv 1.49, if I build libuv from source, the
problem disappears.

I do not have a /etc/make.conf file and nearly all other installed packages are
from binary packages.  This is an amd64 libkvm vm.  named is run in a chroot
environment.

stack trace follows; loop.c line numbers are off by one since I added a line at
line 202.

#0  thr_kill () at thr_kill.S:4
#1  0x000000082d8316b4 in __raise (s=s@entry=6)
    at /usr/src/lib/libc/gen/raise.c:50
#2  0x000000082d8e2179 in abort () at /usr/src/lib/libc/stdlib/abort.c:65
#3  0x000000000023e7fa in ?? ()
#4  0x00000008218fafce in isc_error_fatal (
    file=0x18c35 <error: Cannot access memory at address 0x18c35>, line=6,
    func=0x0,
    format=0x82d8b830a <thr_self+10> "\017\202x\341\377\377\303", '\314'
<repeats 14 times>, "ΜΈ\261\001") at error.c:69
#5  0x000000082190bd37 in loop_init (loop=0x83354b000,
    loopmgr=loopmgr@entry=0x8334c8560, tid=tid@entry=0,
    kind=kind@entry=0x8218c4944 "loop") at loop.c:227
#6  0x000000082190b745 in isc_loopmgr_create (mctx=<optimized out>,
    nloops=nloops@entry=8, loopmgrp=loopmgrp@entry=0x27a058 <named_g_loopmgr>)
    at loop.c:400
#7  0x000000082190d60e in isc_managers_create (mctxp=0x27a040 <named_g_mctx>,
    workers=8, loopmgrp=0x27a058 <named_g_loopmgr>,
    netmgrp=0x27a070 <named_g_netmgr>) at managers.c:27
#8  0x000000000023dec4 in main ()


232             isc_mem_create(&loop->mctx);
233             isc_mem_setname(loop->mctx, name);
234
235             isc_refcount_init(&loop->references, 1);
236
237             loop->magic = LOOP_MAGIC;
238     }
239
240     static void

-- 
You are receiving this mail because:
You are the assignee for the bug.