[Bug 280256] sysutils/nomad/
Date: Sat, 13 Jul 2024 10:43:16 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=280256 Bug ID: 280256 Summary: sysutils/nomad/ Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: bv@honeyguide.eu Nomad v1.8.1 is crashing on a newly installed host. this issue seems to match https://github.com/hashicorp/nomad/issues/23385 root@server:~ # /usr/local/bin/nomad agent -config=/usr/local/etc/nomad/client.hcl ==> WARNING: mTLS is not configured - Nomad is not secure without mTLS! ==> Config enable_syslog is `true` with log_level=WARN ==> Loaded configuration from /usr/local/etc/nomad/client.hcl ==> Starting Nomad agent... panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3307f5a] goroutine 227 [running]: github.com/hashicorp/nomad/client/lib/idset.(*Set[...]).Slice(0x874c69d50?) github.com/hashicorp/nomad/client/lib/idset/idset.go:126 +0x1a github.com/hashicorp/nomad/plugins/base.nomadTopologyToProto(0x8748a47e0) github.com/hashicorp/nomad/plugins/base/base.go:171 +0x45 github.com/hashicorp/nomad/plugins/base.(*AgentConfig).toProto(0x8749c2508) github.com/hashicorp/nomad/plugins/base/base.go:96 +0x47 github.com/hashicorp/nomad/plugins/base.(*BasePluginClient).SetConfig(0x8745f2600, 0x874ec26f0) github.com/hashicorp/nomad/plugins/base/client.go:63 +0x28 github.com/hashicorp/nomad/helper/pluginutils/loader.(*PluginLoader).Dispense(0x8745ed5f0, {0x874c05a7d, 0x3}, {0xb8e215, 0x6}, 0x8749c2508, {0x136b730, 0x874ec2e40}) github.com/hashicorp/nomad/helper/pluginutils/loader/loader.go:186 +0x3d5 github.com/hashicorp/nomad/helper/pluginutils/singleton.(*SingletonLoader).dispense(0xbed8f5?, 0x874992880, {0x874c05a7d?, 0x316d685?}, {0xb8e215?, 0x8745fc000?}, 0x874188fd0?, {0x136b730?, 0x874ec2e40?}) github.com/hashicorp/nomad/helper/pluginutils/singleton/singleton.go:109 +0x53 created by github.com/hashicorp/nomad/helper/pluginutils/singleton.(*SingletonLoader).getPlugin in goroutine 189 github.com/hashicorp/nomad/helper/pluginutils/singleton/singleton.go:85 +0x39d -- You are receiving this mail because: You are the assignee for the bug.