gdb says this: Thread 7 received signal SIGBUS, Bus error. [Switching to thread 581635] runtime.memmove () at /usr/local/go/src/runtime/memmove_amd64.s:151 151 MOVB AX, (DI)
ktrace: https://vultr.tlakh.xyz/pub/ktrace.txt On 2023-01-13 15:35 +01, Florian Obser <flor...@openbsd.org> wrote: > This is > $ pkg_info prometheus > Information for inst:prometheus-2.37.4 > > on > kern.version=OpenBSD 7.2-current (GENERIC.MP) #938: Thu Jan 12 23:53:42 MST > 2023 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > > # rcctl -d start prometheus > doing _rc_parse_conf > prometheus_flags empty, using default >--config.file > /etc/prometheus/prometheus.yml --storage.tsdb.path '/var/prometheus'< > doing rc_check > prometheus > doing rc_start > doing _rc_wait_for_start > doing rc_check > No home directory /nonexistent! > Logging in with home = "/". > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:491 level=info > msg="No time or size retention was set so using the default time retention" > duration=15d > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:535 level=info > msg="Starting Prometheus Server" mode=server version="(version=, branch=, > revision=)" > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:540 level=info > build_context="(go=go1.19.4, user=, date=)" > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:541 level=info > host_details=(openbsd) > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:542 level=info > fd_limits="(soft=1024, hard=1024)" > prometheus[37800]: ts=2023-01-13T14:29:17.619Z caller=main.go:543 level=info > vm_limits="(soft=4294967296b, hard=4294967296b)" > prometheus[37800]: unexpected fault address 0x239126950 > prometheus[37800]: fatal error: fault > prometheus[37800]: [signal SIGBUS: bus error code=0x3 addr=0x239126950 > pc=0x46d9c2] > prometheus[37800]: > prometheus[37800]: goroutine 1 [running]: > prometheus[37800]: runtime.throw({0x3059866?, 0x1e?}) > prometheus[37800]: /usr/local/go/src/runtime/panic.go:1047 +0x5d > fp=0xc000a7f050 sp=0xc000a7f020 pc=0x438b7d > prometheus[37800]: runtime.sigpanic() > prometheus[37800]: /usr/local/go/src/runtime/signal_unix.go:832 +0x1ac > fp=0xc000a7f0a0 sp=0xc000a7f050 pc=0x44ed8c > prometheus[37800]: runtime.memmove() > prometheus[37800]: /usr/local/go/src/runtime/memmove_amd64.s:151 +0x102 > fp=0xc000a7f0a8 sp=0xc000a7f0a0 pc=0x46d9c2 > prometheus[37800]: > github.com/prometheus/prometheus/tsdb/fileutil.(*MmapWriter).Write(0xc0000a6940, > {0xc000a7f147, 0x1, 0x39ead80?}) > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/tsdb/fileutil/writer.go:132 > +0x165 fp=0xc000a7f118 sp=0xc000a7f0a8 pc=0x235da65 > prometheus[37800]: > github.com/prometheus/prometheus/promql.NewActiveQueryTracker({0x7f7ffffdc123, > 0xf}, 0x14, {0x39ead80, 0xc0000514a0}) > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/promql/query_logger.go:118 > +0x20e fp=0xc000a7f230 sp=0xc000a7f118 pc=0x243592e > prometheus[37800]: main.main() > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/cmd/prometheus/main.go:597 > +0x66f3 fp=0xc000a7ff80 sp=0xc000a7f230 pc=0x25614f3 > prometheus[37800]: runtime.main() > prometheus[37800]: /usr/local/go/src/runtime/proc.go:250 +0x1f8 > fp=0xc000a7ffe0 sp=0xc000a7ff80 pc=0x43b378 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc000a7ffe8 sp=0xc000a7ffe0 pc=0x46ca01 > prometheus[37800]: > prometheus[37800]: goroutine 2 [force gc (idle)]: > prometheus[37800]: runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006efb0 sp=0xc00006ef90 pc=0x43b736 > prometheus[37800]: runtime.goparkunlock(...) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:369 > prometheus[37800]: runtime.forcegchelper() > prometheus[37800]: /usr/local/go/src/runtime/proc.go:302 +0xa5 > fp=0xc00006efe0 sp=0xc00006efb0 pc=0x43b5c5 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006efe8 sp=0xc00006efe0 pc=0x46ca01 > prometheus[37800]: created by runtime.init.6 > prometheus[37800]: /usr/local/go/src/runtime/proc.go:290 +0x25 > prometheus[37800]: > prometheus[37800]: goroutine 3 [GC sweep wait]: > prometheus[37800]: runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006f790 sp=0xc00006f770 pc=0x43b736 > prometheus[37800]: runtime.goparkunlock(...) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:369 > prometheus[37800]: runtime.bgsweep(0x0?) > prometheus[37800]: /usr/local/go/src/runtime/mgcsweep.go:297 +0xd7 > fp=0xc00006f7c8 sp=0xc00006f790 pc=0x426717 > prometheus[37800]: runtime.gcenable.func1() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:178 +0x26 > fp=0xc00006f7e0 sp=0xc00006f7c8 pc=0x41b466 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006f7e8 sp=0xc00006f7e0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcenable > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:178 +0x6b > prometheus[37800]: > prometheus[37800]: goroutine 4 [GC scavenge wait]: > prometheus[37800]: runtime.gopark(0xc00007e000?, 0x39e1d28?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006ff70 sp=0xc00006ff50 pc=0x43b736 > prometheus[37800]: runtime.goparkunlock(...) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:369 > prometheus[37800]: runtime.(*scavengerState).park(0x5556ea0) > prometheus[37800]: /usr/local/go/src/runtime/mgcscavenge.go:389 +0x53 > fp=0xc00006ffa0 sp=0xc00006ff70 pc=0x424793 > prometheus[37800]: runtime.bgscavenge(0x0?) > prometheus[37800]: /usr/local/go/src/runtime/mgcscavenge.go:622 +0x65 > fp=0xc00006ffc8 sp=0xc00006ffa0 pc=0x424d65 > prometheus[37800]: runtime.gcenable.func2() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:179 +0x26 > fp=0xc00006ffe0 sp=0xc00006ffc8 pc=0x41b406 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcenable > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:179 +0xaa > prometheus[37800]: > prometheus[37800]: goroutine 5 [finalizer wait]: > prometheus[37800]: runtime.gopark(0x0?, 0xc00006e670?, 0x8b?, 0x6f?, > 0xc00006e770?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006e628 sp=0xc00006e608 pc=0x43b736 > prometheus[37800]: runtime.goparkunlock(...) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:369 > prometheus[37800]: runtime.runfinq() > prometheus[37800]: /usr/local/go/src/runtime/mfinal.go:180 +0x10f > fp=0xc00006e7e0 sp=0xc00006e628 pc=0x41a56f > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006e7e8 sp=0xc00006e7e0 pc=0x46ca01 > prometheus[37800]: created by runtime.createfing > prometheus[37800]: /usr/local/go/src/runtime/mfinal.go:157 +0x45 > prometheus[37800]: > prometheus[37800]: goroutine 34 [GC worker (idle)]: > prometheus[37800]: runtime.gopark(0xc000204000?, 0xc000070788?, 0x40?, 0x83?, > 0xc0000707a8?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc000070750 sp=0xc000070730 pc=0x43b736 > prometheus[37800]: runtime.gcBgMarkWorker() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1235 +0xf1 > fp=0xc0000707e0 sp=0xc000070750 pc=0x41d551 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc0000707e8 sp=0xc0000707e0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcBgMarkStartWorkers > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1159 +0x25 > prometheus[37800]: > prometheus[37800]: goroutine 35 [GC worker (idle)]: > prometheus[37800]: runtime.gopark(0xc00006a7b8?, 0x0?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006a750 sp=0xc00006a730 pc=0x43b736 > prometheus[37800]: runtime.gcBgMarkWorker() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1235 +0xf1 > fp=0xc00006a7e0 sp=0xc00006a750 pc=0x41d551 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006a7e8 sp=0xc00006a7e0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcBgMarkStartWorkers > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1159 +0x25 > prometheus[37800]: > prometheus[37800]: goroutine 36 [GC worker (idle)]: > prometheus[37800]: runtime.gopark(0xc00006afb8?, 0x0?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc00006af50 sp=0xc00006af30 pc=0x43b736 > prometheus[37800]: runtime.gcBgMarkWorker() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1235 +0xf1 > fp=0xc00006afe0 sp=0xc00006af50 pc=0x41d551 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc00006afe8 sp=0xc00006afe0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcBgMarkStartWorkers > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1159 +0x25 > prometheus[37800]: > prometheus[37800]: goroutine 10 [GC worker (idle)]: > prometheus[37800]: runtime.gopark(0xc000070fb8?, 0x0?, 0x0?, 0x0?, 0x0?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc000070f50 sp=0xc000070f30 pc=0x43b736 > prometheus[37800]: runtime.gcBgMarkWorker() > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1235 +0xf1 > fp=0xc000070fe0 sp=0xc000070f50 pc=0x41d551 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc000070fe8 sp=0xc000070fe0 pc=0x46ca01 > prometheus[37800]: created by runtime.gcBgMarkStartWorkers > prometheus[37800]: /usr/local/go/src/runtime/mgc.go:1159 +0x25 > prometheus[37800]: > prometheus[37800]: goroutine 97 [select]: > prometheus[37800]: runtime.gopark(0xc0004aa730?, 0x2?, 0x0?, 0x0?, > 0xc0004aa6fc?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc0004aa568 sp=0xc0004aa548 pc=0x43b736 > prometheus[37800]: runtime.selectgo(0xc0004aa730, 0xc0004aa6f8, > 0xc0004aa6e8?, 0x0, 0xc00014c1e0?, 0x1) > prometheus[37800]: /usr/local/go/src/runtime/select.go:328 +0x7bc > fp=0xc0004aa6a8 sp=0xc0004aa568 pc=0x44b2dc > prometheus[37800]: > github.com/prometheus/prometheus/util/logging.(*Deduper).run(0xc0000a6380) > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/util/logging/dedupe.go:75 > +0xe8 fp=0xc0004aa7c8 sp=0xc0004aa6a8 pc=0x24d62e8 > prometheus[37800]: > github.com/prometheus/prometheus/util/logging.Dedupe.func1() > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/util/logging/dedupe.go:61 > +0x26 fp=0xc0004aa7e0 sp=0xc0004aa7c8 pc=0x24d6186 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc0004aa7e8 sp=0xc0004aa7e0 pc=0x46ca01 > prometheus[37800]: created by > github.com/prometheus/prometheus/util/logging.Dedupe > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/util/logging/dedupe.go:61 > +0x10c > prometheus[37800]: > prometheus[37800]: goroutine 51 [select]: > prometheus[37800]: runtime.gopark(0xc0004adf88?, 0x3?, 0x10?, 0xc4?, > 0xc0004adf72?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc0004addf8 sp=0xc0004addd8 pc=0x43b736 > prometheus[37800]: runtime.selectgo(0xc0004adf88, 0xc0004adf6c, > 0xc000222100?, 0x0, 0x0?, 0x1) > prometheus[37800]: /usr/local/go/src/runtime/select.go:328 +0x7bc > fp=0xc0004adf38 sp=0xc0004addf8 pc=0x44b2dc > prometheus[37800]: > github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view.(*worker).start(0xc000222100) > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view/worker.go:276 > +0xad fp=0xc0004adfc8 sp=0xc0004adf38 pc=0x12193cd > prometheus[37800]: > github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view.init.0.func1() > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view/worker.go:34 > +0x26 fp=0xc0004adfe0 sp=0xc0004adfc8 pc=0x1218646 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc0004adfe8 sp=0xc0004adfe0 pc=0x46ca01 > prometheus[37800]: created by > github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view.init.0 > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/vendor/go.opencensus.io/stats/view/worker.go:34 > +0x8d > prometheus[37800]: > prometheus[37800]: goroutine 104 [select]: > prometheus[37800]: runtime.gopark(0xc0004ac790?, 0x2?, 0x0?, 0x0?, > 0xc0004ac774?) > prometheus[37800]: /usr/local/go/src/runtime/proc.go:363 +0xd6 > fp=0xc0004ac5f8 sp=0xc0004ac5d8 pc=0x43b736 > prometheus[37800]: runtime.selectgo(0xc0004ac790, 0xc0004ac770, 0x405b01?, > 0x0, 0xc0004ac788?, 0x1) > prometheus[37800]: /usr/local/go/src/runtime/select.go:328 +0x7bc > fp=0xc0004ac738 sp=0xc0004ac5f8 pc=0x44b2dc > prometheus[37800]: > github.com/prometheus/prometheus/storage/remote.(*WriteStorage).run(0xc000428000) > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/storage/remote/write.go:107 > +0xd7 fp=0xc0004ac7c8 sp=0xc0004ac738 pc=0x24f1b97 > prometheus[37800]: > github.com/prometheus/prometheus/storage/remote.NewWriteStorage.func1() > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/storage/remote/write.go:99 > +0x26 fp=0xc0004ac7e0 sp=0xc0004ac7c8 pc=0x24f1a86 > prometheus[37800]: runtime.goexit() > prometheus[37800]: /usr/local/go/src/runtime/asm_amd64.s:1594 +0x1 > fp=0xc0004ac7e8 sp=0xc0004ac7e0 pc=0x46ca01 > prometheus[37800]: created by > github.com/prometheus/prometheus/storage/remote.NewWriteStorage > prometheus[37800]: > /usr/obj/ports/prometheus-2.37.4/go/src/github.com/prometheus/prometheus/storage/remote/write.go:99 > +0x485 > doing _rc_rm_runfile > (failed) > > > -- > I'm not entirely sure you are real. > -- I'm not entirely sure you are real.