Skip to content

Instantly share code, notes, and snippets.

@eraserhd
Created March 10, 2020 13:18
Show Gist options
  • Select an option

  • Save eraserhd/caaa94b8ccb6b1eb833dd37cee5a23e9 to your computer and use it in GitHub Desktop.

Select an option

Save eraserhd/caaa94b8ccb6b1eb833dd37cee5a23e9 to your computer and use it in GitHub Desktop.
(0x902a80,0xddf800)
goroutine 1 [running]:
github.com/elves/elvish/pkg/sys.DumpStack(0x902a80, 0xddf800)
/build/go/src/github.com/elves/elvish/pkg/sys/dumpstack.go:10 +0x9d
github.com/elves/elvish/pkg/program/shell.rescue()
/build/go/src/github.com/elves/elvish/pkg/program/shell/shell.go:66 +0xa4
panic(0x902a80, 0xddf800)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/runtime/panic.go:967 +0x15d
github.com/elves/elvish/pkg/eval.catch(0xc0001876b0, 0xc0003a1aa0)
/build/go/src/github.com/elves/elvish/pkg/eval/frame.go:216 +0x295
panic(0x902a80, 0xddf800)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/runtime/panic.go:967 +0x15d
github.com/elves/elvish/pkg/cli/histutil.(*Fuser).Walker(0x0, 0x0, 0x0, 0x0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/cli/histutil/fuser.go:96 +0x4f
github.com/elves/elvish/pkg/edit.histWalkStart(0xa6bd60, 0xc000148000, 0x0, 0xa5cb20, 0xc0001107e0)
/build/go/src/github.com/elves/elvish/pkg/edit/histwalk.go:42 +0xb4
github.com/elves/elvish/pkg/edit.initHistWalk.func1()
/build/go/src/github.com/elves/elvish/pkg/edit/histwalk.go:22 +0x4e
reflect.Value.call(0x8cc6a0, 0xc000110840, 0x13, 0x9976fe, 0x4, 0x0, 0x0, 0x0, 0xc0001873a0, 0x53c9e5, ...)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/reflect/value.go:460 +0x8ab
reflect.Value.Call(0x8cc6a0, 0xc000110840, 0x13, 0x0, 0x0, 0x0, 0x8, 0x3, 0x4dbf6c)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/reflect/value.go:321 +0xb4
github.com/elves/elvish/pkg/eval.(*GoFn).Call(0xc0001377a0, 0xc0003a1aa0, 0x0, 0x0, 0x0, 0xc0001b62a0, 0xc0003a1aa0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/eval/go_fn.go:227 +0x638
github.com/elves/elvish/pkg/eval.(*Frame).Call(0xc0003a1aa0, 0xa5bca0, 0xc0001377a0, 0x0, 0x0, 0x0, 0xc0001b62a0, 0x0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/eval/frame.go:163 +0xd9
github.com/elves/elvish/pkg/edit.callWithNotifyPorts(0xa5cb00, 0xc000114090, 0xc0000560c0, 0xa5bca0, 0xc0001377a0, 0x0, 0x0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/edit/key_binding.go:70 +0x208
github.com/elves/elvish/pkg/edit.mapBinding.Handle(0xa5cb00, 0xc000114090, 0xc0000560c0, 0xc0001240c0, 0x1, 0x1, 0xa5ca80, 0xc00051a0f8, 0x40c13b)
/build/go/src/github.com/elves/elvish/pkg/edit/key_binding.go:40 +0x1c8
github.com/elves/elvish/pkg/cli.(*codeArea).handleKeyEvent(0xc00014a000, 0xfffffc25, 0x9c6100)
/build/go/src/github.com/elves/elvish/pkg/cli/codearea.go:210 +0x113
github.com/elves/elvish/pkg/cli.(*codeArea).Handle(0xc00014a000, 0xa5ca80, 0xc00051a0f0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/cli/codearea.go:160 +0xbe
github.com/elves/elvish/pkg/cli.(*app).handle(0xc000148000, 0x93a020, 0xc00051a0f0)
/build/go/src/github.com/elves/elvish/pkg/cli/app.go:166 +0x269
github.com/elves/elvish/pkg/cli.(*loop).Run(0xc000118240, 0xc000132001, 0xc0001322a0, 0xc000148000, 0xc0004a8020)
/build/go/src/github.com/elves/elvish/pkg/cli/loop.go:129 +0x230
github.com/elves/elvish/pkg/cli.(*app).ReadCode(0xc000148000, 0x0, 0x0, 0x0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/cli/app.go:331 +0x3e0
github.com/elves/elvish/pkg/edit.(*Editor).ReadCode(0xc0002088a0, 0xc000208820, 0xa5bc80, 0xc000208820, 0x0)
/build/go/src/github.com/elves/elvish/pkg/edit/editor.go:97 +0x33
github.com/elves/elvish/pkg/program/shell.interact(0xc000010010, 0xc000010018, 0xc000010020, 0xc0000560c0, 0xc000029760, 0x15, 0xc000056000)
/build/go/src/github.com/elves/elvish/pkg/program/shell/interact.go:48 +0x293
github.com/elves/elvish/pkg/program/shell.(*Shell).Main(0xc0001e2140, 0xc000010010, 0xc000010018, 0xc000010020, 0xc0000201b0, 0x0, 0x0, 0x0)
/build/go/src/github.com/elves/elvish/pkg/program/shell/shell.go:54 +0x31e
github.com/elves/elvish/pkg/program.Main(0xc0000201b0, 0x1, 0x1, 0x0)
/build/go/src/github.com/elves/elvish/pkg/program/program.go:119 +0x1ed
main.main()
/build/go/src/github.com/elves/elvish/main.go:14 +0x45
goroutine 7 [chan receive, 49 minutes]:
github.com/elves/elvish/pkg/eval.init.13.func1()
/build/go/src/github.com/elves/elvish/pkg/eval/port.go:49 +0x53
created by github.com/elves/elvish/pkg/eval.init.13
/build/go/src/github.com/elves/elvish/pkg/eval/port.go:48 +0x49
goroutine 18 [syscall]:
os/signal.signal_recv(0xa62a80)
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/runtime/sigqueue.go:147 +0x9c
os/signal.loop()
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/os/signal/signal_unix.go:23 +0x22
created by os/signal.Notify.func1
/nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-go-1.14/share/go/src/os/signal/signal.go:127 +0x44
goroutine 20 [chan receive]:
github.com/elves/elvish/pkg/program/shell.handleSignals.func1(0xc000224000, 0xc000010020)
/build/go/src/github.com/elves/elvish/pkg/program/shell/shell.go:76 +0xc2
created by github.com/elves/elvish/pkg/program/shell.handleSignals
/build/go/src/github.com/elves/elvish/pkg/program/shell/shell.go:75 +0x8a
goroutine 34 [chan receive]:
github.com/elves/elvish/pkg/cli/prompt.(*Prompt).loop(0xc0001361c0)
/build/go/src/github.com/elves/elvish/pkg/cli/prompt/prompt.go:77 +0xc8
created by github.com/elves/elvish/pkg/cli/prompt.New
/build/go/src/github.com/elves/elvish/pkg/cli/prompt/prompt.go:70 +0x15f
goroutine 35 [chan receive]:
github.com/elves/elvish/pkg/cli/prompt.(*Prompt).loop(0xc0001362a0)
/build/go/src/github.com/elves/elvish/pkg/cli/prompt/prompt.go:77 +0xc8
created by github.com/elves/elvish/pkg/cli/prompt.New
/build/go/src/github.com/elves/elvish/pkg/cli/prompt/prompt.go:70 +0x15f
execing recovery shell /bin/sh
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x28 pc=0x805f41]
goroutine 36 [running]:
github.com/elves/elvish/pkg/daemon.Serve.func1(0xc00020e000, 0xc00020e060, 0x7ffdfb89ef5f, 0x1f, 0x0, 0x0, 0xa65aa0, 0xc000110990)
/build/go/src/github.com/elves/elvish/pkg/daemon/serve.go:47 +0x171
created by github.com/elves/elvish/pkg/daemon.Serve
/build/go/src/github.com/elves/elvish/pkg/daemon/serve.go:36 +0x3f7
s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment