From nobody Tue Apr 19 06:55:18 2022 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id CC72711FA4A0 for ; Tue, 19 Apr 2022 06:55:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KjF1L33dwz3q0q for ; Tue, 19 Apr 2022 06:55:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 45E91224CF for ; Tue, 19 Apr 2022 06:55:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 23J6tItG034163 for ; Tue, 19 Apr 2022 06:55:18 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 23J6tI0t034162 for bugs@FreeBSD.org; Tue, 19 Apr 2022 06:55:18 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 263411] ntpd killed by SIGSEGV while trying to adjust RLIMIT_STACK Date: Tue, 19 Apr 2022 06:55:18 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 12.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jau@iki.fi X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650351318; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=sj6MQaDbVs+sEw15CeQkYOr7UVBRjd+Os2/CBbpTlzo=; b=wGc1FUhjAkphpQKSECObUR7lctkeMiOgEBniYJamleAR8MzPGA62AK6DKgulTOYoZc7Bs8 bCJH97pTyR0edRaMYaQ5JC0HOrSi+o1SqgzLQph9cC0/3StOvvLw2Q7ABTfNMjsbFFQLxp +jwh7pusyMPGS9KhH992d7MRtA49aLHtI3tUhAwh/jqsaCcLL2BOcwpS6vsRTqEccFmq4+ Tjx4fX6qVDi2fJqfS9Tcsw8G5IBvQWr1gJHEhxY+sCDNBr4vgzXbXq21xSSD0FOfU9EPI2 KRxmjd5NGh/ckoUuuotocxBV0nmoBxBMEYlV9hxp2RSc1NldKGfNodwGZVWWMw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650351318; a=rsa-sha256; cv=none; b=N7RS58W2EHr3WRwY5gpNpxASIQbuT15+zwDbvfF2SGLTydC6qwxmXGAz2kaa0KauD9bVl0 lHdY7en6qmjYWtmLwiS9zRcTG9OGQPOHwZPD/iYalpk+SHCRMBEZ+3bVy6/byiREt74B7Y 1EOZZbVSTZPBH8CKtj2lw1KfoXgnKUjSvHp3AQbcJU/lIff5twEmORALb3n98dKWiRynZu 6vxjfOgtN6Z84k26J16u0lb+9zOQjkOPM/9LX8/V7+J4fzsnFnVjfSapj6vnroD9bXLs/g 1EZ5idtu1uHShI3YhWwCIkSp7EfMUaYOJeecQHOcBsBvQUzLfbr2X6Zp3N0Xmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263411 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(). --=20 You are receiving this mail because: You are the assignee for the bug.=