sourcegraph / app

Issue tracker for the Sourcegraph app - a lightweight single-binary version of Sourcegraph for your local machine
27 stars 2 forks source link

Cody not starting #60

Closed Japskua closed 10 months ago

Japskua commented 11 months ago

Hi! I have a fresh new M2 macbook pro 14" and just installed cody. The application crashes, despite of multiple attempts. Here are the logs:

[2023-08-14][07:36:16][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-08-14][07:41:16][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 193 [running]: [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).checkDeadlock(0x140002da350?) [2023-08-14][07:41:16][ERROR][app] internal/conf/store.go:175 +0x300 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).WaitUntilInitialized(0x140009950e0) [2023-08-14][07:41:16][ERROR][app] internal/conf/store.go:137 +0x2c [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(client).Watch(0x1400072fd00, 0x111542070) [2023-08-14][07:41:16][ERROR][app] internal/conf/client.go:169 +0x1b8 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x0?) [2023-08-14][07:41:16][ERROR][app] internal/conf/client.go:136 +0x28 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-08-14][07:41:16][ERROR][app] cmd/symbols/parser/config.go:52 +0x24 [2023-08-14][07:41:16][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-08-14][07:41:16][ERROR][app] cmd/symbols/parser/config.go:51 +0xe8 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 1 [syscall, 4 minutes]: [2023-08-14][07:41:16][ERROR][app] syscall.syscall6(0x140023fcc68?, 0x2?, 0x14000557198?, 0x1043d2700?, 0x10001f050?, 0x13cc54560?, 0x1155d8a68?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][07:41:16][ERROR][app] syscall.wait4(0x140005571d8?, 0x1043cc6c8?, 0x90?, 0x11142d380?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][07:41:16][ERROR][app] syscall.Wait4(0x14001dff050?, 0x14000557214, 0x1104e23d8?, 0x1?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][07:41:16][ERROR][app] os.(Process).wait(0x14000e7cfc0) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][07:41:16][ERROR][app] os.(Process).Wait(...) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][07:41:16][ERROR][app] os/exec.(Cmd).Wait(0x14000226420) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][07:41:16][ERROR][app] os/exec.(Cmd).Run(0x1076e2fb3?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:437 +0x38 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-08-14][07:41:16][ERROR][app] internal/singleprogram/singleprogram.go:237 +0xec [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x1115c3970, 0x140021332c0}) [2023-08-14][07:41:16][ERROR][app] internal/singleprogram/singleprogram.go:164 +0xbf4 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14000e5d540?) [2023-08-14][07:41:16][ERROR][app] internal/service/svcmain/svcmain.go:91 +0x80 [2023-08-14][07:41:16][ERROR][app] github.com/urfave/cli/v2.(Command).Run(0x14000e5d540, 0x14002132f00, {0x14000116050, 0x5, 0x5}) [2023-08-14][07:41:16][ERROR][app] external/com_github_urfave_cli_v2/command.go:271 +0x78c [2023-08-14][07:41:16][ERROR][app] github.com/urfave/cli/v2.(App).RunContext(0x140001afa40, {0x1115a6778?, 0x1400012e008}, {0x14000116050, 0x5, 0x5}) [2023-08-14][07:41:16][ERROR][app] external/com_github_urfave_cli_v2/app.go:333 +0x5a4 [2023-08-14][07:41:16][ERROR][app] github.com/urfave/cli/v2.(App).Run(...) [2023-08-14][07:41:16][ERROR][app] external/com_github_urfave_cli_v2/app.go:310 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x113d46ec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x14000116050?, 0x5, 0x5}) [2023-08-14][07:41:16][ERROR][app] internal/service/svcmain/svcmain.go:102 +0x620 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-08-14][07:41:16][ERROR][app] enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-08-14][07:41:16][ERROR][app] main.main() [2023-08-14][07:41:16][ERROR][app] /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/main/enterprise/cmd/sourcegraph/main.go:50 +0x118 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 10 [select]: [2023-08-14][07:41:16][ERROR][app] go.opencensus.io/stats/view.(worker).start(0x140005a4200) [2023-08-14][07:41:16][ERROR][app] external/io_opencensus_go/stats/view/worker.go:292 +0x88 [2023-08-14][07:41:16][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-08-14][07:41:16][ERROR][app] external/io_opencensus_go/stats/view/worker.go:34 +0xa4 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 38 [select, 5 minutes]: [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(MutableLimiter).do(0x140002e6090, 0x20) [2023-08-14][07:41:16][ERROR][app] internal/limiter/mutable.go:94 +0x14c [2023-08-14][07:41:16][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-08-14][07:41:16][ERROR][app] internal/limiter/mutable.go:38 +0x108 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 285 [chan receive]: [2023-08-14][07:41:16][ERROR][app] github.com/golang/glog.(loggingT).flushDaemon(0x1400053abd0?) [2023-08-14][07:41:16][ERROR][app] external/com_github_golang_glog/glog.go:882 +0x5c [2023-08-14][07:41:16][ERROR][app] created by github.com/golang/glog.init.0 [2023-08-14][07:41:16][ERROR][app] external/com_github_golang_glog/glog.go:410 +0x200 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 296 [syscall, 4 minutes]: [2023-08-14][07:41:16][ERROR][app] syscall.syscall6(0x1155d8a68?, 0x104322f17?, 0x14000517608?, 0x104322cf8?, 0x900001010175a8?, 0x13cc54560?, 0x1155d8a68?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][07:41:16][ERROR][app] syscall.wait4(0x14000517608?, 0x1043cc6c8?, 0x90?, 0x11142d380?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][07:41:16][ERROR][app] syscall.Wait4(0x1400206b680?, 0x14000659e44, 0x107907eea?, 0x14000517688?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][07:41:16][ERROR][app] os.(Process).wait(0x14000e0a450) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][07:41:16][ERROR][app] os.(Process).Wait(...) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][07:41:16][ERROR][app] os/exec.(Cmd).Wait(0x1400077edc0) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][07:41:16][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-08-14][07:41:16][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74 [2023-08-14][07:41:16][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-08-14][07:41:16][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 315 [select]: [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).consume(0x1400213b890) [2023-08-14][07:41:16][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8 [2023-08-14][07:41:16][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).start [2023-08-14][07:41:16][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60 [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 316 [select, 4 minutes]: [2023-08-14][07:41:16][ERROR][app] io.(pipe).read(0x14002138c00, {0x1400226d692, 0x96e, 0x10432a158?}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/io/pipe.go:57 +0x84 [2023-08-14][07:41:16][ERROR][app] io.(PipeReader).Read(0x5000?, {0x1400226d692?, 0x9c7?, 0x1155d8a00?}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/io/pipe.go:136 +0x24 [2023-08-14][07:41:16][ERROR][app] bufio.(Scanner).Scan(0x1400065df48) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/bufio/scan.go:214 +0x908 [2023-08-14][07:41:16][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-08-14][07:41:16][ERROR][app] internal/singleprogram/postgresql.go:186 +0xb0 [2023-08-14][07:41:16][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-08-14][07:41:16][ERROR][app] internal/singleprogram/postgresql.go:184 +0x1dc [2023-08-14][07:41:16][ERROR][app] [2023-08-14][07:41:16][ERROR][app] goroutine 336 [IO wait, 4 minutes]: [2023-08-14][07:41:16][ERROR][app] internal/poll.runtime_pollWait(0x13cc59270, 0x72) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/runtime/netpoll.go:305 +0xa0 [2023-08-14][07:41:16][ERROR][app] internal/poll.(pollDesc).wait(0x140002d4600?, 0x14000a8e000?, 0x1) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28 [2023-08-14][07:41:16][ERROR][app] internal/poll.(pollDesc).waitRead(...) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:89 [2023-08-14][07:41:16][ERROR][app] internal/poll.(FD).Read(0x140002d4600, {0x14000a8e000, 0x200, 0x200}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0 [2023-08-14][07:41:16][ERROR][app] os.(File).read(...) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/file_posix.go:31 [2023-08-14][07:41:16][ERROR][app] os.(File).Read(0x140002da110, {0x14000a8e000?, 0x1079882f0?, 0x3d?}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/file.go:119 +0x5c [2023-08-14][07:41:16][ERROR][app] bytes.(Buffer).ReadFrom(0x140021683f0, {0x111568780, 0x140002da110}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/bytes/buffer.go:202 +0x90 [2023-08-14][07:41:16][ERROR][app] io.copyBuffer({0x1115559a0, 0x140021683f0}, {0x111568780, 0x140002da110}, {0x0, 0x0, 0x0}) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/io/io.go:413 +0x108 [2023-08-14][07:41:16][ERROR][app] io.Copy(...) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/io/io.go:386 [2023-08-14][07:41:16][ERROR][app] os/exec.(Cmd).writerDescriptor.func1() [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:407 +0x44 [2023-08-14][07:41:16][ERROR][app] os/exec.(Cmd).Start.func1(0x14000b7c480?) [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:544 +0x2c [2023-08-14][07:41:16][ERROR][app] created by os/exec.(Cmd).Start [2023-08-14][07:41:16][ERROR][app] GOROOT/src/os/exec/exec.go:543 +0x5d0 [2023-08-14][07:41:16][ERROR][app] Cody app backend terminated with exit code 2 [2023-08-14][08:53:00][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-08-14][08:58:00][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 370 [running]: [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).checkDeadlock(0x1400068ec18?) [2023-08-14][08:58:00][ERROR][app] internal/conf/store.go:175 +0x300 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).WaitUntilInitialized(0x14000b24b40) [2023-08-14][08:58:00][ERROR][app] internal/conf/store.go:137 +0x2c [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(client).Watch(0x14000f0a1c0, 0x10f48e070) [2023-08-14][08:58:00][ERROR][app] internal/conf/client.go:169 +0x1b8 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x14000474f30?) [2023-08-14][08:58:00][ERROR][app] internal/conf/client.go:136 +0x28 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-08-14][08:58:00][ERROR][app] cmd/symbols/parser/config.go:52 +0x24 [2023-08-14][08:58:00][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-08-14][08:58:00][ERROR][app] cmd/symbols/parser/config.go:51 +0xe8 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 1 [syscall, 5 minutes]: [2023-08-14][08:58:00][ERROR][app] syscall.syscall6(0x1400136b2e8?, 0x2?, 0x1400243f198?, 0x10231e700?, 0x100018de0?, 0x11af10138?, 0x113524108?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][08:58:00][ERROR][app] syscall.wait4(0x1400243f1d8?, 0x1023186c8?, 0x90?, 0x10f379380?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][08:58:00][ERROR][app] syscall.Wait4(0x14001448de0?, 0x1400243f214, 0x10e42e3d8?, 0x1?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][08:58:00][ERROR][app] os.(Process).wait(0x140013e4f30) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][08:58:00][ERROR][app] os.(Process).Wait(...) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][08:58:00][ERROR][app] os/exec.(Cmd).Wait(0x140004ada20) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][08:58:00][ERROR][app] os/exec.(Cmd).Run(0x10562efb3?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:437 +0x38 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-08-14][08:58:00][ERROR][app] internal/singleprogram/singleprogram.go:237 +0xec [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10f50f970, 0x140024727c0}) [2023-08-14][08:58:00][ERROR][app] internal/singleprogram/singleprogram.go:164 +0xbf4 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14002349900?) [2023-08-14][08:58:00][ERROR][app] internal/service/svcmain/svcmain.go:91 +0x80 [2023-08-14][08:58:00][ERROR][app] github.com/urfave/cli/v2.(Command).Run(0x14002349900, 0x14002472400, {0x140000700a0, 0x5, 0x5}) [2023-08-14][08:58:00][ERROR][app] external/com_github_urfave_cli_v2/command.go:271 +0x78c [2023-08-14][08:58:00][ERROR][app] github.com/urfave/cli/v2.(App).RunContext(0x140001d54a0, {0x10f4f2778?, 0x14000076078}, {0x140000700a0, 0x5, 0x5}) [2023-08-14][08:58:00][ERROR][app] external/com_github_urfave_cli_v2/app.go:333 +0x5a4 [2023-08-14][08:58:00][ERROR][app] github.com/urfave/cli/v2.(App).Run(...) [2023-08-14][08:58:00][ERROR][app] external/com_github_urfave_cli_v2/app.go:310 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x111c92ec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x140000700a0?, 0x5, 0x5}) [2023-08-14][08:58:00][ERROR][app] internal/service/svcmain/svcmain.go:102 +0x620 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-08-14][08:58:00][ERROR][app] enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-08-14][08:58:00][ERROR][app] main.main() [2023-08-14][08:58:00][ERROR][app] /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/main/enterprise/cmd/sourcegraph/main.go:50 +0x118 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 29 [select]: [2023-08-14][08:58:00][ERROR][app] go.opencensus.io/stats/view.(worker).start(0x14000113180) [2023-08-14][08:58:00][ERROR][app] external/io_opencensus_go/stats/view/worker.go:292 +0x88 [2023-08-14][08:58:00][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-08-14][08:58:00][ERROR][app] external/io_opencensus_go/stats/view/worker.go:34 +0xa4 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 296 [IO wait, 5 minutes]: [2023-08-14][08:58:00][ERROR][app] internal/poll.runtime_pollWait(0x11abbc340, 0x72) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/runtime/netpoll.go:305 +0xa0 [2023-08-14][08:58:00][ERROR][app] internal/poll.(pollDesc).wait(0x140022058c0?, 0x14000c86e00?, 0x1) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28 [2023-08-14][08:58:00][ERROR][app] internal/poll.(pollDesc).waitRead(...) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:89 [2023-08-14][08:58:00][ERROR][app] internal/poll.(FD).Read(0x140022058c0, {0x14000c86e00, 0x200, 0x200}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0 [2023-08-14][08:58:00][ERROR][app] os.(File).read(...) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/file_posix.go:31 [2023-08-14][08:58:00][ERROR][app] os.(File).Read(0x1400029c3b8, {0x14000c86e00?, 0x1400080deb8?, 0x102cdb538?}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/file.go:119 +0x5c [2023-08-14][08:58:00][ERROR][app] bytes.(Buffer).ReadFrom(0x14002212480, {0x10f4b4780, 0x1400029c3b8}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/bytes/buffer.go:202 +0x90 [2023-08-14][08:58:00][ERROR][app] io.copyBuffer({0x10f4a19a0, 0x14002212480}, {0x10f4b4780, 0x1400029c3b8}, {0x0, 0x0, 0x0}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/io/io.go:413 +0x108 [2023-08-14][08:58:00][ERROR][app] io.Copy(...) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/io/io.go:386 [2023-08-14][08:58:00][ERROR][app] os/exec.(Cmd).writerDescriptor.func1() [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:407 +0x44 [2023-08-14][08:58:00][ERROR][app] os/exec.(Cmd).Start.func1(0x140014391a0?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:544 +0x2c [2023-08-14][08:58:00][ERROR][app] created by os/exec.(Cmd).Start [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:543 +0x5d0 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 197 [select, 5 minutes]: [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(MutableLimiter).do(0x14001052900, 0x20) [2023-08-14][08:58:00][ERROR][app] internal/limiter/mutable.go:94 +0x14c [2023-08-14][08:58:00][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-08-14][08:58:00][ERROR][app] internal/limiter/mutable.go:38 +0x108 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 374 [select]: [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).consume(0x140024741e0) [2023-08-14][08:58:00][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8 [2023-08-14][08:58:00][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).start [2023-08-14][08:58:00][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 340 [chan receive]: [2023-08-14][08:58:00][ERROR][app] github.com/golang/glog.(loggingT).flushDaemon(0x0?) [2023-08-14][08:58:00][ERROR][app] external/com_github_golang_glog/glog.go:882 +0x5c [2023-08-14][08:58:00][ERROR][app] created by github.com/golang/glog.init.0 [2023-08-14][08:58:00][ERROR][app] external/com_github_golang_glog/glog.go:410 +0x200 [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 375 [select, 5 minutes]: [2023-08-14][08:58:00][ERROR][app] io.(pipe).read(0x14002352fc0, {0x1400220620d, 0xdf3, 0x0?}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/io/pipe.go:57 +0x84 [2023-08-14][08:58:00][ERROR][app] io.(PipeReader).Read(0x5000?, {0x1400220620d?, 0xe4c?, 0x0?}) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/io/pipe.go:136 +0x24 [2023-08-14][08:58:00][ERROR][app] bufio.(Scanner).Scan(0x140000b7f48) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/bufio/scan.go:214 +0x908 [2023-08-14][08:58:00][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-08-14][08:58:00][ERROR][app] internal/singleprogram/postgresql.go:186 +0xb0 [2023-08-14][08:58:00][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-08-14][08:58:00][ERROR][app] internal/singleprogram/postgresql.go:184 +0x1dc [2023-08-14][08:58:00][ERROR][app] [2023-08-14][08:58:00][ERROR][app] goroutine 376 [syscall, 5 minutes]: [2023-08-14][08:58:00][ERROR][app] syscall.syscall6(0x113524108?, 0x17?, 0x0?, 0x0?, 0x90000101010000?, 0x11af10138?, 0x113524108?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][08:58:00][ERROR][app] syscall.wait4(0x1400059c608?, 0x1023186c8?, 0x90?, 0x10f379380?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][08:58:00][ERROR][app] syscall.Wait4(0x0?, 0x1400059c644, 0x0?, 0x0?) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][08:58:00][ERROR][app] os.(Process).wait(0x14001414540) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][08:58:00][ERROR][app] os.(Process).Wait(...) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][08:58:00][ERROR][app] os/exec.(Cmd).Wait(0x14001d2db80) [2023-08-14][08:58:00][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][08:58:00][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-08-14][08:58:00][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74 [2023-08-14][08:58:00][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-08-14][08:58:00][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298 [2023-08-14][08:58:00][ERROR][app] Cody app backend terminated with exit code 2 [2023-08-14][09:00:56][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64 [2023-08-14][09:05:56][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 285 [running]: [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).checkDeadlock(0x140013e8678?) [2023-08-14][09:05:56][ERROR][app] internal/conf/store.go:175 +0x300 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(store).WaitUntilInitialized(0x14001157320) [2023-08-14][09:05:56][ERROR][app] internal/conf/store.go:137 +0x2c [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(client).Watch(0x140006e7a40, 0x11183a070) [2023-08-14][09:05:56][ERROR][app] internal/conf/client.go:169 +0x1b8 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x140023621b0?) [2023-08-14][09:05:56][ERROR][app] internal/conf/client.go:136 +0x28 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2() [2023-08-14][09:05:56][ERROR][app] cmd/symbols/parser/config.go:52 +0x24 [2023-08-14][09:05:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0 [2023-08-14][09:05:56][ERROR][app] cmd/symbols/parser/config.go:51 +0xe8 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 1 [syscall, 5 minutes]: [2023-08-14][09:05:56][ERROR][app] syscall.syscall6(0x14001e65628?, 0x2?, 0x140023bf198?, 0x1046ca700?, 0x10001fb60?, 0x11d398b88?, 0x1158d05b8?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][09:05:56][ERROR][app] syscall.wait4(0x140023bf1d8?, 0x1046c46c8?, 0x90?, 0x111725380?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][09:05:56][ERROR][app] syscall.Wait4(0x14001d1fb60?, 0x140023bf214, 0x1107da3d8?, 0x1?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][09:05:56][ERROR][app] os.(Process).wait(0x14001d19230) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][09:05:56][ERROR][app] os.(Process).Wait(...) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][09:05:56][ERROR][app] os/exec.(Cmd).Wait(0x14001c10580) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][09:05:56][ERROR][app] os/exec.(Cmd).Run(0x1079dafb3?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:437 +0x38 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable() [2023-08-14][09:05:56][ERROR][app] internal/singleprogram/singleprogram.go:237 +0xec [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x1118bb970, 0x14001e76200}) [2023-08-14][09:05:56][ERROR][app] internal/singleprogram/singleprogram.go:164 +0xbf4 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14000b74f00?) [2023-08-14][09:05:56][ERROR][app] internal/service/svcmain/svcmain.go:91 +0x80 [2023-08-14][09:05:56][ERROR][app] github.com/urfave/cli/v2.(Command).Run(0x14000b74f00, 0x14000c75e40, {0x1400018e050, 0x5, 0x5}) [2023-08-14][09:05:56][ERROR][app] external/com_github_urfave_cli_v2/command.go:271 +0x78c [2023-08-14][09:05:56][ERROR][app] github.com/urfave/cli/v2.(App).RunContext(0x14000229e00, {0x11189e778?, 0x140001a6008}, {0x1400018e050, 0x5, 0x5}) [2023-08-14][09:05:56][ERROR][app] external/com_github_urfave_cli_v2/app.go:333 +0x5a4 [2023-08-14][09:05:56][ERROR][app] github.com/urfave/cli/v2.(App).Run(...) [2023-08-14][09:05:56][ERROR][app] external/com_github_urfave_cli_v2/app.go:310 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x11403eec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x1400018e050?, 0x5, 0x5}) [2023-08-14][09:05:56][ERROR][app] internal/service/svcmain/svcmain.go:102 +0x620 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...) [2023-08-14][09:05:56][ERROR][app] enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15 [2023-08-14][09:05:56][ERROR][app] main.main() [2023-08-14][09:05:56][ERROR][app] /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/main/enterprise/cmd/sourcegraph/main.go:50 +0x118 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 53 [select]: [2023-08-14][09:05:56][ERROR][app] go.opencensus.io/stats/view.(worker).start(0x140005aa200) [2023-08-14][09:05:56][ERROR][app] external/io_opencensus_go/stats/view/worker.go:292 +0x88 [2023-08-14][09:05:56][ERROR][app] created by go.opencensus.io/stats/view.init.0 [2023-08-14][09:05:56][ERROR][app] external/io_opencensus_go/stats/view/worker.go:34 +0xa4 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 237 [chan receive]: [2023-08-14][09:05:56][ERROR][app] github.com/golang/glog.(loggingT).flushDaemon(0x0?) [2023-08-14][09:05:56][ERROR][app] external/com_github_golang_glog/glog.go:882 +0x5c [2023-08-14][09:05:56][ERROR][app] created by github.com/golang/glog.init.0 [2023-08-14][09:05:56][ERROR][app] external/com_github_golang_glog/glog.go:410 +0x200 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 302 [syscall, 5 minutes]: [2023-08-14][09:05:56][ERROR][app] syscall.syscall6(0x140003265a8?, 0x10461af8c?, 0x14000326608?, 0x10461acf8?, 0x1000165a8?, 0x11d398b88?, 0x1158d05b8?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/runtime/sys_darwin.go:45 +0x64 [2023-08-14][09:05:56][ERROR][app] syscall.wait4(0x14000326608?, 0x1046c46c8?, 0x90?, 0x111725380?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c [2023-08-14][09:05:56][ERROR][app] syscall.Wait4(0x14002190180?, 0x14000326644, 0x107bffeea?, 0x14000326688?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/syscall/syscall_bsd.go:144 +0x28 [2023-08-14][09:05:56][ERROR][app] os.(Process).wait(0x14001d980c0) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec_unix.go:43 +0x80 [2023-08-14][09:05:56][ERROR][app] os.(Process).Wait(...) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec.go:132 [2023-08-14][09:05:56][ERROR][app] os/exec.(Cmd).Wait(0x140004c2f20) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:599 +0x3c [2023-08-14][09:05:56][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1() [2023-08-14][09:05:56][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74 [2023-08-14][09:05:56][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres [2023-08-14][09:05:56][ERROR][app] external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 124 [select, 5 minutes]: [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(MutableLimiter).do(0x14001ad0480, 0x20) [2023-08-14][09:05:56][ERROR][app] internal/limiter/mutable.go:94 +0x14c [2023-08-14][09:05:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable [2023-08-14][09:05:56][ERROR][app] internal/limiter/mutable.go:38 +0x108 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 255 [select]: [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).consume(0x14001e6a090) [2023-08-14][09:05:56][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8 [2023-08-14][09:05:56][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(worker).start [2023-08-14][09:05:56][ERROR][app] external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60 [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 301 [select, 5 minutes]: [2023-08-14][09:05:56][ERROR][app] io.(pipe).read(0x140023607e0, {0x14001e6d20d, 0xdf3, 0x104658b3c?}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/io/pipe.go:57 +0x84 [2023-08-14][09:05:56][ERROR][app] io.(PipeReader).Read(0x5000?, {0x14001e6d20d?, 0xe4c?, 0x300000000?}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/io/pipe.go:136 +0x24 [2023-08-14][09:05:56][ERROR][app] bufio.(Scanner).Scan(0x140013c9f48) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/bufio/scan.go:214 +0x908 [2023-08-14][09:05:56][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1() [2023-08-14][09:05:56][ERROR][app] internal/singleprogram/postgresql.go:186 +0xb0 [2023-08-14][09:05:56][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter [2023-08-14][09:05:56][ERROR][app] internal/singleprogram/postgresql.go:184 +0x1dc [2023-08-14][09:05:56][ERROR][app] [2023-08-14][09:05:56][ERROR][app] goroutine 306 [IO wait, 5 minutes]: [2023-08-14][09:05:56][ERROR][app] internal/poll.runtime_pollWait(0x11d3c4470, 0x72) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/runtime/netpoll.go:305 +0xa0 [2023-08-14][09:05:56][ERROR][app] internal/poll.(pollDesc).wait(0x14001e66ea0?, 0x14000cfe800?, 0x1) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28 [2023-08-14][09:05:56][ERROR][app] internal/poll.(pollDesc).waitRead(...) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/internal/poll/fd_poll_runtime.go:89 [2023-08-14][09:05:56][ERROR][app] internal/poll.(FD).Read(0x14001e66ea0, {0x14000cfe800, 0x200, 0x200}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0 [2023-08-14][09:05:56][ERROR][app] os.(File).read(...) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/file_posix.go:31 [2023-08-14][09:05:56][ERROR][app] os.(File).Read(0x14001c04568, {0x14000cfe800?, 0x14000326e68?, 0x11d309aa0?}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/file.go:119 +0x5c [2023-08-14][09:05:56][ERROR][app] bytes.(Buffer).ReadFrom(0x14001e6a5a0, {0x111860780, 0x14001c04568}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/bytes/buffer.go:202 +0x90 [2023-08-14][09:05:56][ERROR][app] io.copyBuffer({0x11184d9a0, 0x14001e6a5a0}, {0x111860780, 0x14001c04568}, {0x0, 0x0, 0x0}) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/io/io.go:413 +0x108 [2023-08-14][09:05:56][ERROR][app] io.Copy(...) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/io/io.go:386 [2023-08-14][09:05:56][ERROR][app] os/exec.(Cmd).writerDescriptor.func1() [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:407 +0x44 [2023-08-14][09:05:56][ERROR][app] os/exec.(Cmd).Start.func1(0x14001bcec60?) [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:544 +0x2c [2023-08-14][09:05:56][ERROR][app] created by os/exec.(Cmd).Start [2023-08-14][09:05:56][ERROR][app] GOROOT/src/os/exec/exec.go:543 +0x5d0 [2023-08-14][09:05:56][ERROR][app] Cody app backend terminated with exit code 2

biowaffeln commented 10 months ago

Same issue for me on an M1 Macbook:

[2023-08-20][20:40:34][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-20][20:45:34][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 304 [running]:
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x140006506d8?)
[2023-08-20][20:45:34][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x14000a44fc0)
[2023-08-20][20:45:34][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x1400118a0c0, 0x111232070)
[2023-08-20][20:45:34][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x0?)
[2023-08-20][20:45:34][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-08-20][20:45:34][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-08-20][20:45:34][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-08-20][20:45:34][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 1 [syscall, 4 minutes]:
[2023-08-20][20:45:34][ERROR][app] syscall.syscall6(0x1152bcf18?, 0x17?, 0x14001e11198?, 0x1040c2700?, 0x900001010165b8?, 0x13c947058?, 0x1152bcf18?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][20:45:34][ERROR][app] syscall.wait4(0x14001e111d8?, 0x1040bc6c8?, 0x90?, 0x11111d380?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][20:45:34][ERROR][app] syscall.Wait4(0x140022c65b8?, 0x14001e11214, 0x1101d23d8?, 0x1?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][20:45:34][ERROR][app] os.(*Process).wait(0x14001104540)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][20:45:34][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][20:45:34][ERROR][app] os/exec.(*Cmd).Wait(0x14001e80160)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][20:45:34][ERROR][app] os/exec.(*Cmd).Run(0x1073d2fb3?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:437 +0x38
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable()
[2023-08-20][20:45:34][ERROR][app]  internal/singleprogram/singleprogram.go:237 +0xec
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x1112b3970, 0x14002464200})
[2023-08-20][20:45:34][ERROR][app]  internal/singleprogram/singleprogram.go:164 +0xbf4
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x1400240ea00?)
[2023-08-20][20:45:34][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-08-20][20:45:34][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x1400240ea00, 0x140023cbe40, {0x14000116050, 0x5, 0x5})
[2023-08-20][20:45:34][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-08-20][20:45:34][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x140002b92c0, {0x111296778?, 0x1400012e008}, {0x14000116050, 0x5, 0x5})
[2023-08-20][20:45:34][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-08-20][20:45:34][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-08-20][20:45:34][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x113a36ec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x14000116050?, 0x5, 0x5})
[2023-08-20][20:45:34][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-08-20][20:45:34][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-08-20][20:45:34][ERROR][app] main.main()
[2023-08-20][20:45:34][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 83 [select]:
[2023-08-20][20:45:34][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x1400023cb80)
[2023-08-20][20:45:34][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-08-20][20:45:34][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-08-20][20:45:34][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 307 [syscall, 4 minutes]:
[2023-08-20][20:45:34][ERROR][app] syscall.syscall6(0x0?, 0x0?, 0x0?, 0x0?, 0x100010000?, 0x13c8bda48?, 0x1152bc5b8?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][20:45:34][ERROR][app] syscall.wait4(0x140002a6608?, 0x1040bc6c8?, 0x90?, 0x11111d380?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][20:45:34][ERROR][app] syscall.Wait4(0x0?, 0x140002a6644, 0x0?, 0x0?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][20:45:34][ERROR][app] os.(*Process).wait(0x14001da6510)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][20:45:34][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][20:45:34][ERROR][app] os/exec.(*Cmd).Wait(0x140000eec60)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][20:45:34][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1()
[2023-08-20][20:45:34][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74
[2023-08-20][20:45:34][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres
[2023-08-20][20:45:34][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 57 [IO wait, 4 minutes]:
[2023-08-20][20:45:34][ERROR][app] internal/poll.runtime_pollWait(0x13cc6bae8, 0x72)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-08-20][20:45:34][ERROR][app] internal/poll.(*pollDesc).wait(0x140006ec300?, 0x14000abe600?, 0x1)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-08-20][20:45:34][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-08-20][20:45:34][ERROR][app] internal/poll.(*FD).Read(0x140006ec300, {0x14000abe600, 0x200, 0x200})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-08-20][20:45:34][ERROR][app] os.(*File).read(...)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/file_posix.go:31
[2023-08-20][20:45:34][ERROR][app] os.(*File).Read(0x14001d02058, {0x14000abe600?, 0x3?, 0x104012c4c?})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/file.go:119 +0x5c
[2023-08-20][20:45:34][ERROR][app] bytes.(*Buffer).ReadFrom(0x1400223e0f0, {0x111258780, 0x14001d02058})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-08-20][20:45:34][ERROR][app] io.copyBuffer({0x1112459a0, 0x1400223e0f0}, {0x111258780, 0x14001d02058}, {0x0, 0x0, 0x0})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/io/io.go:413 +0x108
[2023-08-20][20:45:34][ERROR][app] io.Copy(...)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/io/io.go:386
[2023-08-20][20:45:34][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1()
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:407 +0x44
[2023-08-20][20:45:34][ERROR][app] os/exec.(*Cmd).Start.func1(0x14000ed9440?)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:544 +0x2c
[2023-08-20][20:45:34][ERROR][app] created by os/exec.(*Cmd).Start
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/os/exec/exec.go:543 +0x5d0
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 162 [select, 5 minutes]:
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x14001c9d470, 0x20)
[2023-08-20][20:45:34][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-08-20][20:45:34][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-08-20][20:45:34][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 267 [chan receive]:
[2023-08-20][20:45:34][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x1400067eb40?)
[2023-08-20][20:45:34][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-08-20][20:45:34][ERROR][app] created by github.com/golang/glog.init.0
[2023-08-20][20:45:34][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 323 [select]:
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x14002407c20)
[2023-08-20][20:45:34][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-08-20][20:45:34][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-08-20][20:45:34][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-08-20][20:45:34][ERROR][app] 
[2023-08-20][20:45:34][ERROR][app] goroutine 324 [select, 4 minutes]:
[2023-08-20][20:45:34][ERROR][app] io.(*pipe).read(0x14002404960, {0x14002230680, 0x980, 0x0?})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-08-20][20:45:34][ERROR][app] io.(*PipeReader).Read(0x5000?, {0x14002230680?, 0x9d9?, 0x1152bc500?})
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-08-20][20:45:34][ERROR][app] bufio.(*Scanner).Scan(0x140000b4f48)
[2023-08-20][20:45:34][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-08-20][20:45:34][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-08-20][20:45:34][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-08-20][20:45:34][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-08-20][20:45:34][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-08-20][20:45:34][ERROR][app] Cody app backend terminated with exit code 2
[2023-08-20][20:45:42][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-20][20:50:42][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 223 [running]:
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x14001cab0d0?)
[2023-08-20][20:50:42][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x14000dd8a20)
[2023-08-20][20:50:42][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x140004e0680, 0x10db86070)
[2023-08-20][20:50:42][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x140023a4090?)
[2023-08-20][20:50:42][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-08-20][20:50:42][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-08-20][20:50:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-08-20][20:50:42][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 1 [syscall, 5 minutes]:
[2023-08-20][20:50:42][ERROR][app] syscall.syscall6(0x1400217f898?, 0x2?, 0x1400243f198?, 0x100a16700?, 0x10001f8f0?, 0x1395259e8?, 0x111c105b8?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][20:50:42][ERROR][app] syscall.wait4(0x1400243f1d8?, 0x100a106c8?, 0x90?, 0x10da71380?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][20:50:42][ERROR][app] syscall.Wait4(0x1400208f8f0?, 0x1400243f214, 0x10cb263d8?, 0x1?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][20:50:42][ERROR][app] os.(*Process).wait(0x1400140d2f0)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][20:50:42][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][20:50:42][ERROR][app] os/exec.(*Cmd).Wait(0x140021311e0)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][20:50:42][ERROR][app] os/exec.(*Cmd).Run(0x103d26fb3?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:437 +0x38
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable()
[2023-08-20][20:50:42][ERROR][app]  internal/singleprogram/singleprogram.go:237 +0xec
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10dc07970, 0x1400217c6c0})
[2023-08-20][20:50:42][ERROR][app]  internal/singleprogram/singleprogram.go:164 +0xbf4
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14001c2bb80?)
[2023-08-20][20:50:42][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-08-20][20:50:42][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x14001c2bb80, 0x1400217c300, {0x1400021a000, 0x5, 0x5})
[2023-08-20][20:50:42][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-08-20][20:50:42][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x140005f45a0, {0x10dbea778?, 0x14000216008}, {0x1400021a000, 0x5, 0x5})
[2023-08-20][20:50:42][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-08-20][20:50:42][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-08-20][20:50:42][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x11038aec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x1400021a000?, 0x5, 0x5})
[2023-08-20][20:50:42][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-08-20][20:50:42][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-08-20][20:50:42][ERROR][app] main.main()
[2023-08-20][20:50:42][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 40 [select]:
[2023-08-20][20:50:42][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x14000379080)
[2023-08-20][20:50:42][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-08-20][20:50:42][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-08-20][20:50:42][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 307 [select, 5 minutes]:
[2023-08-20][20:50:42][ERROR][app] io.(*pipe).read(0x1400212bd40, {0x1400219e20a, 0xdf6, 0x1009a4b13?})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-08-20][20:50:42][ERROR][app] io.(*PipeReader).Read(0x5000?, {0x1400219e20a?, 0xe4f?, 0x111c11800?})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-08-20][20:50:42][ERROR][app] bufio.(*Scanner).Scan(0x14000609f48)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-08-20][20:50:42][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-08-20][20:50:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-08-20][20:50:42][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 111 [select, 5 minutes]:
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x14000628a98, 0x20)
[2023-08-20][20:50:42][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-08-20][20:50:42][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-08-20][20:50:42][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 238 [chan receive]:
[2023-08-20][20:50:42][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x0?)
[2023-08-20][20:50:42][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-08-20][20:50:42][ERROR][app] created by github.com/golang/glog.init.0
[2023-08-20][20:50:42][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 306 [select]:
[2023-08-20][20:50:42][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x14002151d10)
[2023-08-20][20:50:42][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-08-20][20:50:42][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-08-20][20:50:42][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 308 [syscall, 5 minutes]:
[2023-08-20][20:50:42][ERROR][app] syscall.syscall6(0xa?, 0x10?, 0x14900000007?, 0x0?, 0x10001f100?, 0x139549088?, 0x111c11878?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][20:50:42][ERROR][app] syscall.wait4(0x1400045be08?, 0x100a106c8?, 0x90?, 0x10da71380?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][20:50:42][ERROR][app] syscall.Wait4(0xa?, 0x1400045be44, 0x14500000007?, 0x0?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][20:50:42][ERROR][app] os.(*Process).wait(0x1400140cf30)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][20:50:42][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][20:50:42][ERROR][app] os/exec.(*Cmd).Wait(0x14002130f20)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][20:50:42][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1()
[2023-08-20][20:50:42][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74
[2023-08-20][20:50:42][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres
[2023-08-20][20:50:42][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298
[2023-08-20][20:50:42][ERROR][app] 
[2023-08-20][20:50:42][ERROR][app] goroutine 311 [IO wait, 5 minutes]:
[2023-08-20][20:50:42][ERROR][app] internal/poll.runtime_pollWait(0x1395bd910, 0x72)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-08-20][20:50:42][ERROR][app] internal/poll.(*pollDesc).wait(0x140024b23c0?, 0x14000e26000?, 0x1)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-08-20][20:50:42][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-08-20][20:50:42][ERROR][app] internal/poll.(*FD).Read(0x140024b23c0, {0x14000e26000, 0x200, 0x200})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-08-20][20:50:42][ERROR][app] os.(*File).read(...)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/file_posix.go:31
[2023-08-20][20:50:42][ERROR][app] os.(*File).Read(0x14000178738, {0x14000e26000?, 0x0?, 0xdf00000000?})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/file.go:119 +0x5c
[2023-08-20][20:50:42][ERROR][app] bytes.(*Buffer).ReadFrom(0x140024b0660, {0x10dbac780, 0x14000178738})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-08-20][20:50:42][ERROR][app] io.copyBuffer({0x10db999a0, 0x140024b0660}, {0x10dbac780, 0x14000178738}, {0x0, 0x0, 0x0})
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/io/io.go:413 +0x108
[2023-08-20][20:50:42][ERROR][app] io.Copy(...)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/io/io.go:386
[2023-08-20][20:50:42][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1()
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:407 +0x44
[2023-08-20][20:50:42][ERROR][app] os/exec.(*Cmd).Start.func1(0x0?)
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:544 +0x2c
[2023-08-20][20:50:42][ERROR][app] created by os/exec.(*Cmd).Start
[2023-08-20][20:50:42][ERROR][app]  GOROOT/src/os/exec/exec.go:543 +0x5d0
[2023-08-20][20:50:42][ERROR][app] Cody app backend terminated with exit code 2
[2023-08-20][20:51:07][ERROR][app::common] No such file or directory (os error 2)
[2023-08-20][20:51:07][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-20][20:52:09][ERROR][app] |------------------------------------------------------------------------------|
[2023-08-20][20:52:09][ERROR][app] | src-cli is unavailable                                                       |
[2023-08-20][20:52:09][ERROR][app] |------------------------------------------------------------------------------|
[2023-08-20][20:52:09][ERROR][app] | Sourcegraph is better when src-cli is available; batch changes may not work. |
[2023-08-20][20:52:09][ERROR][app] |                                                                              |
[2023-08-20][20:52:09][ERROR][app] | Installation: https://github.com/sourcegraph/src-cli                         |
[2023-08-20][20:52:09][ERROR][app] |                                                                              |
[2023-08-20][20:52:09][ERROR][app] |------------------------------------------------------------------------------|
[2023-08-20][20:52:09][ERROR][app] 1692564729951300000  WARN    servegit    servegit/service.go:62  github.com/sourcegraph/sourcegraph/internal/service/servegit.(*svc).Start   skipping local code since the environment variable SRC is not set   {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Marks-Air"}, "Attributes": {}}
[2023-08-20][20:52:09][ERROR][app] 1692564729956517000  FATAL   sourcegraph svcmain/svcmain.go:263  github.com/sourcegraph/sourcegraph/internal/service/svcmain.run.func1   failed to start service {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Marks-Air"}, "Attributes": {"service": "frontend", "error": "frontend.tryAutoUpgrade: failed to connect to frontend database: DB not available: dial unix /Users/mark/.sourcegraph-psql/.s.PGSQL.5432: connect: no such file or directory"}}
[2023-08-20][20:52:09][ERROR][app] 1692564729973883000  ERROR   service run/util.go:44  github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions    Failed to get src-cli version   {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Marks-Air"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}}
[2023-08-20][20:52:09][ERROR][app] 1692564729973877000  ERROR   service run/util.go:44  github.com/sourcegraph/sourcegraph/enterprise/cmd/executor/internal/run.newQueueTelemetryOptions    Failed to get src-cli version   {"Resource": {"service.name": "sourcegraph-backend", "service.version": "2023.7.11+1384.7d20a90ce7", "service.instance.id": "Marks-Air"}, "Attributes": {"error": "'src version -client-only': : exec: \"src\": executable file not found in $PATH"}}
[2023-08-20][20:52:10][ERROR][app] Cody app backend terminated with exit code 1
[2023-08-20][20:58:57][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-20][21:00:32][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-20][21:08:09][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 276 [running]:
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x140019c84f8?)
[2023-08-20][21:08:09][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x140008c8d80)
[2023-08-20][21:08:09][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x14000ccaf40, 0x111f2a070)
[2023-08-20][21:08:09][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x1400232c510?)
[2023-08-20][21:08:09][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-08-20][21:08:09][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-08-20][21:08:09][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-08-20][21:08:09][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 1 [syscall, 5 minutes]:
[2023-08-20][21:08:09][ERROR][app] syscall.syscall6(0x14002491078?, 0x2?, 0x140023bf198?, 0x104dba700?, 0x10001c2d0?, 0x13d93cec8?, 0x115fac108?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][21:08:09][ERROR][app] syscall.wait4(0x140023bf1d8?, 0x104db46c8?, 0x90?, 0x111e15380?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][21:08:09][ERROR][app] syscall.Wait4(0x1400248c2d0?, 0x140023bf214, 0x110eca3d8?, 0x1?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][21:08:09][ERROR][app] os.(*Process).wait(0x14002496060)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][21:08:09][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][21:08:09][ERROR][app] os/exec.(*Cmd).Wait(0x14001b85600)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][21:08:09][ERROR][app] os/exec.(*Cmd).Run(0x1080cafb3?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:437 +0x38
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable()
[2023-08-20][21:08:09][ERROR][app]  internal/singleprogram/singleprogram.go:237 +0xec
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x111fab970, 0x1400237e440})
[2023-08-20][21:08:09][ERROR][app]  internal/singleprogram/singleprogram.go:164 +0xbf4
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x14000d08c80?)
[2023-08-20][21:08:09][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-08-20][21:08:09][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x14000d08c80, 0x1400237e080, {0x14000116050, 0x5, 0x5})
[2023-08-20][21:08:09][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-08-20][21:08:09][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x140005294a0, {0x111f8e778?, 0x1400012e008}, {0x14000116050, 0x5, 0x5})
[2023-08-20][21:08:09][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-08-20][21:08:09][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-08-20][21:08:09][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x11472eec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x14000116050?, 0x5, 0x5})
[2023-08-20][21:08:09][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-08-20][21:08:09][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-08-20][21:08:09][ERROR][app] main.main()
[2023-08-20][21:08:09][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 233 [chan receive]:
[2023-08-20][21:08:09][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x14001c2e870?)
[2023-08-20][21:08:09][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-08-20][21:08:09][ERROR][app] created by github.com/golang/glog.init.0
[2023-08-20][21:08:09][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 7 [select]:
[2023-08-20][21:08:09][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x14000340e80)
[2023-08-20][21:08:09][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-08-20][21:08:09][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-08-20][21:08:09][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 281 [IO wait, 5 minutes]:
[2023-08-20][21:08:09][ERROR][app] internal/poll.runtime_pollWait(0x13d9862c0, 0x72)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-08-20][21:08:09][ERROR][app] internal/poll.(*pollDesc).wait(0x1400227e420?, 0x1400094f000?, 0x1)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-08-20][21:08:09][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-08-20][21:08:09][ERROR][app] internal/poll.(*FD).Read(0x1400227e420, {0x1400094f000, 0x200, 0x200})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-08-20][21:08:09][ERROR][app] os.(*File).read(...)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/file_posix.go:31
[2023-08-20][21:08:09][ERROR][app] os.(*File).Read(0x14000011aa0, {0x1400094f000?, 0x1083702f0?, 0x3d?})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/file.go:119 +0x5c
[2023-08-20][21:08:09][ERROR][app] bytes.(*Buffer).ReadFrom(0x1400225fc50, {0x111f50780, 0x14000011aa0})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-08-20][21:08:09][ERROR][app] io.copyBuffer({0x111f3d9a0, 0x1400225fc50}, {0x111f50780, 0x14000011aa0}, {0x0, 0x0, 0x0})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/io/io.go:413 +0x108
[2023-08-20][21:08:09][ERROR][app] io.Copy(...)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/io/io.go:386
[2023-08-20][21:08:09][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1()
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:407 +0x44
[2023-08-20][21:08:09][ERROR][app] os/exec.(*Cmd).Start.func1(0x14000a60840?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:544 +0x2c
[2023-08-20][21:08:09][ERROR][app] created by os/exec.(*Cmd).Start
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:543 +0x5d0
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 130 [select, 5 minutes]:
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x14001a25c38, 0x20)
[2023-08-20][21:08:09][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-08-20][21:08:09][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-08-20][21:08:09][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 256 [select]:
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x1400237a210)
[2023-08-20][21:08:09][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-08-20][21:08:09][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-08-20][21:08:09][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 257 [select, 5 minutes]:
[2023-08-20][21:08:09][ERROR][app] io.(*pipe).read(0x1400232ed80, {0x1400227c20a, 0xdf6, 0x0?})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-08-20][21:08:09][ERROR][app] io.(*PipeReader).Read(0x5000?, {0x1400227c20a?, 0xe4f?, 0x0?})
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-08-20][21:08:09][ERROR][app] bufio.(*Scanner).Scan(0x140000bbf48)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-08-20][21:08:09][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-08-20][21:08:09][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-08-20][21:08:09][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-08-20][21:08:09][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-08-20][21:08:09][ERROR][app] 
[2023-08-20][21:08:09][ERROR][app] goroutine 290 [syscall, 5 minutes]:
[2023-08-20][21:08:09][ERROR][app] syscall.syscall6(0x0?, 0x0?, 0x0?, 0x0?, 0x100010000?, 0x13d93cec8?, 0x115fac108?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-20][21:08:09][ERROR][app] syscall.wait4(0x14001c38e08?, 0x104db46c8?, 0x90?, 0x111e15380?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-20][21:08:09][ERROR][app] syscall.Wait4(0x0?, 0x14001c38e44, 0x0?, 0x0?)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-20][21:08:09][ERROR][app] os.(*Process).wait(0x14002376450)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-20][21:08:09][ERROR][app] os.(*Process).Wait(...)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-20][21:08:09][ERROR][app] os/exec.(*Cmd).Wait(0x14002332b00)
[2023-08-20][21:08:09][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-20][21:08:09][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1()
[2023-08-20][21:08:09][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74
[2023-08-20][21:08:09][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres
[2023-08-20][21:08:09][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298
[2023-08-20][21:08:09][ERROR][app] Cody app backend terminated with exit code 2
mrmemes-eth commented 10 months ago

Same for me on an M1 Max as well:

[2023-08-24][21:02:11][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-24][21:03:27][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin arm64
[2023-08-24][21:08:27][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 296 [running]:
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0x14000455168?)
[2023-08-24][21:08:27][ERROR][app]  internal/conf/store.go:175 +0x300
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0x14000622360)
[2023-08-24][21:08:27][ERROR][app]  internal/conf/store.go:137 +0x2c
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0x1400115ee00, 0x11209e070)
[2023-08-24][21:08:27][ERROR][app]  internal/conf/client.go:169 +0x1b8
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0x14002006b40?)
[2023-08-24][21:08:27][ERROR][app]  internal/conf/client.go:136 +0x28
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-08-24][21:08:27][ERROR][app]  cmd/symbols/parser/config.go:52 +0x24
[2023-08-24][21:08:27][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-08-24][21:08:27][ERROR][app]  cmd/symbols/parser/config.go:51 +0xe8
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 1 [syscall, 5 minutes]:
[2023-08-24][21:08:27][ERROR][app] syscall.syscall6(0x1400265c6b8?, 0x2?, 0x140025bf198?, 0x104f2e700?, 0x10001a810?, 0x11d7e3550?, 0x116128108?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-24][21:08:27][ERROR][app] syscall.wait4(0x140025bf1d8?, 0x104f286c8?, 0x90?, 0x111f89380?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-24][21:08:27][ERROR][app] syscall.Wait4(0x1400201a810?, 0x140025bf214, 0x11103e3d8?, 0x1?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-24][21:08:27][ERROR][app] os.(*Process).wait(0x140011358f0)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-24][21:08:27][ERROR][app] os.(*Process).Wait(...)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-24][21:08:27][ERROR][app] os/exec.(*Cmd).Wait(0x1400206e580)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-24][21:08:27][ERROR][app] os/exec.(*Cmd).Run(0x10823efb3?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:437 +0x38
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.isDockerAvailable()
[2023-08-24][21:08:27][ERROR][app]  internal/singleprogram/singleprogram.go:237 +0xec
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x11211f970, 0x140024e1c00})
[2023-08-24][21:08:27][ERROR][app]  internal/singleprogram/singleprogram.go:164 +0xbf4
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0x1400254aa00?)
[2023-08-24][21:08:27][ERROR][app]  internal/service/svcmain/svcmain.go:91 +0x80
[2023-08-24][21:08:27][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0x1400254aa00, 0x140024e1840, {0x1400018e050, 0x5, 0x5})
[2023-08-24][21:08:27][ERROR][app]  external/com_github_urfave_cli_v2/command.go:271 +0x78c
[2023-08-24][21:08:27][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0x14001b0e000, {0x112102778?, 0x140001a6008}, {0x1400018e050, 0x5, 0x5})
[2023-08-24][21:08:27][ERROR][app]  external/com_github_urfave_cli_v2/app.go:333 +0x5a4
[2023-08-24][21:08:27][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-08-24][21:08:27][ERROR][app]  external/com_github_urfave_cli_v2/app.go:310
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x1148a2ec0, 0xd, 0xd}, {0x64?, 0x0?}, {0x1400018e050?, 0x5, 0x5})
[2023-08-24][21:08:27][ERROR][app]  internal/service/svcmain/svcmain.go:102 +0x620
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-08-24][21:08:27][ERROR][app]  enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-08-24][21:08:27][ERROR][app] main.main()
[2023-08-24][21:08:27][ERROR][app]  /private/var/tmp/_bazel_ec2-user/58ad2e50dcfb9c20da085cd0810f895a/sandbox/darwin-sandbox/5637/execroot/__main__/enterprise/cmd/sourcegraph/main.go:50 +0x118
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 8 [select]:
[2023-08-24][21:08:27][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0x14000130b00)
[2023-08-24][21:08:27][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:292 +0x88
[2023-08-24][21:08:27][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-08-24][21:08:27][ERROR][app]  external/io_opencensus_go/stats/view/worker.go:34 +0xa4
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 312 [select]:
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0x1400257e7e0)
[2023-08-24][21:08:27][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:59 +0xa8
[2023-08-24][21:08:27][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-08-24][21:08:27][ERROR][app]  external/com_github_sourcegraph_log/internal/sinkcores/sentrycore/worker.go:51 +0x60
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 140 [select, 5 minutes]:
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0x140006a9080, 0x20)
[2023-08-24][21:08:27][ERROR][app]  internal/limiter/mutable.go:94 +0x14c
[2023-08-24][21:08:27][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-08-24][21:08:27][ERROR][app]  internal/limiter/mutable.go:38 +0x108
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 314 [syscall, 5 minutes]:
[2023-08-24][21:08:27][ERROR][app] syscall.syscall6(0x2?, 0x24?, 0x14001b1de48?, 0x104e862ec?, 0x10001c5f8?, 0x11d7e3550?, 0x116128108?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/runtime/sys_darwin.go:45 +0x64
[2023-08-24][21:08:27][ERROR][app] syscall.wait4(0x14001b1de08?, 0x104f286c8?, 0x90?, 0x111f89380?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/syscall/zsyscall_darwin_arm64.go:43 +0x4c
[2023-08-24][21:08:27][ERROR][app] syscall.Wait4(0x14001b1e010?, 0x14001b1de44, 0x14001b1dee8?, 0x104e862ec?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/syscall/syscall_bsd.go:144 +0x28
[2023-08-24][21:08:27][ERROR][app] os.(*Process).wait(0x140024dbdd0)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec_unix.go:43 +0x80
[2023-08-24][21:08:27][ERROR][app] os.(*Process).Wait(...)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec.go:132
[2023-08-24][21:08:27][ERROR][app] os/exec.(*Cmd).Wait(0x14001c7f600)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:599 +0x3c
[2023-08-24][21:08:27][ERROR][app] github.com/fergusstrange/embedded-postgres.startPostgres.func1()
[2023-08-24][21:08:27][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:230 +0x74
[2023-08-24][21:08:27][ERROR][app] created by github.com/fergusstrange/embedded-postgres.startPostgres
[2023-08-24][21:08:27][ERROR][app]  external/com_github_fergusstrange_embedded_postgres/embedded_postgres.go:228 +0x298
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 313 [select, 5 minutes]:
[2023-08-24][21:08:27][ERROR][app] io.(*pipe).read(0x140024c7da0, {0x1400264820d, 0xdf3, 0x0?})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/io/pipe.go:57 +0x84
[2023-08-24][21:08:27][ERROR][app] io.(*PipeReader).Read(0x5000?, {0x1400264820d?, 0xe4c?, 0x0?})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/io/pipe.go:136 +0x24
[2023-08-24][21:08:27][ERROR][app] bufio.(*Scanner).Scan(0x14002402f48)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/bufio/scan.go:214 +0x908
[2023-08-24][21:08:27][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-08-24][21:08:27][ERROR][app]  internal/singleprogram/postgresql.go:186 +0xb0
[2023-08-24][21:08:27][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-08-24][21:08:27][ERROR][app]  internal/singleprogram/postgresql.go:184 +0x1dc
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 302 [IO wait, 5 minutes]:
[2023-08-24][21:08:27][ERROR][app] internal/poll.runtime_pollWait(0x11dbc0e10, 0x72)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/runtime/netpoll.go:305 +0xa0
[2023-08-24][21:08:27][ERROR][app] internal/poll.(*pollDesc).wait(0x14002644420?, 0x14000ab0000?, 0x1)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:84 +0x28
[2023-08-24][21:08:27][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/internal/poll/fd_poll_runtime.go:89
[2023-08-24][21:08:27][ERROR][app] internal/poll.(*FD).Read(0x14002644420, {0x14000ab0000, 0x200, 0x200})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/internal/poll/fd_unix.go:167 +0x1e0
[2023-08-24][21:08:27][ERROR][app] os.(*File).read(...)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/file_posix.go:31
[2023-08-24][21:08:27][ERROR][app] os.(*File).Read(0x140001a3430, {0x14000ab0000?, 0x14000690eb8?, 0x1058eb538?})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/file.go:119 +0x5c
[2023-08-24][21:08:27][ERROR][app] bytes.(*Buffer).ReadFrom(0x14002652570, {0x1120c4780, 0x140001a3430})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/bytes/buffer.go:202 +0x90
[2023-08-24][21:08:27][ERROR][app] io.copyBuffer({0x1120b19a0, 0x14002652570}, {0x1120c4780, 0x140001a3430}, {0x0, 0x0, 0x0})
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/io/io.go:413 +0x108
[2023-08-24][21:08:27][ERROR][app] io.Copy(...)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/io/io.go:386
[2023-08-24][21:08:27][ERROR][app] os/exec.(*Cmd).writerDescriptor.func1()
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:407 +0x44
[2023-08-24][21:08:27][ERROR][app] os/exec.(*Cmd).Start.func1(0x140001916e0?)
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:544 +0x2c
[2023-08-24][21:08:27][ERROR][app] created by os/exec.(*Cmd).Start
[2023-08-24][21:08:27][ERROR][app]  GOROOT/src/os/exec/exec.go:543 +0x5d0
[2023-08-24][21:08:27][ERROR][app] 
[2023-08-24][21:08:27][ERROR][app] goroutine 266 [chan receive]:
[2023-08-24][21:08:27][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0x0?)
[2023-08-24][21:08:27][ERROR][app]  external/com_github_golang_glog/glog.go:882 +0x5c
[2023-08-24][21:08:27][ERROR][app] created by github.com/golang/glog.init.0
[2023-08-24][21:08:27][ERROR][app]  external/com_github_golang_glog/glog.go:410 +0x200
[2023-08-24][21:08:27][ERROR][app] Cody app backend terminated with exit code 2
Japskua commented 10 months ago

The problem was related to Docker getting stuck in energy saver mode, which led to Docker not actually starting. Once you have verified that Docker is really running AND WORKING (try to run for example docker run hello-world to verify it works), Cody started working as well.