From owner-freebsd-bugs@freebsd.org Fri Apr 23 08:36:58 2021 Return-Path: Delivered-To: freebsd-bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id E75815E93AD for ; Fri, 23 Apr 2021 08:36:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.nyi.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 4FRSMG63mPz3t1y for ; Fri, 23 Apr 2021 08:36:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.nyi.freebsd.org (Postfix) id CE4E85E90D1; Fri, 23 Apr 2021 08:36:58 +0000 (UTC) Delivered-To: bugs@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CE12E5E9335 for ; Fri, 23 Apr 2021 08:36:58 +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 4FRSMG5BZxz3tBk for ; Fri, 23 Apr 2021 08:36:58 +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 A53841E2C for ; Fri, 23 Apr 2021 08:36:58 +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 13N8aw0J073023 for ; Fri, 23 Apr 2021 08:36:58 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 13N8awiI073022 for bugs@FreeBSD.org; Fri, 23 Apr 2021 08:36:58 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 255339] regression: /usr/bin/logger exited on signal 6 (core dumped): assertion in capability code Date: Fri, 23 Apr 2021 08:36:58 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: borjam@sarenet.es 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 MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Apr 2021 08:36:59 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255339 Bug ID: 255339 Summary: regression: /usr/bin/logger exited on signal 6 (core dumped): assertion in capability code Product: Base System Version: 13.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: borjam@sarenet.es After updating from 12.3 to 13-RELEASE (and recompiling all ports) I have noticed that logger(1) is exiting on signal 6. Having a look at the core file, an assertion has been triggered. ----- (gdb) bt #0 thr_kill () at thr_kill.S:4 #1 0x00000000203053a4 in __raise (s=3Ds@entry=3D6) at /usr/src/lib/libc/gen/raise.c:52 #2 0x00000000203ba369 in abort () at /usr/src/lib/libc/stdlib/abort.c:67 #3 0x00000000202e82c1 in __assert (func=3D,=20 file=3D, line=3D, failedexpr=3D) at /usr/src/lib/libc/gen/assert.c:51 #4 0x000000002024d582 in service_clean (sock=3D5, procfd=3D1,=20 flags=3D) at /usr/src/lib/libcasper/libcasper/service.c:= 394 #5 service_start (service=3Dservice@entry=3D0x20a0a000, sock=3Dsock@entry= =3D5,=20 procfd=3Dprocfd@entry=3D1) at /usr/src/lib/libcasper/libcasper/service.= c:427 #6 0x000000002024c393 in service_execute (chanfd=3D5) at /usr/src/lib/libcasper/libcasper/libcasper_service.c:162 #7 0x000000002024d92b in zygote_main (sock=3D4) at /usr/src/lib/libcasper/libcasper/zygote.c:162 #8 0x000000002024d798 in zygote_init () at /usr/src/lib/libcasper/libcasper/zygote.c:209 #9 0x000000002024c3bb in casper_main_loop (fd=3D2) at /usr/src/lib/libcasper/libcasper/libcasper_service.c:233 #10 0x000000002024b8bf in cap_init () at /usr/src/lib/libcasper/libcasper/libcasper.c:105 #11 0x0000000000203361 in main (argc=3D, argv=3D) at /usr/src/usr.bin/logger/logger.c:179 (gdb)=20 ----- Looks like an assertion ---- (gdb) up #2 0x00000000203ba369 in abort () at /usr/src/lib/libc/stdlib/abort.c:67 67 (void)raise(SIGABRT); (gdb) up #3 0x00000000202e82c1 in __assert (func=3D,=20 file=3D, line=3D, failedexpr=3D) at /usr/src/lib/libc/gen/assert.c:51 51 abort(); (gdb) up #4 0x000000002024d582 in service_clean (sock=3D5, procfd=3D1,=20 flags=3D) at /usr/src/lib/libcasper/libcasper/service.c:= 394 394 assert(procfd > STDERR_FILENO); ---- --=20 You are receiving this mail because: You are the assignee for the bug.=