2013/02/26 10:58:27 Processing Block /demo/dvid-test-data/grayscale8/iso.2622.png via blockHandler 0: (13,13,1)
panic: runtime error: slice bounds out of range [recovered]
panic: runtime error: slice bounds out of range
goroutine 4 [running]:
github.com/syndtr/goleveldb/leveldb._func_014(0x2671fb0, 0x2671100, 0x2671fb8, 0x2671c70)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:392 +0x1ac
----- stack segment boundary -----
github.com/syndtr/goleveldb/leveldb.iKey.ukey(0x4ab868, 0x0, 0xf8400e42b0, 0xa00000002, 0x1, ...)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/key.go:73 +0x75
github.com/syndtr/goleveldb/leveldb.(*iComparer).Compare(0xf8400a8e50, 0xf8400e42b0, 0xa0000000a, 0x4ab868, 0x0, ...)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/comparer.go:21 +0xb2
github.com/syndtr/goleveldb/leveldb.(*session).pickCompaction(0xf8400d9000, 0x0, 0x2671fa0, 0x1)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/session.go:173 +0x4c5
github.com/syndtr/goleveldb/leveldb.(*DB).compaction(0xf8400b4180, 0x0)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_compaction.go:463 +0x157
created by github.com/syndtr/goleveldb/leveldb.open
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db.go:70 +0x1f3
goroutine 1 [chan receive]:
net.(*pollServer).WaitRead(0xf8400fa8c0, 0xf840111000, 0xf8400c48a0, 0x23, 0x1, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:268 +0x73
net.(*netFD).accept(0xf840111000, 0xd19ce, 0x0, 0xf840090390, 0xf8400a9040, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:622 +0x20d
net.(*TCPListener).AcceptTCP(0xf8400f7730, 0xf8400f8a00, 0x0, 0x0, 0x8, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/tcpsock_posix.go:320 +0x71
net.(*TCPListener).Accept(0xf8400f7730, 0x0, 0x0, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/tcpsock_posix.go:330 +0x49
net/http.(*Server).Serve(0xf840114040, 0xf840114000, 0xf8400f7730, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:1029 +0x88
net/http.Serve(0xf840114000, 0xf8400f7730, 0x0, 0x0, 0xf840114000, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:994 +0x71
github.com/janelia-flyem/dvid/server.(*Service).ServeRpc(0x4a7958, 0x30081c, 0xe, 0x1bd888, 0xf8400f84c0, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/server.go:109 +0x1a8
github.com/janelia-flyem/dvid/server.Serve(0x7fff5fbff857, 0x7fff00000008, 0x0, 0x0, 0x0, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/server.go:63 +0x401
main.DoServe(0xf8400a8ce0, 0x5, 0x2f0cec, 0x7672657300000005)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/dvid.go:108 +0xcd
main.DoCommand(0xf8400a8ce0, 0xf8400a8ce0, 0x27b9e0, 0x985b)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/dvid.go:80 +0x159
main.main()
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/dvid.go:62 +0x184
goroutine 2 [syscall]:
created by runtime.main
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/runtime/proc.c:221
goroutine 3 [chan send]:
github.com/syndtr/goleveldb/leveldb.(*DB).flush(0xf8400b4180, 0x0, 0x0, 0x0, 0x10bdff, ...)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_write.go:62 +0x1b5
github.com/syndtr/goleveldb/leveldb.(*DB).Write(0xf8400b4180, 0xf84013a030, 0xf8404ccc68, 0x0, 0x0, ...)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_write.go:109 +0x1d3
github.com/syndtr/goleveldb/leveldb.(*DB).Put(0xf8400b4180, 0xf840b7b7a0, 0x2000000011, 0xf841535000, 0x100000001000, ...)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_write.go:162 +0x94
github.com/janelia-flyem/dvid/keyvalue.(*goLDB).Put(0xf8400d2580, 0xf840b7b7a0, 0x2000000011, 0xf841535000, 0x100000001000, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/keyvalue/leveldbgo.go:236 +0xb4
github.com/janelia-flyem/dvid/datastore.kvdb.putBytes(0xf840092d70, 0xf8400d2580, 0xf840b7b7a0, 0x2000000011, 0xf841535000, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datastore/keyvalue.go:97 +0xe5
github.com/janelia-flyem/dvid/datastore.blockHandler(0x0, 0x0)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datastore/cache.go:147 +0x87f
created by github.com/janelia-flyem/dvid/datastore.init·1
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datastore/cache.go:60 +0xe4
goroutine 5 [chan receive]:
github.com/syndtr/goleveldb/leveldb.(*DB).writeJournal(0xf8400b4180, 0x0)
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db_write.go:25 +0x3c
created by github.com/syndtr/goleveldb/leveldb.open
/Users/katzw/work/janelia/go/src/github.com/syndtr/goleveldb/leveldb/db.go:71 +0x20a
goroutine 6 [chan receive]:
net.(*pollServer).WaitRead(0xf8400fa8c0, 0xf8400c07e0, 0xf8400c48a0, 0x23, 0x1, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:268 +0x73
net.(*netFD).accept(0xf8400c07e0, 0xd19ce, 0x0, 0xf840090390, 0xf8400a9040, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:622 +0x20d
net.(*TCPListener).AcceptTCP(0xf8400f75e0, 0x2673e58, 0x0, 0x0, 0x18, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/tcpsock_posix.go:320 +0x71
net.(*TCPListener).Accept(0xf8400f75e0, 0x0, 0x0, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/tcpsock_posix.go:330 +0x49
net/http.(*Server).Serve(0xf8400fa200, 0xf840114000, 0xf8400f75e0, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:1029 +0x88
net/http.(*Server).ListenAndServe(0xf8400fa200, 0x6970612f00000005, 0x39411, 0x100000001)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:1019 +0xb6
github.com/janelia-flyem/dvid/server.(*Service).ServeHttp(0x4a7958, 0x3007fc, 0xe, 0x0)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/server.go:90 +0x15a
created by github.com/janelia-flyem/dvid/server.Serve
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/server.go:60 +0x3d1
goroutine 7 [syscall]:
syscall.Syscall6()
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/syscall/asm_darwin_amd64.s:38 +0x5
syscall.kevent(0xe, 0x0, 0x0, 0xf8400b4308, 0xa, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/syscall/zsyscall_darwin_amd64.go:199 +0x88
syscall.Kevent(0xf80000000e, 0x0, 0x0, 0xf8400b4308, 0xa0000000a, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/syscall/syscall_bsd.go:546 +0xa4
net.(*pollster).WaitFD(0xf8400b4300, 0xf8400fa8c0, 0x0, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd_darwin.go:96 +0x185
net.(*pollServer).Run(0xf8400fa8c0, 0x0)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:236 +0xe4
created by net.newPollServer
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/newpollserver.go:35 +0x382
goroutine 8 [chan receive]:
net.(*pollServer).WaitRead(0xf8400fa8c0, 0xf8400c0870, 0xf8400c48a0, 0x23, 0x1, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:268 +0x73
net.(*netFD).Read(0xf8400c0870, 0xf84011b000, 0x100000001000, 0xffffffff, 0xf840090390, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/fd.go:428 +0x1ec
net.(*TCPConn).Read(0xf8400f7838, 0xf84011b000, 0x100000001000, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/tcpsock_posix.go:87 +0xce
bufio.(*Reader).fill(0xf840114200, 0xf84011a018)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/bufio/bufio.go:77 +0xf0
bufio.(*Reader).Read(0xf840114200, 0xf8400f8830, 0x900000001, 0xf800000001, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/bufio/bufio.go:142 +0x188
encoding/gob.decodeUintReader(0xf8400fccf0, 0xf840114200, 0xf8400f8830, 0x900000009, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/encoding/gob/decode.go:65 +0x87
encoding/gob.(*Decoder).recvMessage(0xf84011a000, 0x12289, 0xf8400fcef8, 0x26758a0)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/encoding/gob/decoder.go:73 +0x43
encoding/gob.(*Decoder).decodeTypeSequence(0xf84011a000, 0xf84011ee00, 0x160, 0x0, 0x2d4ca8, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/encoding/gob/decoder.go:142 +0x57
encoding/gob.(*Decoder).DecodeValue(0xf84011a000, 0x1b3f70, 0xf84011eee0, 0x160, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/encoding/gob/decoder.go:206 +0x124
encoding/gob.(*Decoder).Decode(0xf84011a000, 0x1b3f60, 0xf84011eee0, 0xf84011eee0, 0x4011a000, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/encoding/gob/decoder.go:185 +0x20a
net/rpc.(*gobServerCodec).ReadRequestHeader(0xf8400fcea0, 0xf84011eee0, 0x293cf0, 0x293cf0, 0x100000000, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:371 +0x4e
net/rpc.(*Server).readRequestHeader(0xf84008a600, 0xf840114240, 0xf8400fcea0, 0x0, 0x0, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:522 +0x94
net/rpc.(*Server).readRequest(0xf84008a600, 0xf840114240, 0xf8400fcea0, 0xf840106000, 0xf8400fb980, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:489 +0x90
net/rpc.(*Server).ServeCodec(0xf84008a600, 0xf840114240, 0xf8400fcea0, 0xf840114240)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:408 +0x69
net/rpc.(*Server).ServeConn(0xf84008a600, 0xf840114180, 0xf8400f7838, 0xf840114180)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:400 +0x146
net/rpc.(*Server).ServeHTTP(0xf84008a600, 0xf840114140, 0xf840114100, 0xf840118000, 0xf800000000, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:636 +0x377
net/http.(*ServeMux).ServeHTTP(0xf84008de00, 0xf840114140, 0xf840114100, 0xf840118000, 0xf840114100, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:941 +0xb9
net/http.(*conn).serve(0xf840112d20, 0x0)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:669 +0x621
created by net/http.(*Server).Serve
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/http/server.go:1057 +0x430
goroutine 9 [chan send]:
github.com/janelia-flyem/dvid/datastore.(*VersionService).ProcessBlock(0xf8400d2880, 0xf8403e2cc0, 0xf84013b630, 0xc0000000c, 0xf800000100, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datastore/cache.go:75 +0x1a5
github.com/janelia-flyem/dvid/datatype/grayscale8.(*Datatype).ProcessBlocks(0xf84008c6c0, 0xf8400d2880, 0xf8408b2a01, 0xf84145df00, 0x0, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datatype/grayscale8/grayscale8.go:206 +0x5f2
github.com/janelia-flyem/dvid/datatype/grayscale8.(*Datatype).ServerAdd(0xf84008c6c0, 0xf8400d2880, 0xf840107fa0, 0xf840107fb0, 0xf840114a40, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datatype/grayscale8/grayscale8.go:150 +0x9cf
github.com/janelia-flyem/dvid/datatype/grayscale8.(*Datatype).Do(0xf84008c6c0, 0xf8400d2880, 0xf840107fa0, 0xf840107fb0, 0xf840114a40, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/datatype/grayscale8/grayscale8.go:73 +0x15c
github.com/janelia-flyem/dvid/server.(*Command).datatypeDo(0xf840107fa0, 0xf840114a40, 0x2ed254, 0x706c656800000004, 0xffffffff, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/command.go:120 +0x716
github.com/janelia-flyem/dvid/server.(*RpcConnection).Do(0xf8400f7600, 0xf840107fa0, 0xf840114a40, 0x0, 0x0, ...)
/Users/katzw/work/janelia/go/src/github.com/janelia-flyem/dvid/server/command.go:63 +0x3a8
----- stack segment boundary -----
reflect.Value.call(0x24d708, 0x377c6, 0x130, 0x2e3444, 0x6c6c614300000004, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/reflect/value.go:521 +0x135e
reflect.Value.Call(0x24d708, 0x377c6, 0x130, 0x278eeb8, 0x300000003, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/reflect/value.go:334 +0x85
net/rpc.(*service).call(0xf8400fa800, 0xf84008a600, 0xf8400f7740, 0xf840106000, 0xf8400fb980, ...)
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:352 +0x133
created by net/rpc.(*Server).ServeCodec
/Users/katzw/buildem/src/golang-1.0.3/src/pkg/net/rpc/server.go:423 +0x39e