Well, I deleted everything, did a fresh install - of the version you suggested, 0.3.11 - and then ran
ipfs init
hereās what I got:
jonSmiths-MBP:bin jonSmith$ ipfs init
initializing ipfs node at /Users/jonSmith/.ipfs
generating 2048-bit RSA keypair...done
peer identity: QmUvF76ccLwhRcQ6DW26NtzC8YxcDpUivmZ1tkiNwbuAoM
panic: sync: inconsistent mutex state
And FYI, Iāve gotten this panic
error before, several times when doing this fresh install thing.
The full error message is actually much longer than that. Hereās what comes right after what I just posted above:
goroutine 1 [running]:
sync.(*Mutex).Lock(0xc820437c30)
/usr/local/Cellar/go/1.5.3/libexec/src/sync/mutex.go:74 +0x16d
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage.(*fileStorage).GetFiles(0xc820437c20, 0x200000002, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/storage/file_storage.go:166 +0xad
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb.(*session).getFiles(0xc820411ce0, 0x2, 0x0, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/session_util.go:44 +0x66
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb.(*DB).recoverJournal(0xc820094dc0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:454 +0x63
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb.openDB(0xc820411ce0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:111 +0x6eb
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb.Open(0x178a488, 0xc820437c20, 0xc820126f58, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:177 +0x17d
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb.OpenFile(0xc82047ad50, 0x22, 0xc820126f58, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/db.go:199 +0x97
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/leveldb.NewDatastore(0xc82047ad50, 0x22, 0xc8201273a0, 0xc82047ad50, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-datastore/leveldb/datastore.go:23 +0x92
github.com/ipfs/go-ipfs/repo/fsrepo.(*FSRepo).openDatastore(0xc82046d000, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/repo/fsrepo/fsrepo.go:351 +0x171
github.com/ipfs/go-ipfs/repo/fsrepo.open(0xc8201d3a60, 0x18, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/repo/fsrepo/fsrepo.go:159 +0x488
github.com/ipfs/go-ipfs/repo/fsrepo.Open.func1(0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/repo/fsrepo/fsrepo.go:106 +0x4e
github.com/ipfs/go-ipfs/repo.(*OnlyOne).Open(0xfa7fd0, 0x79cfa0, 0xc8204788c0, 0xc820127720, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/repo/onlyone.go:35 +0x150
github.com/ipfs/go-ipfs/repo/fsrepo.Open(0xc8201d3a60, 0x18, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/repo/fsrepo/fsrepo.go:108 +0xd4
main.addDefaultAssets(0x1784198, 0xc820098008, 0xc8201d3a60, 0x18, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/init.go:164 +0xd8
main.doInit(0x1784198, 0xc820098008, 0xc8201d3a60, 0x18, 0xc820260000, 0x800, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/init.go:124 +0x3b3
main.glob.func2(0x1785b10, 0xc82012a480, 0x1785c78, 0xc82017bc00)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/init.go:79 +0x405
github.com/ipfs/go-ipfs/commands.(*Command).Call(0xfaa580, 0x1785b10, 0xc82012a480, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/commands/command.go:110 +0x471
main.callCommand(0x1785be8, 0xc82024e380, 0x1785b10, 0xc82012a480, 0xfaa580, 0xf9fc80, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:343 +0xa5c
main.(*cmdInvocation).Run(0xc82024e340, 0x1785be8, 0xc82024e380, 0x0, 0x0, 0x0, 0x0)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:186 +0x1e5
main.main()
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/cmd/ipfs/main.go:151 +0x65b
goroutine 17 [syscall, locked to thread]:
runtime.goexit()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1
goroutine 27 [select, locked to thread]:
runtime.gopark(0xc1d6e8, 0xc820030f28, 0xa72a68, 0x6, 0xc1d618, 0x2)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/proc.go:185 +0x163
runtime.selectgoImpl(0xc820030f28, 0x0, 0x18)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/select.go:392 +0xa64
runtime.selectgo(0xc820030f28)
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/select.go:212 +0x12
runtime.ensureSigM.func1()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/signal1_unix.go:227 +0x323
runtime.goexit()
/usr/local/Cellar/go/1.5.3/libexec/src/runtime/asm_amd64.s:1721 +0x1
goroutine 20 [chan receive]:
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics.init.1.func2()
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics/metrics.go:321 +0x73
created by github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics.init.1
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/codahale/metrics/metrics.go:328 +0x7b
goroutine 21 [select]:
github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log.(*MirrorWriter).logRoutine(0xc820074c80)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log/writer.go:71 +0x33c
created by github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log.NewMirrorWriter
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/vendor/QmQg1J6vikuXF9oDvm4wpdeAUvvkVEKW1EYDw9HhTMnP2b/go-log/writer.go:38 +0xe2
goroutine 22 [syscall]:
os/signal.loop()
/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:22 +0x18
created by os/signal.init.1
/usr/local/Cellar/go/1.5.3/libexec/src/os/signal/signal_unix.go:28 +0x37
goroutine 29 [select]:
github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util.(*BufferPool).drain(0xc820102a80)
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:205 +0x271
created by github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util.NewBufferPool
/Users/dignifiedquire/opensource/ipfs/distributions/dists/go-ipfs/gopath/src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/syndtr/goleveldb/leveldb/util/buffer_pool.go:236 +0x26b