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

btcd crash on i386 (and likely arm) #96

Closed
jcvernaleo opened this issue Feb 13, 2014 · 0 comments
Closed

btcd crash on i386 (and likely arm) #96

jcvernaleo opened this issue Feb 13, 2014 · 0 comments

Comments

@jcvernaleo
Copy link
Member

A fully updated btcd on my i386 linux system, initial block download (go 1.2) panics right away:

jcv@goomba ~ $ btcd
10:23:37 2014-02-13 [WRN] BTCD: open /home/jcv/.btcd/btcd.conf: no such file or directory
10:23:37 2014-02-13 [INF] BTCD: Version 0.6.0-alpha
10:23:37 2014-02-13 [INF] BTCD: Loading block database from '/home/jcv/.btcd/data/mainnet/blocks_leveldb'
10:23:37 2014-02-13 [INF] BTCD: Inserted genesis block 000000000019d6689c085ae165831e934ff763ae46a2a6c172b3f1b60a8ce26f
10:23:37 2014-02-13 [INF] BTCD: Block database loaded with block height 0
10:23:37 2014-02-13 [INF] BMGR: Generating initial block node index. This may take a while...
10:23:37 2014-02-13 [INF] BMGR: Block index generation complete
10:23:37 2014-02-13 [INF] SRVR: Server listening on [::]:8333
10:23:37 2014-02-13 [INF] SRVR: Server listening on 0.0.0.0:8333
10:23:37 2014-02-13 [INF] AMGR: Loaded 0 addresses from '/home/jcv/.btcd/data/mainnet/peers.json'
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x1 pc=0x812e56c]

goroutine 29 [running]:
runtime.panic(0x8440720, 0x8a61ac8)
/home/jcv/conformal/code/go-hg/src/pkg/runtime/panic.c:266 +0xac
sync/atomic.AddUint64(0x18d33bfc, 0x79, 0x0, 0x18d0d980, 0x11171)
/home/jcv/conformal/code/go-hg/src/pkg/sync/atomic/asm_386.s:118 +0xc
main.(_peer).writeMessage(0x18d38c60, 0xb75834b0, 0x18d0d980)
/home/jcv/conformal/code/go/src/github.com/conformal/btcd/peer.go:1028 +0x383
main.(_peer).outHandler(0x18d38c60)
/home/jcv/conformal/code/go/src/github.com/conformal/btcd/peer.go:1391 +0x1e5
created by main.(*peer).Start
/home/jcv/conformal/code/go/src/github.com/conformal/btcd/peer.go:1515 +0x23b

goroutine 1 [chan receive]:
main.btcdMain(0x0, 0x0, 0x0)
/home/jcv/conformal/code/go/src/github.com/conformal/btcd/btcd.go:121 +0x680
main.main()
/home/jcv/conformal/code/go/src/github.com/conformal/btcd/btcd.go:150 +0x55

goroutine 3 [syscall]:
os/signal.loop()
/home/jcv/conformal/code/go-hg/src/pkg/os/signal/signal_unix.go:21 +0x21
created by os/signal.init·1
/home/jcv/conformal/code/go-hg/src/pkg/os/signal/signal_unix.go:27 +0x34

goroutine 4 [semacquire]:
sync.runtime_Syncsemacquire(0x18d63fc8)
/home/jcv/conformal/code/go-hg/src/pkg/runtime/sema.goc:257 +0xd0
sync.(_Cond).Wait(0x18d63fc0)
/home/jcv/conformal/code/go-hg/src/pkg/sync/cond.go:62 +0x7a
github.com/conformal/seelog.(_asyncLoopLogger).processItem(0x18d660c0, 0x0)
/home/jcv/conformal/code/go/src/github.com/conformal/seelog/behavior_asynclooplogger.go:50 +0x82
github.com/conformal/seelog.(*asyncLoopLogger).processQueue(0x18d660c0)
/home/jcv/conformal/code/go/src/github.com/conformal/seelog/behavior_asynclooplogger.go:63 +0x34
created by github.com/conformal/seelog.newAsyncLoopLogger
/home/jcv/conformal/code/go/src/github.com/conformal/seelog/behavior_asynclooplogger.go:40 +0x6a

(and so on....)

gsalgado pushed a commit to gsalgado/btcd that referenced this issue Jul 29, 2014
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

1 participant