[Bug 263411] ntpd killed by SIGSEGV while trying to adjust RLIMIT_STACK

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 19 Apr 2022 06:55:18 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263411

            Bug ID: 263411
           Summary: ntpd killed by SIGSEGV while trying to adjust
                    RLIMIT_STACK
           Product: Base System
           Version: 12.3-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: jau@iki.fi

It seems ntpd dies on SIGSEGV right after start on FreeBSD-12.3.
I am not quite sure when this behavior has started.
Apparently the SIGSEGV gets delivered while calling setrlimit()
to adjust RLIMIT_STACK. (See ntp_config.c.)

The following line appears in dmesg...

pid 80157 (ntpd), jid 0, uid 0: exited on signal 11 (core dumped)

A quick check with gdb applied on ntpd and ntpd.core shows that
the process died on SIGSEGV from within setrlimit().

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