Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Apr 2021 08:36:58 +0000
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
Message-ID:  <bug-255339-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
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<optimized out>,=20
    file=3D<optimized out>, line=3D<optimized out>, failedexpr=3D<optimized=
 out>)
    at /usr/src/lib/libc/gen/assert.c:51
#4  0x000000002024d582 in service_clean (sock=3D5, procfd=3D1,=20
    flags=3D<optimized out>) 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<optimized out>, argv=3D<optimized o=
ut>)
    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<optimized out>,=20
    file=3D<optimized out>, line=3D<optimized out>, failedexpr=3D<optimized=
 out>)
    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<optimized out>) 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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-255339-227>