Skip to content

Instantly share code, notes, and snippets.

@kobigurk
Created June 18, 2015 12:40
Show Gist options
  • Save kobigurk/be4f11d87ad98f81e286 to your computer and use it in GitHub Desktop.
Save kobigurk/be4f11d87ad98f81e286 to your computer and use it in GitHub Desktop.
gpubench
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x739ca9]
goroutine 11 [running]:
github.com/Gustav-Simonsson/go-opencl/cl.(*CommandQueue).EnqueueWriteBuffer(0x0, 0x0, 0x0, 0x0, 0x20, 0xc2080d7c28, 0x0, 0x0, 0x0, 0x0, ...)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/Gustav-Simonsson/go-opencl/cl/queue.go:99 +0x99
github.com/ethereum/ethash.(*OpenCL).Search(0xc20817e3c0, 0x7fbdc3283d38, 0xc20817e480, 0xc208068720, 0x1, 0x0, 0x0, 0x0)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/ethereum/ethash/ethash_opencl.go:397 +0x25a
created by github.com/ethereum/go-ethereum/miner.GPUBench
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/miner.go:164 +0x458
goroutine 1 [sleep]:
github.com/ethereum/go-ethereum/miner.GPUBench(0x0)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/miner.go:165 +0x46d
main.gpubench(0xc208076700)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:560 +0xe6
github.com/codegangsta/cli.Command.Run(0xd7fe50, 0x8, 0x0, 0x0, 0x0, 0x0, 0x0, 0xd750d0, 0xd, 0xe4acb0, ...)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/command.go:118 +0x104b
github.com/codegangsta/cli.(*App).Run(0xc2080a8000, 0xc20800a000, 0x4, 0x4, 0x0, 0x0)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/Godeps/_workspace/src/github.com/codegangsta/cli/app.go:177 +0xdf6
main.main()
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/cmd/geth/main.go:289 +0x80
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/lib/go/src/runtime/asm_amd64.s:2232 +0x1
goroutine 5 [chan receive]:
github.com/ethereum/go-ethereum/logger/glog.(*loggingT).flushDaemon(0x157e260)
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:897 +0x78
created by github.com/ethereum/go-ethereum/logger/glog.init·1
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/glog/glog.go:428 +0x77
goroutine 7 [select]:
github.com/ethereum/go-ethereum/logger.dispatchLoop()
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:65 +0x6d1
created by github.com/ethereum/go-ethereum/logger.init·1
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/logger/sys.go:44 +0x25
goroutine 9 [syscall]:
os/signal.loop()
/usr/lib/go/src/os/signal/signal_unix.go:21 +0x1f
created by os/signal.init·1
/usr/lib/go/src/os/signal/signal_unix.go:27 +0x35
goroutine 10 [sleep]:
github.com/ethereum/go-ethereum/miner.func·001()
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/miner.go:158 +0x39
created by github.com/ethereum/go-ethereum/miner.GPUBench
/home/kobigurk/ethereum/go-ethereum/build/_workspace/src/github.com/ethereum/go-ethereum/miner/miner.go:163 +0x3e7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment