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

App not load in version: 2023.7.11+1384 #40

Open hoveychen opened 1 year ago

hoveychen commented 1 year ago
          Same issue. Not working with `Clear all data and restart`

The logs seems different here:

[2023-07-12][04:26:35][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64
[2023-07-12][04:31:35][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 262 [running]:
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0xc001c77678?)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/store.go:175 +0x2c8
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0xc000d7f8c0)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/store.go:137 +0x2f
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0xc00060edc0, 0x10b113fd0)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/client.go:169 +0x11e
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0xc001e13680?)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/client.go:136 +0x28
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:52 +0x25
[2023-07-12][04:31:35][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:51 +0xb1
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 1 [runnable]:
[2023-07-12][04:31:35][ERROR][app] sync.runtime_notifyListWait(0xc001cf30c8, 0x67c)
[2023-07-12][04:31:35][ERROR][app]  runtime/sema.go:517 +0x14c
[2023-07-12][04:31:35][ERROR][app] sync.(*Cond).Wait(0xd?)
[2023-07-12][04:31:35][ERROR][app]  sync/cond.go:70 +0x8c
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2pipe).Read(0xc001cf30b0, {0xc00374f138, 0x2ec8, 0x2ec8})
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:3668 +0xeb
[2023-07-12][04:31:35][ERROR][app] net/http.http2transportResponseBody.Read({0xc001cf3080?}, {0xc00374f138?, 0x46000?, 0x46000?})
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:9157 +0x85
[2023-07-12][04:31:35][ERROR][app] io.ReadAll({0x138ea9740, 0xc001cf3080})
[2023-07-12][04:31:35][ERROR][app]  io/io.go:661 +0xfe
[2023-07-12][04:31:35][ERROR][app] io/ioutil.ReadAll(...)
[2023-07-12][04:31:35][ERROR][app]  io/ioutil/ioutil.go:27
[2023-07-12][04:31:35][ERROR][app] github.com/fergusstrange/embedded-postgres.defaultRemoteFetchStrategy.func1()
[2023-07-12][04:31:35][ERROR][app]  github.com/fergusstrange/embedded-postgres@v1.19.0/remote_fetch.go:48 +0x288
[2023-07-12][04:31:35][ERROR][app] github.com/fergusstrange/embedded-postgres.(*EmbeddedPostgres).Start(0xc000596d20)
[2023-07-12][04:31:35][ERROR][app]  github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:100 +0x313
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.startEmbeddedPostgreSQL({0x10c759590, 0xc001a8c180}, {0xc000e80190, 0x48})
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:144 +0x795
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.initPostgreSQL({0x10c759590, 0xc001a8c180}, {0xc000e80190?, 0x12?})
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:39 +0x53
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10c759590, 0xc001a8c180})
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:106 +0xb46
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0xc00243de00?)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:91 +0xa7
[2023-07-12][04:31:35][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0xc00243de00, 0xc00245ddc0, {0xc00010e050, 0x5, 0x5})
[2023-07-12][04:31:35][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/command.go:271 +0xa42
[2023-07-12][04:31:35][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0xc0005b8d20, {0x10c73bc98?, 0xc000126008}, {0xc00010e050, 0x5, 0x5})
[2023-07-12][04:31:35][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/app.go:333 +0x665
[2023-07-12][04:31:35][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-07-12][04:31:35][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/app.go:310
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x10f277980, 0xd, 0xd}, {0xf9?, 0x0?}, {0xc00010e050?, 0x5, 0x5})
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:102 +0x6b6
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-07-12][04:31:35][ERROR][app] main.main()
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/main.go:50 +0xd4
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 10 [select]:
[2023-07-12][04:31:35][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0xc000049580)
[2023-07-12][04:31:35][ERROR][app]  go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0xad
[2023-07-12][04:31:35][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-07-12][04:31:35][ERROR][app]  go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x8d
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 281 [select, 5 minutes]:
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2clientStream).writeRequest(0xc001cf3080, 0xc001d29200)
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:8095 +0x9c7
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2clientStream).doRequest(0x1005ae28a?, 0xc002367aa0?)
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:7957 +0x1e
[2023-07-12][04:31:35][ERROR][app] created by net/http.(*http2ClientConn).RoundTrip
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:7886 +0x30a
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 219 [chan receive]:
[2023-07-12][04:31:35][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0xc001f786c0?)
[2023-07-12][04:31:35][ERROR][app]  github.com/golang/glog@v1.0.0/glog.go:882 +0x6a
[2023-07-12][04:31:35][ERROR][app] created by github.com/golang/glog.init.0
[2023-07-12][04:31:35][ERROR][app]  github.com/golang/glog@v1.0.0/glog.go:410 +0x1bf
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 119 [select, 5 minutes]:
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0xc0012e4ea0, 0x20)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:94 +0x1bd
[2023-07-12][04:31:35][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:38 +0x105
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 265 [select]:
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0xc00246eb40)
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:59 +0xd7
[2023-07-12][04:31:35][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:51 +0x56
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 266 [select, 5 minutes]:
[2023-07-12][04:31:35][ERROR][app] io.(*pipe).read(0xc002367c20, {0xc0023c8000, 0x1000, 0x1?})
[2023-07-12][04:31:35][ERROR][app]  io/pipe.go:57 +0xb1
[2023-07-12][04:31:35][ERROR][app] io.(*PipeReader).Read(0x10006d88e?, {0xc0023c8000?, 0xc001d18530?, 0x10003d340?})
[2023-07-12][04:31:35][ERROR][app]  io/pipe.go:136 +0x25
[2023-07-12][04:31:35][ERROR][app] bufio.(*Scanner).Scan(0xc000aaaf50)
[2023-07-12][04:31:35][ERROR][app]  bufio/scan.go:214 +0x876
[2023-07-12][04:31:35][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:186 +0xda
[2023-07-12][04:31:35][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-07-12][04:31:35][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:184 +0x1c5
[2023-07-12][04:31:35][ERROR][app] 
[2023-07-12][04:31:35][ERROR][app] goroutine 292 [IO wait]:
[2023-07-12][04:31:35][ERROR][app] internal/poll.runtime_pollWait(0x138d00840, 0x72)
[2023-07-12][04:31:35][ERROR][app]  runtime/netpoll.go:305 +0x89
[2023-07-12][04:31:35][ERROR][app] internal/poll.(*pollDesc).wait(0xc002271580?, 0xc0025c8000?, 0x0)
[2023-07-12][04:31:35][ERROR][app]  internal/poll/fd_poll_runtime.go:84 +0x32
[2023-07-12][04:31:35][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-07-12][04:31:35][ERROR][app]  internal/poll/fd_poll_runtime.go:89
[2023-07-12][04:31:35][ERROR][app] internal/poll.(*FD).Read(0xc002271580, {0xc0025c8000, 0xa000, 0xa000})
[2023-07-12][04:31:35][ERROR][app]  internal/poll/fd_unix.go:167 +0x25a
[2023-07-12][04:31:35][ERROR][app] net.(*netFD).Read(0xc002271580, {0xc0025c8000?, 0x10024c7a2?, 0xc0005e81e0?})
[2023-07-12][04:31:35][ERROR][app]  net/fd_posix.go:55 +0x29
[2023-07-12][04:31:35][ERROR][app] net.(*conn).Read(0xc0005e0000, {0xc0025c8000?, 0xd?, 0xc0005e81e0?})
[2023-07-12][04:31:35][ERROR][app]  net/net.go:183 +0x45
[2023-07-12][04:31:35][ERROR][app] crypto/tls.(*atLeastReader).Read(0xc001e22108, {0xc0025c8000?, 0x0?, 0x100114c8f?})
[2023-07-12][04:31:35][ERROR][app]  crypto/tls/conn.go:787 +0x3d
[2023-07-12][04:31:35][ERROR][app] bytes.(*Buffer).ReadFrom(0xc0005e4278, {0x10c6ee0a0, 0xc001e22108})
[2023-07-12][04:31:35][ERROR][app]  bytes/buffer.go:202 +0x98
[2023-07-12][04:31:35][ERROR][app] crypto/tls.(*Conn).readFromUntil(0xc0005e4000, {0x138ae0128?, 0xc0005e0000}, 0xc0025c89f5?)
[2023-07-12][04:31:35][ERROR][app]  crypto/tls/conn.go:809 +0xe5
[2023-07-12][04:31:35][ERROR][app] crypto/tls.(*Conn).readRecordOrCCS(0xc0005e4000, 0x0)
[2023-07-12][04:31:35][ERROR][app]  crypto/tls/conn.go:616 +0x116
[2023-07-12][04:31:35][ERROR][app] crypto/tls.(*Conn).readRecord(...)
[2023-07-12][04:31:35][ERROR][app]  crypto/tls/conn.go:582
[2023-07-12][04:31:35][ERROR][app] crypto/tls.(*Conn).Read(0xc0005e4000, {0xc002565000, 0x1000, 0xc001a99cb0?})
[2023-07-12][04:31:35][ERROR][app]  crypto/tls/conn.go:1315 +0x16f
[2023-07-12][04:31:35][ERROR][app] bufio.(*Reader).Read(0xc0005dcfc0, {0xc00254e4a0, 0x9, 0x523?})
[2023-07-12][04:31:35][ERROR][app]  bufio/bufio.go:237 +0x1bb
[2023-07-12][04:31:35][ERROR][app] io.ReadAtLeast({0x10c6eaa80, 0xc0005dcfc0}, {0xc00254e4a0, 0x9, 0x9}, 0x9)
[2023-07-12][04:31:35][ERROR][app]  io/io.go:332 +0x9a
[2023-07-12][04:31:35][ERROR][app] io.ReadFull(...)
[2023-07-12][04:31:35][ERROR][app]  io/io.go:351
[2023-07-12][04:31:35][ERROR][app] net/http.http2readFrameHeader({0xc00254e4a0?, 0x9?, 0xc00246e1e0?}, {0x10c6eaa80?, 0xc0005dcfc0?})
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:1565 +0x6e
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2Framer).ReadFrame(0xc00254e460)
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:1829 +0x95
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2clientConnReadLoop).run(0xc001a99f98)
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:8874 +0x130
[2023-07-12][04:31:35][ERROR][app] net/http.(*http2ClientConn).readLoop(0xc0005e2180)
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:8770 +0x6f
[2023-07-12][04:31:35][ERROR][app] created by net/http.(*http2Transport).newClientConn
[2023-07-12][04:31:35][ERROR][app]  net/http/h2_bundle.go:7477 +0xaaa
[2023-07-12][04:31:35][ERROR][app] Cody app backend terminated with exit code 2
[2023-07-12][06:53:13][ERROR][app::common] No such file or directory (os error 2)
[2023-07-12][06:53:16][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64
[2023-07-12][06:55:30][ERROR][app] ✱ Sourcegraph App version: 2023.7.11+1384.7d20a90ce7 darwin amd64
[2023-07-12][07:00:30][ERROR][app] panic: (bug) frontend configuration server failed to start after 5m0s, this may indicate the DB is inaccessible
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 312 [running]:
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).checkDeadlock(0xc000770f58?)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/store.go:175 +0x2c8
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*store).WaitUntilInitialized(0xc000ad6ea0)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/store.go:137 +0x2f
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.(*client).Watch(0xc000fbf740, 0x10b113fd0)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/client.go:169 +0x11e
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/conf.Watch(0xc001b5d920?)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/conf/client.go:136 +0x28
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0.func2()
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:52 +0x25
[2023-07-12][07:00:30][ERROR][app] created by github.com/sourcegraph/sourcegraph/cmd/symbols/parser.init.0
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/cmd/symbols/parser/config.go:51 +0xb1
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 1 [sync.Cond.Wait]:
[2023-07-12][07:00:30][ERROR][app] sync.runtime_notifyListWait(0xc000813b48, 0xa83)
[2023-07-12][07:00:30][ERROR][app]  runtime/sema.go:517 +0x14c
[2023-07-12][07:00:30][ERROR][app] sync.(*Cond).Wait(0x1002e5186?)
[2023-07-12][07:00:30][ERROR][app]  sync/cond.go:70 +0x8c
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2pipe).Read(0xc000813b30, {0xc004869b90, 0x1d0470, 0x1d0470})
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:3668 +0xeb
[2023-07-12][07:00:30][ERROR][app] net/http.http2transportResponseBody.Read({0xc000813b00?}, {0xc004869b90?, 0x6c000?, 0x6c000?})
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:9157 +0x85
[2023-07-12][07:00:30][ERROR][app] io.ReadAll({0x138eab0c8, 0xc000813b00})
[2023-07-12][07:00:30][ERROR][app]  io/io.go:661 +0xfe
[2023-07-12][07:00:30][ERROR][app] io/ioutil.ReadAll(...)
[2023-07-12][07:00:30][ERROR][app]  io/ioutil/ioutil.go:27
[2023-07-12][07:00:30][ERROR][app] github.com/fergusstrange/embedded-postgres.defaultRemoteFetchStrategy.func1()
[2023-07-12][07:00:30][ERROR][app]  github.com/fergusstrange/embedded-postgres@v1.19.0/remote_fetch.go:48 +0x288
[2023-07-12][07:00:30][ERROR][app] github.com/fergusstrange/embedded-postgres.(*EmbeddedPostgres).Start(0xc00077e2d0)
[2023-07-12][07:00:30][ERROR][app]  github.com/fergusstrange/embedded-postgres@v1.19.0/embedded_postgres.go:100 +0x313
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.startEmbeddedPostgreSQL({0x10c759590, 0xc0006c0cc0}, {0xc000bac8c0, 0x48})
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:144 +0x795
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.initPostgreSQL({0x10c759590, 0xc0006c0cc0}, {0xc000bac8c0?, 0x12?})
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:39 +0x53
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.Init({0x10c759590, 0xc0006c0cc0})
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/singleprogram.go:106 +0xb46
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main.func3(0xc0002563c0?)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:91 +0xa7
[2023-07-12][07:00:30][ERROR][app] github.com/urfave/cli/v2.(*Command).Run(0xc0002563c0, 0xc0006c0900, {0xc0000740a0, 0x5, 0x5})
[2023-07-12][07:00:30][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/command.go:271 +0xa42
[2023-07-12][07:00:30][ERROR][app] github.com/urfave/cli/v2.(*App).RunContext(0xc0002e8000, {0x10c73bc98?, 0xc00007a078}, {0xc0000740a0, 0x5, 0x5})
[2023-07-12][07:00:30][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/app.go:333 +0x665
[2023-07-12][07:00:30][ERROR][app] github.com/urfave/cli/v2.(*App).Run(...)
[2023-07-12][07:00:30][ERROR][app]  github.com/urfave/cli/v2@v2.23.7/app.go:310
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/service/svcmain.Main({0x10f277980, 0xd, 0xd}, {0xf9?, 0x0?}, {0xc0000740a0?, 0x5, 0x5})
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/service/svcmain/svcmain.go:102 +0x6b6
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd.MainEnterprise(...)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/enterprisecmd/enterprisecmd.go:15
[2023-07-12][07:00:30][ERROR][app] main.main()
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/enterprise/cmd/sourcegraph/main.go:50 +0xd4
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 55 [select]:
[2023-07-12][07:00:30][ERROR][app] go.opencensus.io/stats/view.(*worker).start(0xc00014c080)
[2023-07-12][07:00:30][ERROR][app]  go.opencensus.io@v0.24.0/stats/view/worker.go:292 +0xad
[2023-07-12][07:00:30][ERROR][app] created by go.opencensus.io/stats/view.init.0
[2023-07-12][07:00:30][ERROR][app]  go.opencensus.io@v0.24.0/stats/view/worker.go:34 +0x8d
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 144 [select, 5 minutes]:
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/limiter.(*MutableLimiter).do(0xc001ce23c0, 0x20)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:94 +0x1bd
[2023-07-12][07:00:30][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/limiter.NewMutable
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/limiter/mutable.go:38 +0x105
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 254 [chan receive]:
[2023-07-12][07:00:30][ERROR][app] github.com/golang/glog.(*loggingT).flushDaemon(0xc00229ec00?)
[2023-07-12][07:00:30][ERROR][app]  github.com/golang/glog@v1.0.0/glog.go:882 +0x6a
[2023-07-12][07:00:30][ERROR][app] created by github.com/golang/glog.init.0
[2023-07-12][07:00:30][ERROR][app]  github.com/golang/glog@v1.0.0/glog.go:410 +0x1bf
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 322 [select]:
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).consume(0xc001cdfaa0)
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:59 +0xd7
[2023-07-12][07:00:30][ERROR][app] created by github.com/sourcegraph/log/internal/sinkcores/sentrycore.(*worker).start
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/log@v0.0.0-20230711093019-40c57b632cca/internal/sinkcores/sentrycore/worker.go:51 +0x56
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 323 [select, 5 minutes]:
[2023-07-12][07:00:30][ERROR][app] io.(*pipe).read(0xc000115c20, {0xc0021fa000, 0x1000, 0xc000083e01?})
[2023-07-12][07:00:30][ERROR][app]  io/pipe.go:57 +0xb1
[2023-07-12][07:00:30][ERROR][app] io.(*PipeReader).Read(0x7?, {0xc0021fa000?, 0xc000083e80?, 0xa?})
[2023-07-12][07:00:30][ERROR][app]  io/pipe.go:136 +0x25
[2023-07-12][07:00:30][ERROR][app] bufio.(*Scanner).Scan(0xc0000b9f50)
[2023-07-12][07:00:30][ERROR][app]  bufio/scan.go:214 +0x876
[2023-07-12][07:00:30][ERROR][app] github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter.func1()
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:186 +0xda
[2023-07-12][07:00:30][ERROR][app] created by github.com/sourcegraph/sourcegraph/internal/singleprogram.debugLogLinesWriter
[2023-07-12][07:00:30][ERROR][app]  github.com/sourcegraph/sourcegraph/internal/singleprogram/postgresql.go:184 +0x1c5
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 303 [select, 5 minutes]:
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2clientStream).writeRequest(0xc000813b00, 0xc0023c6000)
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:8095 +0x9c7
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2clientStream).doRequest(0xc0002f84e0?, 0xc000091400?)
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:7957 +0x1e
[2023-07-12][07:00:30][ERROR][app] created by net/http.(*http2ClientConn).RoundTrip
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:7886 +0x30a
[2023-07-12][07:00:30][ERROR][app] 
[2023-07-12][07:00:30][ERROR][app] goroutine 302 [IO wait]:
[2023-07-12][07:00:30][ERROR][app] internal/poll.runtime_pollWait(0x138a7e2b0, 0x72)
[2023-07-12][07:00:30][ERROR][app]  runtime/netpoll.go:305 +0x89
[2023-07-12][07:00:30][ERROR][app] internal/poll.(*pollDesc).wait(0xc0021dab00?, 0xc002472000?, 0x0)
[2023-07-12][07:00:30][ERROR][app]  internal/poll/fd_poll_runtime.go:84 +0x32
[2023-07-12][07:00:30][ERROR][app] internal/poll.(*pollDesc).waitRead(...)
[2023-07-12][07:00:30][ERROR][app]  internal/poll/fd_poll_runtime.go:89
[2023-07-12][07:00:30][ERROR][app] internal/poll.(*FD).Read(0xc0021dab00, {0xc002472000, 0xa000, 0xa000})
[2023-07-12][07:00:30][ERROR][app]  internal/poll/fd_unix.go:167 +0x25a
[2023-07-12][07:00:30][ERROR][app] net.(*netFD).Read(0xc0021dab00, {0xc002472000?, 0x10024c7a2?, 0xc0022c0780?})
[2023-07-12][07:00:30][ERROR][app]  net/fd_posix.go:55 +0x29
[2023-07-12][07:00:30][ERROR][app] net.(*conn).Read(0xc000770fd8, {0xc002472000?, 0xd?, 0xc0022c0780?})
[2023-07-12][07:00:30][ERROR][app]  net/net.go:183 +0x45
[2023-07-12][07:00:30][ERROR][app] crypto/tls.(*atLeastReader).Read(0xc001cb34a0, {0xc002472000?, 0x0?, 0x100114c8f?})
[2023-07-12][07:00:30][ERROR][app]  crypto/tls/conn.go:787 +0x3d
[2023-07-12][07:00:30][ERROR][app] bytes.(*Buffer).ReadFrom(0xc0022aacf8, {0x10c6ee0a0, 0xc001cb34a0})
[2023-07-12][07:00:30][ERROR][app]  bytes/buffer.go:202 +0x98
[2023-07-12][07:00:30][ERROR][app] crypto/tls.(*Conn).readFromUntil(0xc0022aaa80, {0x138a7e3a0?, 0xc000770fd8}, 0xc00247200d?)
[2023-07-12][07:00:30][ERROR][app]  crypto/tls/conn.go:809 +0xe5
[2023-07-12][07:00:30][ERROR][app] crypto/tls.(*Conn).readRecordOrCCS(0xc0022aaa80, 0x0)
[2023-07-12][07:00:30][ERROR][app]  crypto/tls/conn.go:616 +0x116
[2023-07-12][07:00:30][ERROR][app] crypto/tls.(*Conn).readRecord(...)
[2023-07-12][07:00:30][ERROR][app]  crypto/tls/conn.go:582
[2023-07-12][07:00:30][ERROR][app] crypto/tls.(*Conn).Read(0xc0022aaa80, {0xc0021fe000, 0x1000, 0xc0023d1cb0?})
[2023-07-12][07:00:30][ERROR][app]  crypto/tls/conn.go:1315 +0x16f
[2023-07-12][07:00:30][ERROR][app] bufio.(*Reader).Read(0xc001b5dce0, {0xc000077620, 0x9, 0xe7c?})
[2023-07-12][07:00:30][ERROR][app]  bufio/bufio.go:237 +0x1bb
[2023-07-12][07:00:30][ERROR][app] io.ReadAtLeast({0x10c6eaa80, 0xc001b5dce0}, {0xc000077620, 0x9, 0x9}, 0x9)
[2023-07-12][07:00:30][ERROR][app]  io/io.go:332 +0x9a
[2023-07-12][07:00:30][ERROR][app] io.ReadFull(...)
[2023-07-12][07:00:30][ERROR][app]  io/io.go:351
[2023-07-12][07:00:30][ERROR][app] net/http.http2readFrameHeader({0xc000077620?, 0x9?, 0xc000863b00?}, {0x10c6eaa80?, 0xc001b5dce0?})
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:1565 +0x6e
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2Framer).ReadFrame(0xc0000775e0)
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:1829 +0x95
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2clientConnReadLoop).run(0xc0023d1f98)
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:8874 +0x130
[2023-07-12][07:00:30][ERROR][app] net/http.(*http2ClientConn).readLoop(0xc000813980)
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:8770 +0x6f
[2023-07-12][07:00:30][ERROR][app] created by net/http.(*http2Transport).newClientConn
[2023-07-12][07:00:30][ERROR][app]  net/http/h2_bundle.go:7477 +0xaaa
[2023-07-12][07:00:30][ERROR][app] Cody app backend terminated with exit code 2

Originally posted by @hoveychen in https://github.com/sourcegraph/app/issues/22#issuecomment-1631960317

hoveychen commented 1 year ago

oops. duplicated with https://github.com/sourcegraph/app/issues/23