[Bug 261140] www/grafana[678]: crash on FreeBSD 13.0-RELENG (jail)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 12 Jan 2022 09:43:23 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261140

            Bug ID: 261140
           Summary: www/grafana[678]: crash on FreeBSD 13.0-RELENG (jail)
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: ohartmann@walstatt.org
                CC: hiyorin@gmail.com
             Flags: maintainer-feedback?(hiyorin@gmail.com)
                CC: hiyorin@gmail.com

www/grafana6, grafana7 and grafana8 fail to start on recent 13-RELENG-p6 (as
well as -p5).

Starting grafana via rc script or trying to start
/usr/locacl/bin/grafana-server via shell/cli results in an error:

[...]
# /usr/local/bin/grafana-server --help
runtime: kevent failed with 78
fatal error: runtime: kevent failed

goroutine 1 [running, locked to thread]:
runtime.throw({0xaa8cb1, 0x16})
        runtime/panic.go:1198 +0x74 fp=0xc00041f098 sp=0xc00041f068
pc=0x28a4894
runtime.netpollinit()
        runtime/netpoll_kqueue.go:45 +0x148 fp=0xc00041f120 sp=0xc00041f098
pc=0x289f788
runtime.netpollGenericInit()
        runtime/netpoll.go:128 +0x47 fp=0xc00041f138 sp=0xc00041f120
pc=0x289ee27
runtime.doaddtimer(0xc000063000, 0xc0001b5a98)
        runtime/time.go:286 +0x2f fp=0xc00041f190 sp=0xc00041f138 pc=0x28c65cf
runtime.addtimer(0xc0001b5a98)
        runtime/time.go:272 +0xcb fp=0xc00041f1d0 sp=0xc00041f190 pc=0x28c64cb
time.startTimer(0xc0001b5a98)
        runtime/time.go:212 +0x2b fp=0xc00041f1e8 sp=0xc00041f1d0 pc=0x28d944b
time.AfterFunc(0xdf8475800, 0xc589b0)
        time/sleep.go:175 +0xa5 fp=0xc00041f218 sp=0xc00041f1e8 pc=0x28feb25
crypto/rand.(*devReader).Read(0xc000184180, {0xc00030cec8, 0x8, 0x8})
        crypto/rand/rand_unix.go:59 +0xa5 fp=0xc00041f310 sp=0xc00041f218
pc=0x2a0e8e5
io.ReadAtLeast({0x107a240, 0xc000184180}, {0xc00030cec8, 0x8, 0x8}, 0x8)
        io/io.go:328 +0xba fp=0xc00041f370 sp=0xc00041f310 pc=0x291241a
io.ReadFull(...)
        io/io.go:347
crypto/rand.Int({0x107a240, 0xc000184180}, 0xc00041f468)
        crypto/rand/util.go:129 +0x225 fp=0xc00041f408 sp=0xc00041f370
pc=0x2a0f5c5
github.com/sean-/seed.cryptoSeed()
        github.com/sean-/seed/init.go:25 +0xca fp=0xc00041f4a8 sp=0xc00041f408
pc=0x32e4f8a
github.com/sean-/seed.Init()
        github.com/sean-/seed/init.go:50 +0x9a fp=0xc00041f4e0 sp=0xc00041f4a8
pc=0x32e51fa
github.com/hashicorp/memberlist.init.0()
        github.com/hashicorp/memberlist/util.go:33 +0x25 fp=0xc00041f508
sp=0xc00041f4e0 pc=0x3303ac5
runtime.doInit(0x4f5a640)
        runtime/proc.go:6498 +0x129 fp=0xc00041f658 sp=0xc00041f508
pc=0x28b5c09
runtime.doInit(0x4f59240)
        runtime/proc.go:6475 +0x7e fp=0xc00041f7a8 sp=0xc00041f658 pc=0x28b5b5e
runtime.doInit(0x4f57e40)
        runtime/proc.go:6475 +0x7e fp=0xc00041f8f8 sp=0xc00041f7a8 pc=0x28b5b5e
runtime.doInit(0x4f53080)
        runtime/proc.go:6475 +0x7e fp=0xc00041fa48 sp=0xc00041f8f8 pc=0x28b5b5e
runtime.doInit(0x4f35d00)
        runtime/proc.go:6475 +0x7e fp=0xc00041fb98 sp=0xc00041fa48 pc=0x28b5b5e
runtime.doInit(0x4f6e240)
        runtime/proc.go:6475 +0x7e fp=0xc00041fce8 sp=0xc00041fb98 pc=0x28b5b5e
runtime.doInit(0x4f56620)
        runtime/proc.go:6475 +0x7e fp=0xc00041fe38 sp=0xc00041fce8 pc=0x28b5b5e
runtime.doInit(0x4f36900)
        runtime/proc.go:6475 +0x7e fp=0xc00041ff88 sp=0xc00041fe38 pc=0x28b5b5e
runtime.main()
        runtime/proc.go:238 +0x205 fp=0xc00041ffe0 sp=0xc00041ff88 pc=0x28a7385
runtime.goexit()
        runtime/asm_amd64.s:1581 +0x1 fp=0xc00041ffe8 sp=0xc00041ffe0
pc=0x28dc7e1

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