Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2023 14:23:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 270112] net-mgmt/telegraf 1.25.0+: SIGSEGV in a jail
Message-ID:  <bug-270112-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270112

            Bug ID: 270112
           Summary: net-mgmt/telegraf 1.25.0+: SIGSEGV in a jail
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: girgen@FreeBSD.org
          Reporter: feld@FreeBSD.org
          Assignee: girgen@FreeBSD.org
             Flags: maintainer-feedback?(girgen@FreeBSD.org)

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=3D0x1 addr=3D0x0 pc=3D0x9830ff]

goroutine 1 [running]:
github.com/awnumar/memguard/core.Purge.func1(0xc000193930)
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/exit.go:23 +0x=
3f
github.com/awnumar/memguard/core.Purge()
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/exit.go:51 +0x=
25
github.com/awnumar/memguard/core.Panic({0x505a320, 0xc0000d3990})
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/exit.go:85 +0x=
25
github.com/awnumar/memguard/core.NewBuffer(0x20)
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/buffer.go:73
+0x2d5
github.com/awnumar/memguard/core.NewCoffer()
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/coffer.go:30 +=
0x34
github.com/awnumar/memguard/core.init.0()
        /go/pkg/mod/github.com/awnumar/memguard@v0.22.3/core/enclave.go:15
+0x2e




The fix is to enable allow.mlock; for the jail

--=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-270112-7788>