Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash #26

Closed
goen opened this issue Nov 25, 2014 · 4 comments
Closed

crash #26

goen opened this issue Nov 25, 2014 · 4 comments

Comments

@goen
Copy link

goen commented Nov 25, 2014

dlv>
panic: Could not parse SLEB128 value

goroutine 16 [running]:
runtime.panic(0x50ca20, 0xc208120730)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/derekparker/delve/dwarf/util.DecodeSLEB128(0xc20802b2d0, 0xfffffffffffffffe, 0xc200000001)
?:0 +0xef
github.com/derekparker/delve/dwarf/frame.defcfaoffsetsf(0xc20804c980)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/table.go:359 +0x2b
github.com/derekparker/delve/dwarf/frame.executeDwarfInstruction(0xc20804c980)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/table.go:181 +0xca
github.com/derekparker/delve/dwarf/frame.(_FrameContext).ExecuteDwarfProgram(0xc20804c980)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/table.go:148 +0x3c
github.com/derekparker/delve/dwarf/frame.executeCIEInstructions(0xc208018550, 0x7f14f9fe5730)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/table.go:132 +0x154
github.com/derekparker/delve/dwarf/frame.executeDwarfProgramUntilPC(0xc20803b200, 0x400c59, 0x7f14f9e56bb8)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/table.go:138 +0x2b
github.com/derekparker/delve/dwarf/frame.(_FrameDescriptionEntry).EstablishFrame(0xc20803b200, 0x400c59, 0xc208094a1c)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/entries.go:48 +0x31
github.com/derekparker/delve/dwarf/frame.(_FrameDescriptionEntry).ReturnAddressOffset(0xc20803b200, 0x400c59, 0xc20803b200)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/dwarf/frame/entries.go:52 +0x31
github.com/derekparker/delve/proctl.(_ThreadContext).Next(0xc20800e5a0, 0x0, 0x0)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/proctl/threads_linux_amd64.go:232 +0x1d6
github.com/derekparker/delve/proctl.(*DebuggedProcess).Next(0xc208004420, 0x0, 0x0)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/proctl/proctl_linux_amd64.go:254 +0x9e
github.com/derekparker/delve/command.next(0xc208004420, 0xc208120730, 0x0, 0x0, 0x0, 0x0)
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/command/command.go:118 +0x39
main.main()
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/cmd/dlv/main.go:118 +0x915

goroutine 19 [finalizer wait]:
runtime.park(0x415cd0, 0x85a958, 0x84fb49)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0x85a958, 0x84fb49)
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1445

goroutine 20 [syscall]:
os/signal.loop()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/os/signal/signal_unix.go:27 +0x32

goroutine 21 [chan receive]:
github.com/derekparker/delve/goreadline.func·001()
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/goreadline/goreadline.go:25 +0x58
created by github.com/derekparker/delve/goreadline.init·1
/home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/goreadline/goreadline.go:33 +0x11a

goroutine 17 [syscall]:
runtime.goexit()
/home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/proc.c:1445

@derekparker
Copy link
Member

Did this happen after a particular command? Could you provide some more context around this?

@goen
Copy link
Author

goen commented Nov 26, 2014

well the version of delve is e7c8bdc.
this happen immediatly after running a normal program by -run (built by go compiler 1.3.3)
sadly i don't have that program now here

@derekparker
Copy link
Member

Was this just a normal Go program, or did it include cgo stuff? There is some Dwarf parsing that happens during Delve startup, which is where the SLEB parsing would be happening.

@derekparker
Copy link
Member

No updated information on this, going to close it out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants