Skip to content

Instantly share code, notes, and snippets.

@bpmct

bpmct/goroutines Secret

Created March 19, 2023 20:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bpmct/10a64bcc2df8363fa988fa85cf26f702 to your computer and use it in GitHub Desktop.
Save bpmct/10a64bcc2df8363fa988fa85cf26f702 to your computer and use it in GitHub Desktop.
Last login: Sun Mar 19 11:06:41 on ttys002
top
htop
➜ ~ top
➜ ~ delve
zsh: command not found: delve
➜ ~ git clone https://github.com/go-delve/delve
Cloning into 'delve'...
remote: Enumerating objects: 24317, done.
remote: Counting objects: 100% (220/220), done.
remote: Compressing objects: 100% (149/149), done.
remote: Total 24317 (delta 100), reused 143 (delta 66), pack-reused 24097
Receiving objects: 100% (24317/24317), 30.73 MiB | 14.30 MiB/s, done.
Resolving deltas: 100% (16559/16559), done.
➜ ~ cd delve
➜ delve git:(master) go install github.com/go-delve/delve/cmd/dlv
➜ delve git:(master) delve
zsh: command not found: delve
➜ delve git:(master) cd ~/go
➜ go ls
bin pkg
➜ go cd bin
➜ bin kls
zsh: command not found: kls
➜ bin ls
dlv timer
➜ bin dlv
zsh: command not found: dlv
➜ bin vim ~/.zshrc
➜ bin source ~/.zshrc
cl^R
➜ bin dlv
Delve is a source level debugger for Go programs.
Delve enables you to interact with your program by controlling the execution of the process,
evaluating variables, and providing information of thread / goroutine state, CPU register state and more.
The goal of this tool is to provide a simple yet powerful interface for debugging Go programs.
Pass flags to the program you are debugging using `--`, for example:
`dlv exec ./hello -- server --config conf/config.toml`
Usage:
dlv [command]
Available Commands:
attach Attach to running process and begin debugging.
connect Connect to a headless debug server with a terminal client.
core Examine a core dump.
dap Starts a headless TCP server communicating via Debug Adaptor Protocol (DAP).
debug Compile and begin debugging main package in current directory, or the package specified.
exec Execute a precompiled binary, and begin a debug session.
help Help about any command
run Deprecated command. Use 'debug' instead.
test Compile test binary and begin debugging program.
trace Compile and begin tracing program.
version Prints version.
Flags:
--accept-multiclient Allows a headless server to accept multiple client connections via JSON-RPC or DAP.
--allow-non-terminal-interactive Allows interactive sessions of Delve that don't have a terminal as stdin, stdout and stderr
--api-version int Selects JSON-RPC API version when headless. New clients should use v2. Can be reset via RPCServer.SetApiVersion. See Documentation/api/json-rpc/README.md. (default 1)
--backend string Backend selection (see 'dlv help backend'). (default "default")
--build-flags string Build flags, to be passed to the compiler. For example: --build-flags="-tags=integration -mod=vendor -cover -v"
--check-go-version Exits if the version of Go in use is not compatible (too old or too new) with the version of Delve. (default true)
--disable-aslr Disables address space randomization
--headless Run debug server only, in headless mode. Server will accept both JSON-RPC or DAP client connections.
-h, --help help for dlv
--init string Init file, executed by the terminal client.
-l, --listen string Debugging server listen address. (default "127.0.0.1:0")
--log Enable debugging server logging.
--log-dest string Writes logs to the specified file or file descriptor (see 'dlv help log').
--log-output string Comma separated list of components that should produce debug output (see 'dlv help log')
--only-same-user Only connections from the same user that started this instance of Delve are allowed to connect. (default true)
-r, --redirect stringArray Specifies redirect rules for target process (see 'dlv help redirect')
--wd string Working directory for running the program.
Additional help topics:
dlv backend Help about the --backend flag.
dlv log Help about logging flags.
dlv redirect Help about file redirection.
Use "dlv [command] --help" for more information about a command.
➜ bin clear
➜ bin
➜ bin dlv attach 61015
Type 'help' for list of commands.
(dlv) help
The following commands are available:
Running the program:
call ------------------------ Resumes process, injecting a function call (EXPERIMENTAL!!!)
continue (alias: c) --------- Run until breakpoint or program termination.
next (alias: n) ------------- Step over to next source line.
rebuild --------------------- Rebuild the target executable and restarts it. It does not work if the executable was not built by delve.
restart (alias: r) ---------- Restart process.
step (alias: s) ------------- Single step through program.
step-instruction (alias: si) Single step a single cpu instruction.
stepout (alias: so) --------- Step out of the current function.
Manipulating breakpoints:
break (alias: b) ------- Sets a breakpoint.
breakpoints (alias: bp) Print out info for active breakpoints.
clear ------------------ Deletes breakpoint.
clearall --------------- Deletes multiple breakpoints.
condition (alias: cond) Set breakpoint condition.
on --------------------- Executes a command when a breakpoint is hit.
toggle ----------------- Toggles on or off a breakpoint.
trace (alias: t) ------- Set tracepoint.
watch ------------------ Set watchpoint.
Viewing program variables and memory:
args ----------------- Print function arguments.
display -------------- Print value of an expression every time the program stops.
examinemem (alias: x) Examine raw memory at the given address.
locals --------------- Print local variables.
print (alias: p) ----- Evaluate an expression.
regs ----------------- Print contents of CPU registers.
set ------------------ Changes the value of a variable.
vars ----------------- Print package variables.
whatis --------------- Prints type of an expression.
Listing and switching between threads and goroutines:
goroutine (alias: gr) -- Shows or changes current goroutine
goroutines (alias: grs) List program goroutines.
thread (alias: tr) ----- Switch to the specified thread.
threads ---------------- Print out info for every traced thread.
Viewing the call stack and selecting frames:
deferred --------- Executes command in the context of a deferred call.
down ------------- Move the current frame down.
frame ------------ Set the current frame, or execute command on a different frame.
stack (alias: bt) Print stack trace.
up --------------- Move the current frame up.
Other commands:
config --------------------- Changes configuration parameters.
disassemble (alias: disass) Disassembler.
dump ----------------------- Creates a core dump from the current process state
edit (alias: ed) ----------- Open where you are in $DELVE_EDITOR or $EDITOR
exit (alias: quit | q) ----- Exit the debugger.
funcs ---------------------- Print list of functions.
help (alias: h) ------------ Prints the help message.
libraries ------------------ List loaded dynamic libraries
list (alias: ls | l) ------- Show source code.
source --------------------- Executes a file containing a list of delve commands
sources -------------------- Print list of source files.
transcript ----------------- Appends command output to a file.
types ---------------------- Print list of types
Type help followed by a command for full documentation.
(dlv) gr
Thread 3793045 at :0
(dlv) funcs
_rt0_amd64
_rt0_amd64_darwin
aeshashbody
archive/tar.(*Format).String
archive/tar.(*Format).mayBe
archive/tar.(*Format).mayOnlyBe
archive/tar.(*Format).mustNotBe
archive/tar.(*Header).FileInfo
archive/tar.(*Reader).Next
archive/tar.(*Reader).Read
archive/tar.(*Reader).handleRegularFile
archive/tar.(*Reader).handleSparseFile
archive/tar.(*Reader).next
archive/tar.(*Reader).readGNUSparsePAXHeaders
archive/tar.(*Reader).readHeader
archive/tar.(*Reader).readHeader.func1
archive/tar.(*Reader).readHeader.func2
archive/tar.(*Reader).readOldGNUSparseMap
archive/tar.(*Writer).Close
archive/tar.(*Writer).Flush
archive/tar.(*Writer).Write
archive/tar.(*Writer).WriteHeader
Sending output to pager...
(dlv) ^C
(dlv) exit
Would you like to kill the process? [Y/n] n
➜ bin dlv attach 61015
Type 'help' for list of commands.
(dlv) threads
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Sending output to pager...
(dlv) threads
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Thread 3793651 at :0
Thread 3793652 at :0
Thread 3796699 at :0
Thread 3797876 at 0x1045f2e /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/select.go:310 runtime.selectgo
Thread 3798078 at :0
Thread 3798079 at 0x10368df /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:410 runtime.acquireSudog
Thread 3798080 at :0
Thread 3798081 at :0
(dlv)
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Thread 3793651 at :0
Thread 3793652 at :0
Thread 3796699 at :0
Thread 3797876 at 0x1045f2e /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/select.go:310 runtime.selectgo
Thread 3798078 at :0
Thread 3798079 at 0x10368df /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:410 runtime.acquireSudog
Thread 3798080 at :0
Thread 3798081 at :0
(dlv)
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Thread 3793651 at :0
Thread 3793652 at :0
Thread 3796699 at :0
Thread 3797876 at 0x1045f2e /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/select.go:310 runtime.selectgo
Thread 3798078 at :0
Thread 3798079 at 0x10368df /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:410 runtime.acquireSudog
Thread 3798080 at :0
Thread 3798081 at :0
(dlv)
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Thread 3793651 at :0
Thread 3793652 at :0
Thread 3796699 at :0
Thread 3797876 at 0x1045f2e /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/select.go:310 runtime.selectgo
Thread 3798078 at :0
Thread 3798079 at 0x10368df /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:410 runtime.acquireSudog
Thread 3798080 at :0
Thread 3798081 at :0
(dlv)
Thread 3792956 at :0
Thread 3792960 at :0
* Thread 3792961 at 0x108d200 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 sort.SearchInts
Thread 3792962 at :0
Thread 3792963 at :0
Thread 3792994 at 0x1014830 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/mbitmap.go:947 runtime.heapBitsSetType
Thread 3793039 at 0x1093ed1 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/internal/poll/fd_mutex.go:186 internal/poll.(*fdMutex).rwunlock
Thread 3793044 at :0
Thread 3793045 at :0
Thread 3793046 at :0
Thread 3793047 at :0
Thread 3793048 at 0x105f0e8 /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/netpoll.go:284 internal/poll.runtime_pollReset
Thread 3793087 at :0
Thread 3793088 at 0x1109fed /Users/runner/hostedtoolcache/go/1.17.13/x64/src/bufio/bufio.go:105 bufio.(*Reader).fill
Thread 3793118 at :0
Thread 3793645 at :0
Thread 3793646 at 0x100c86b /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/malloc.go:858 runtime.mallocgc
Thread 3793647 at :0
Thread 3793648 at 0x10644be /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:772 runtime.asmcgocall
Thread 3793649 at :0
Thread 3793651 at :0
Thread 3793652 at :0
Thread 3796699 at :0
Thread 3797876 at 0x1045f2e /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/select.go:310 runtime.selectgo
Thread 3798078 at :0
Thread 3798079 at 0x10368df /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:410 runtime.acquireSudog
Thread 3798080 at :0
Thread 3798081 at :0
(dlv) goroutines
Goroutine 1 - User: /Users/runner/work/toit/toit/tools/toitlsp/cmd/toitlsp.go:135 github.com/toitware/toit.git/toitlsp/cmd.runToitLSP (0x12eaaac) [select 210644373797472]
Goroutine 2 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [force gc (idle) 210644373797472]
Goroutine 3 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [finalizer wait]
Goroutine 4 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 5 - User: /Users/runner/work/toit/toit/tools/toitlsp/lsp/conn.go:89 github.com/toitware/toit.git/toitlsp/lsp.(*connManager).NewConn.func1 (0x12b72d1) [chan receive 210644373797472]
Goroutine 17 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC sweep wait]
Goroutine 18 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [sleep]
Goroutine 19 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 20 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210719517825185]
Goroutine 21 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 22 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210721581326998]
Goroutine 23 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 24 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210719517825185]
Goroutine 25 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 34 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 35 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210716216795779]
Goroutine 50 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210720364847302]
Goroutine 51 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 52 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210868188815867]
Goroutine 2358 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2360 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2366 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2368 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2388 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2390 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2396 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2398 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2399 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2494 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2495 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:94 io.(*pipe).Write (0x1091d9a) [select]
Goroutine 2496 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2524 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait]
Goroutine 2525 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2526 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2527 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 210868188815867]
Goroutine 2528 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 210868188815867]
Goroutine 2542 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire]
Goroutine 2544 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2553 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2555 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2556 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:94 io.(*pipe).Write (0x1091d9a) [select]
Goroutine 2557 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Sending output to pager...
(dlv) list
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Command failed: open /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go: no such file or directory
(dlv) goroutines
Goroutine 1 - User: /Users/runner/work/toit/toit/tools/toitlsp/cmd/toitlsp.go:135 github.com/toitware/toit.git/toitlsp/cmd.runToitLSP (0x12eaaac) [select 210644373797472]
Goroutine 2 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [force gc (idle) 210644373797472]
Goroutine 3 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [finalizer wait]
Goroutine 4 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 5 - User: /Users/runner/work/toit/toit/tools/toitlsp/lsp/conn.go:89 github.com/toitware/toit.git/toitlsp/lsp.(*connManager).NewConn.func1 (0x12b72d1) [chan receive 210644373797472]
Goroutine 17 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC sweep wait]
Goroutine 18 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [sleep]
Goroutine 19 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 20 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210719517825185]
Goroutine 21 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 22 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210721581326998]
Goroutine 23 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 24 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210719517825185]
Goroutine 25 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 34 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 35 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210716216795779]
Goroutine 50 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210720364847302]
Goroutine 51 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 52 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210868188815867]
Goroutine 2358 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2360 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2366 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2368 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2388 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2390 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2396 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2398 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2399 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2494 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2495 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:94 io.(*pipe).Write (0x1091d9a) [select]
Goroutine 2496 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2524 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait]
Goroutine 2525 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2526 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2527 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 210868188815867]
Goroutine 2528 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 210868188815867]
Goroutine 2542 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire]
Goroutine 2544 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 2553 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 210868188815867]
Goroutine 2555 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Goroutine 2556 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:94 io.(*pipe).Write (0x1091d9a) [select]
Goroutine 2557 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 210868188815867]
Sending output to pager...
(dlv) goroutine 2636
Switched from 2636 to 2636 (thread 3792961)
(dlv) bt
0 0x000000000108d200 in sort.SearchInts
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83
1 0x00000000012a6119 in github.com/toitware/toit.git/toitlsp/lsp/toit.FindLastGreaterThanIdx
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/summary.go:544
2 0x00000000012aaa0d in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).topLevelReferenceFromGlobalID
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:776
3 0x00000000012a91b3 in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).readType
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:430
4 0x00000000012a8b6a in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).readMethod
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:359
5 0x00000000012a8325 in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).readFunctions
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:257
6 0x00000000012a785b in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).readModule
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:121
7 0x00000000012a7545 in github.com/toitware/toit.git/toitlsp/lsp/toit/text.(*summaryReader).Read
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:82
8 0x00000000012a728c in github.com/toitware/toit.git/toitlsp/lsp/toit/text.ParseSummary
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:49
9 0x00000000012b3ca7 in github.com/toitware/toit.git/toitlsp/lsp/compiler.(*parser).AnalyzeOutput
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/compiler/parser.go:69
10 0x00000000012ac1da in github.com/toitware/toit.git/toitlsp/lsp/compiler.(*Compiler).Analyze.func1
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/compiler/compiler.go:136
11 0x00000000012ae903 in github.com/toitware/toit.git/toitlsp/lsp/compiler.(*Compiler).run.func1
at /Users/runner/work/toit/toit/tools/toitlsp/lsp/compiler/compiler.go:336
12 0x0000000001064661 in runtime.goexit
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:1581
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 1: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/summary.go:544 (PC: 12a6119)
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 2: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:776 (PC: 12aaa0d)
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 3: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:430 (PC: 12a91b3)
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 4: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:359 (PC: 12a8b6a)
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 5: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:257 (PC: 12a8325)
(dlv) up
> sort.SearchInts() /Users/runner/hostedtoolcache/go/1.17.13/x64/src/sort/search.go:83 (PC: 0x108d200)
Warning: debugging optimized function
Frame 6: /Users/runner/work/toit/toit/tools/toitlsp/lsp/toit/text/parser.go:121 (PC: 12a785b)
(dlv) continue
received SIGINT, stopping process (will not forward signal)
Stopped at: 0x7ff80872911a
=> 1: no source available
(dlv) bt
0 0x00007ff80872911a in ???
at ?:-1
1 0x0000000001066490 in runtime.pthread_cond_wait_trampoline
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin_amd64.s:535
2 0x00000000010644ed in runtime.asmcgocall
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:795
3 0x0000000000000000 in ???
at ?:-1
4 0x0000000001052c34 in runtime.pthread_cond_wait
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:444
5 0x000000000102fdad in runtime.semasleep
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/os_darwin.go:66
6 0x000000000100b2e5 in runtime.notesleep
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/lock_sema.go:182
7 0x000000000103904a in runtime.mPark
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:1441
8 0x000000000103a558 in runtime.stopm
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:2408
9 0x000000000103e6d6 in runtime.exitsyscall0
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:4115
10 0x0000000001062543 in runtime.mcall
at /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/asm_amd64.s:307
(dlv) list
Stopped at: 0x7ff80872911a
=> 1: no source available
(dlv) list
Stopped at: 0x7ff80872911a
=> 1: no source available
(dlv) goroutines
Goroutine 1 - User: /Users/runner/work/toit/toit/tools/toitlsp/cmd/toitlsp.go:135 github.com/toitware/toit.git/toitlsp/cmd.runToitLSP (0x12eaaac) [select 210644373797472]
Goroutine 2 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [force gc (idle) 210869635395009]
Goroutine 3 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [finalizer wait 211606002315462]
Goroutine 4 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 5 - User: /Users/runner/work/toit/toit/tools/toitlsp/lsp/conn.go:89 github.com/toitware/toit.git/toitlsp/lsp.(*connManager).NewConn.func1 (0x12b72d1) [chan receive 210644373797472]
Goroutine 17 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:322 runtime.bgsweep (0x1021f5d)
Goroutine 18 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716)
Goroutine 19 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 20 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 21 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 22 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 23 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 24 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 25 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 34 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 35 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 211549951965136]
Goroutine 50 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 51 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 52 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 8383 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8432 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211599788529173]
Goroutine 8515 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211599788529173]
Goroutine 8517 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211602404689198]
Goroutine 8521 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8522 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8523 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 8524 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8525 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8526 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8527 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211606002315462]
Goroutine 8528 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8541 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8543 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8567 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8568 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8569 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8570 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8571 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8572 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8573 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211606002315462]
Goroutine 8575 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8586 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211602404689198]
Sending output to pager...
(dlv) list
Stopped at: 0x7ff80872911a
=> 1: no source available
(dlv) goroutines
Goroutine 1 - User: /Users/runner/work/toit/toit/tools/toitlsp/cmd/toitlsp.go:135 github.com/toitware/toit.git/toitlsp/cmd.runToitLSP (0x12eaaac) [select 210644373797472]
Goroutine 2 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [force gc (idle) 210869635395009]
Goroutine 3 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [finalizer wait 211606002315462]
Goroutine 4 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 5 - User: /Users/runner/work/toit/toit/tools/toitlsp/lsp/conn.go:89 github.com/toitware/toit.git/toitlsp/lsp.(*connManager).NewConn.func1 (0x12b72d1) [chan receive 210644373797472]
Goroutine 17 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:322 runtime.bgsweep (0x1021f5d)
Goroutine 18 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716)
Goroutine 19 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 20 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 21 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 22 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 23 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 24 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 25 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 34 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 35 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 211549951965136]
Goroutine 50 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 51 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle) 210712174137600]
Goroutine 52 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/proc.go:367 runtime.gopark (0x1036716) [GC worker (idle)]
Goroutine 8383 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8432 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211599788529173]
Goroutine 8515 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211599788529173]
Goroutine 8517 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211602404689198]
Goroutine 8521 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8522 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8523 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 8524 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8525 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8526 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8527 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211606002315462]
Goroutine 8528 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8541 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8543 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8567 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8568 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8569 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8570 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8571 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8572 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8573 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211606002315462]
Goroutine 8575 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8586 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211602404689198]
Sending output to pager...
Goroutine 8655 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:23 syscall.syscall (0x1061119) [chan receive]
Goroutine 8656 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8669 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8671 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8672 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8679 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/encoding/binary/binary.go:165 encoding/binary.Read (0x10decfd) [semacquire]
Goroutine 8680 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8681 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8682 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8683 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8684 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8685 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8686 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211605117613338]
Goroutine 8687 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211605117613338]
Goroutine 8688 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211606002315462]
Goroutine 8698 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:24 syscall.syscall (0x106112b)
Goroutine 8699 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8700 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8701 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/io.go:455 io.CopyN (0x1090805) [semacquire]
Goroutine 8702 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8703 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211602404689198]
Goroutine 8704 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211605117613338]
Goroutine 8705 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8707 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8708 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8710 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8711 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sema.go:56 sync.runtime_Semacquire (0x10608a5) [semacquire 211602404689198]
Goroutine 8713 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8720 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/io.go:322 io.ReadAtLeast (0x109079c)
Goroutine 8721 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8722 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8723 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait]
Goroutine 8724 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211606002315462]
Goroutine 8725 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8726 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/runtime/sys_darwin.go:24 syscall.syscall (0x106112b)
Goroutine 8727 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8728 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select]
Goroutine 8729 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211602404689198]
Goroutine 8730 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/exec/exec.go:452 os/exec.(*Cmd).Start.func2 (0x128ea9b) [select 211602404689198]
Goroutine 8732 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/io/pipe.go:57 io.(*pipe).Read (0x10918f7) [select 211605117613338]
Goroutine 8733 - User: /Users/runner/hostedtoolcache/go/1.17.13/x64/src/os/file_posix.go:32 os.(*File).Read (0x109c9fe) [IO wait 211606002315462]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment