1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
| API server listening at: [::]:2345 2024-11-18T12:57:43+08:00 warning layer=rpc Listening for remote connections (connections are not authenticated nor encrypted) 2024-11-18T12:57:43+08:00 info layer=debugger attaching to pid 5600 2024-11-18T12:57:43+08:00 error layer=debugger can't find build-id note on binary 2024-11-18T12:57:44+08:00 error layer=debugger could not patch runtime.mallogc: no type entry found, use 'types' for a list of valid types panic: <nil> not an Int
goroutine 1 [running]: go/constant.Int64Val({0x0, 0x0}) go/constant/value.go:502 +0x119 github.com/go-delve/delve/pkg/proc.(*Variable).parseG.func2({0xa580c0, 0xc000a41e48}) github.com/go-delve/delve/pkg/proc/variables.go:879 +0x49 github.com/go-delve/delve/pkg/proc.(*Variable).parseG(0xb3a588) github.com/go-delve/delve/pkg/proc/variables.go:901 +0x5b5 github.com/go-delve/delve/pkg/proc.GetG({0xb3a588, 0xc00035c460}) github.com/go-delve/delve/pkg/proc/variables.go:258 +0xae github.com/go-delve/delve/pkg/proc.NewTarget({0xb3e4e0, 0xc0001b4480}, 0x15e0, {0xb3a588, 0xc00035c460}, {{0xc000288050, 0xe}, {0xc0001d5110, 0x1, 0x1}, ...}) github.com/go-delve/delve/pkg/proc/target.go:210 +0x2cf github.com/go-delve/delve/pkg/proc/native.(*nativeProcess).initialize(0xc0001b4480, {0xc000288050, 0xe}, {0xc0001d5110, 0x1, 0x1}) github.com/go-delve/delve/pkg/proc/native/proc.go:268 +0x145 github.com/go-delve/delve/pkg/proc/native.Attach(0x5a3725, {0xc0001d5110, 0x1, 0x1}) github.com/go-delve/delve/pkg/proc/native/proc_linux.go:157 +0x18f github.com/go-delve/delve/service/debugger.(*Debugger).Attach(0xc00035c230, 0xc000000004, {0x0, 0x5}) github.com/go-delve/delve/service/debugger/debugger.go:349 +0xd6 github.com/go-delve/delve/service/debugger.New(0xc0001ce1c0, {0xc00014c970, 0x0, 0x4}) github.com/go-delve/delve/service/debugger/debugger.go:160 +0x5c5 github.com/go-delve/delve/service/rpccommon.(*ServerImpl).Run(0xc000125260) github.com/go-delve/delve/service/rpccommon/server.go:122 +0xd6 github.com/go-delve/delve/cmd/dlv/cmds.execute(0x15e0, {0xc00014c970, 0x0, 0x4}, 0xc0001d8ea0, {0x0, 0x0}, 0x3, {0xc00014c960, 0x1, ...}, ...) github.com/go-delve/delve/cmd/dlv/cmds/commands.go:971 +0xc7f github.com/go-delve/delve/cmd/dlv/cmds.attachCmd(0xc0001eaf00, {0xc00014c960, 0x1, 0x5}) github.com/go-delve/delve/cmd/dlv/cmds/commands.go:771 +0x145 github.com/spf13/cobra.(*Command).execute(0xc0001eaf00, {0xc00014c910, 0x5, 0x5}) github.com/spf13/cobra/command.go:860 +0x5f8 github.com/spf13/cobra.(*Command).ExecuteC(0xc0001eac80) github.com/spf13/cobra/command.go:974 +0x3bc github.com/spf13/cobra.(*Command).Execute(...) github.com/spf13/cobra/command.go:902 main.main() github.com/go-delve/delve/cmd/dlv/main.go:24 +0x18a
|