FiloSottile / FiloSottile/blockchainr

analyzr

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
63
Forks
26
PR merge metrics
No merged PRs in 30d

Description

got 2 files after running blockchainr
blockchainr_bloom.bin blockchainr.json

however have trouble running analyzr:

root@k:~/blockchainr/bin# ./analyzr
blkH blkSha blkTime txIndex txSha txInIndex prevBlkH prevBlkSha prevBlkTime r addr wif
2014/10/18 10:08:49 Skipping at fetch: failed FetchBlockShaByHeight(296715): leveldb: not found

panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x402b9f]

goroutine 16 [running]:
runtime.panic(0x7b6e40, 0xb1a513)
/root/go/src/pkg/runtime/panic.c:279 +0xf5
main.printLine(0xc20809d420)
/root/blockchainr/src/analyzr/main.go:115 +0x76f
main.main()
/root/blockchainr/src/analyzr/main.go:180 +0x9f7

goroutine 19 [finalizer wait]:
runtime.park(0x417b10, 0xb1f060, 0xb1d289)
/root/go/src/pkg/runtime/proc.c:1369 +0x89
runtime.parkunlock(0xb1f060, 0xb1d289)
/root/go/src/pkg/runtime/proc.c:1385 +0x3b
runfinq()
/root/go/src/pkg/runtime/mgc0.c:2644 +0xcf
runtime.goexit()
/root/go/src/pkg/runtime/proc.c:1445

goroutine 20 [semacquire]:
sync.runtime_Syncsemacquire(0xc20804d0d0)
/root/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(_Cond).Wait(0xc20804d0c0)
/root/go/src/pkg/sync/cond.go:62 +0x9d
github.com/conformal/seelog.(_asyncLoopLogger).processItem(0xc208004660, 0x0)
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0xc2
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0xc208004660)
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x31
created by github.com/conformal/seelog.newAsyncLoopLogger
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x70

goroutine 21 [semacquire]:
sync.runtime_Syncsemacquire(0xc20804d250)
/root/go/src/pkg/runtime/sema.goc:257 +0xc0
sync.(_Cond).Wait(0xc20804d240)
/root/go/src/pkg/sync/cond.go:62 +0x9d
github.com/conformal/seelog.(_asyncLoopLogger).processItem(0xc208004720, 0x0)
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0xc2
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0xc208004720)
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x31
created by github.com/conformal/seelog.newAsyncLoopLogger
/root/blockchainr/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x70

goroutine 17 [syscall]:
runtime.goexit()
/root/go/src/pkg/runtime/proc.c:1445

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.