panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x0 pc=0x4604e8]
goroutine 121 [running]:
runtime.panic(0x6c4460, 0xa60e28)
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/panic.c:266 +0xb6
github.com/eliothedeman/drivefs/lib.func·001()
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/driveDir.go:118 +0x438
created by github.com/eliothedeman/drivefs/lib.(*DriveDir).ReadDir
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/driveDir.go:131 +0xf0
goroutine 1 [chan receive]:
main.main()
/home/matt/git/go/src/github.com/eliothedeman/drivefs/drivefs.go:91 +0x7f6
goroutine 3 [syscall]:
os/signal.loop()
/home/matt/.gvm/gos/go1.2.1/src/pkg/os/signal/signal_unix.go:21 +0x1e
created by os/signal.init·1
/home/matt/.gvm/gos/go1.2.1/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 5 [syscall]:
syscall.Syscall(0x0, 0x7, 0xc210467000, 0x2000, 0x643ec0, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x7, 0xc210467000, 0x2000, 0x2000, 0x2000, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
syscall.Read(0x7, 0xc210467000, 0x2000, 0x2000, 0x2000, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/syscall_unix.go:135 +0x5c
bazil.org/fuse.(*Conn).ReadRequest(0xc210047900, 0x7ffef50dfd88, 0xc2104100f0, 0x0, 0x0)
/home/matt/git/go/src/bazil.org/fuse/fuse.go:377 +0x131
bazil.org/fuse/fs.(*Server).Serve(0xc21013e480, 0xc210047900, 0x7ffef4f58f48, 0x45fce7)
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:327 +0x48e
bazil.org/fuse/fs.Serve(0xc210047900, 0x7ffef50df170, 0x0, 0x7ffef50df170, 0x0)
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:346 +0x77
github.com/eliothedeman/drivefs/lib.(*Server).Serve(0xc2100388f0, 0xa)
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:81 +0xd5
created by main.main
/home/matt/git/go/src/github.com/eliothedeman/drivefs/drivefs.go:85 +0x6a3
goroutine 11 [chan receive]:
github.com/eliothedeman/drivefs/lib.func·005()
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:73 +0x51
created by github.com/eliothedeman/drivefs/lib.(*Server).Serve
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:80 +0x77
goroutine 7 [syscall]:
runtime.goexit()
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/proc.c:1394
created by os/signal.init·1
/home/matt/.gvm/gos/go1.2.1/src/pkg/os/signal/signal_unix.go:27 +0x31
goroutine 5 [syscall]:
syscall.Syscall(0x0, 0x7, 0xc210467000, 0x2000, 0x643ec0, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/asm_linux_amd64.s:18 +0x5
syscall.read(0x7, 0xc210467000, 0x2000, 0x2000, 0x2000, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/zsyscall_linux_amd64.go:838 +0x72
syscall.Read(0x7, 0xc210467000, 0x2000, 0x2000, 0x2000, ...)
/home/matt/.gvm/gos/go1.2.1/src/pkg/syscall/syscall_unix.go:135 +0x5c
bazil.org/fuse.(*Conn).ReadRequest(0xc210047900, 0x7ffef50dfd88, 0xc2104100f0, 0x0, 0x0)
/home/matt/git/go/src/bazil.org/fuse/fuse.go:377 +0x131
bazil.org/fuse/fs.(*Server).Serve(0xc21013e480, 0xc210047900, 0x7ffef4f58f48, 0x45fce7)
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:327 +0x48e
bazil.org/fuse/fs.Serve(0xc210047900, 0x7ffef50df170, 0x0, 0x7ffef50df170, 0x0)
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:346 +0x77
github.com/eliothedeman/drivefs/lib.(*Server).Serve(0xc2100388f0, 0xa)
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:81 +0xd5
created by main.main
/home/matt/git/go/src/github.com/eliothedeman/drivefs/drivefs.go:85 +0x6a3
goroutine 11 [chan receive]:
github.com/eliothedeman/drivefs/lib.func·005()
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:73 +0x51
created by github.com/eliothedeman/drivefs/lib.(*Server).Serve
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/server.go:80 +0x77
goroutine 7 [syscall]:
runtime.goexit()
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/proc.c:1394
goroutine 8 [finalizer wait]:
runtime.park(0x40bc00, 0xa64b70, 0xa62968)
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/proc.c:1342 +0x66
runfinq()
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/mgc0.c:2279 +0x84
runtime.goexit()
/home/matt/.gvm/gos/go1.2.1/src/pkg/runtime/proc.c:1394
goroutine 9 [runnable]:
net/http.(*persistConn).readLoop(0xc210064680)
/home/matt/.gvm/gos/go1.2.1/src/pkg/net/http/transport.go:778 +0x68f
created by net/http.(*Transport).dialConn
/home/matt/.gvm/gos/go1.2.1/src/pkg/net/http/transport.go:528 +0x607
goroutine 10 [select]:
net/http.(*persistConn).writeLoop(0xc210064680)
/home/matt/.gvm/gos/go1.2.1/src/pkg/net/http/transport.go:791 +0x271
created by net/http.(*Transport).dialConn
/home/matt/.gvm/gos/go1.2.1/src/pkg/net/http/transport.go:529 +0x61e
goroutine 120 [select]:
github.com/eliothedeman/drivefs/lib.(*DriveDir).ReadDir(0xc21043b940, 0xc210419000, 0xc21043b940, 0x7ffef50dfdc0, 0xc21043b940, ...)
/home/matt/git/go/src/github.com/eliothedeman/drivefs/lib/driveDir.go:133 +0x2b2
bazil.org/fuse/fs.(*serveConn).serve(0xc210242d20, 0x7ffef50dfd88, 0xc2104100f0)
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:1045 +0xdc7
created by bazil.org/fuse/fs.(*Server).Serve
/home/matt/git/go/src/bazil.org/fuse/fs/serve.go:335 +0x557