Giter Site home page Giter Site logo

it crashed - how to compile about delve HOT 3 CLOSED

go-delve avatar go-delve commented on August 22, 2024
it crashed - how to compile

from delve.

Comments (3)

goen avatar goen commented on August 22, 2024

oh my it crashed

m@MY_PC:~/Desktop/GOLANG/gopath/src/example.com/repo.git/gosiproxd/auth$ $GOPATH/bin/dlv -run
Type 'help' for list of commands.
dlv> run
Command failed: command not available
dlv> r
Command failed: command not available
dlv> help
The following commands are available:
    break - Set break point at the entry point of a function, or at a specific file/line. Example: break foo.go:13.
    continue - Run until breakpoint or program termination.
    step - Single step through program.
    next - Step over to next source line.
    threads - Print out info for every traced thread.
    goroutines - Print out info for every goroutine.
    print $var - Evaluate a variable.
    exit - Exit the debugger.
dlv> break main
Breakpoint set at 0x421770 for main /home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/rt0_linux_amd64.s:14
dlv> r
Command failed: command not available
dlv> continue
new thread spawned 4142
Command failed: process 4141 has exited
dlv> run
Command failed: command not available
dlv> goroutines
Command failed: no such process
dlv> break
panic: runtime error: index out of range

goroutine 16 [running]:
runtime.panic(0x550b20, 0x84c39c)
    /home/m/Desktop/GOLANG/go1_3_3/go/src/pkg/runtime/panic.c:279 +0xf5
github.com/derekparker/delve/command.breakpoint(0xc2080043c0, 0xc20810f480, 0x0, 0x0, 0x0, 0x0)
    /home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/command/command.go:173 +0x528
main.main()
    /home/m/Desktop/GOLANG/gopath/src/github.com/derekparker/delve/cmd/dlv/main.go:116 +0x9c0

goroutine 19 [finalizer wait]:
runtime.park(0x415a70, 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

from delve.

derekparker avatar derekparker commented on August 22, 2024

Yeah, this is a legitimate bug, will push a fix up soon. Thanks for providing that stacktrace.

from delve.

derekparker avatar derekparker commented on August 22, 2024

Fixed on master.

from delve.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.