Giter Club home page Giter Club logo

cave's People

Contributors

marshyski avatar peterfraedrich avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

cave's Issues

run error.

1, run console:
chmod +x cave
./cave --mode=dev
-bash: ./cave: cannot execute binary file

2, debug in vscode

API server listening at: 127.0.0.1:31763
&{Mode:dev Cluster:{Port:2000 DiscoveryHost:10.0.0.134:2001 Host:10.0.0.134:2000 SyncPort:1999} KV:{Encryption:true DBPath:kv.db} API:{Enable:true Port:9000 Authentication:false EnableMetrics:true} UI:{Enable:true Port:80 Authentication:false} SSL:{Enable:false Certificate:ssl/bunker.crt Key:ssl/bunker.key} Perf:{EnableMetrics:true EnableHTTPLogs:true BufferSize:4096} Auth:{Provider:jwt} Plugin:{PluginPath:./plugins.d/ AllowUnsigned:true Blacklist:[] SocketPrefix:/tmp/}}
2020-12-23 23:14:21.098 CST [ DEBUG ] [ START ] Logger
Failed to continue - runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation]
Unable to propogate EXC_BAD_ACCESS signal to target process and panic (see go-delve/delve#852)
Last known immediate stacktrace (goroutine id 1):
/Users/kenny/Documents/tools/go/src/runtime/mbitmap.go:1173
runtime.heapBitsSetType
/Users/kenny/Documents/tools/go/src/runtime/malloc.go:1066
runtime.mallocgc
/Users/kenny/Documents/tools/go/src/runtime/malloc.go:1165
runtime.newobject
/Users/kenny/Documents/tools/go/src/os/stat_unix.go:30
os.statNolog
/Users/kenny/Documents/tools/go/src/os/stat.go:13
os.Stat
/Users/kenny/Documents/tools/go/src/os/exec/lp_unix.go:20
os/exec.findExecutable
/Users/kenny/Documents/tools/go/src/os/exec/lp_unix.go:53
os/exec.LookPath
/Users/kenny/Documents/tools/go/src/os/exec/exec.go:175
os/exec.Command
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/helper.go:16
github.com/denisbrodbeck/machineid.run
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/id_darwin.go:16
github.com/denisbrodbeck/machineid.machineID
/Users/kenny/Documents/tools/go/pkg/mod/github.com/denisbrodbeck/[email protected]/id.go:29
github.com/denisbrodbeck/machineid.ID
/Users/kenny/Documents/project/workspace-go/cave/crypto.go:101
main.(*Crypto).GenerateSystemAES
/Users/kenny/Documents/project/workspace-go/cave/crypto.go:57
main.newCrypto
/Users/kenny/Documents/project/workspace-go/cave/main.go:53
main.main
/Users/kenny/Documents/tools/go/src/runtime/proc.go:203
runtime.main
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:1373
runtime.goexit
Failed to continue - runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation]
Unable to propogate EXC_BAD_ACCESS signal to target process and panic (see go-delve/delve#852)
Last known immediate stacktrace (goroutine id 1):
?:-1

/Users/kenny/Documents/tools/go/src/runtime/sys_darwin_amd64.s:547
runtime.pthread_cond_wait_trampoline
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:685
runtime.asmcgocall
Failed to get list local variables - unable to find function context
Last known immediate stacktrace (goroutine id 1):
?:-1

/Users/kenny/Documents/tools/go/src/runtime/sys_darwin_amd64.s:547
runtime.pthread_cond_wait_trampoline
/Users/kenny/Documents/tools/go/src/runtime/asm_amd64.s:685
runtime.asmcgocall
Process exiting with code: 0

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.