2025/12/06 13:59:32 Starting server on port 9001
2025/12/06 13:59:52 [OUT] (Login) Entering LoginCharlie
2025/12/06 13:59:52 http: panic serving 127.0.0.1:52746: runtime error: invalid memory address or nil pointer dereference
goroutine 5 [running]:
net/http.(*conn).serve.func1(0xc000316000)
net/http/server.go:1767 +0x140
panic(0x8936c0, 0xcadf70)
runtime/panic.go:679 +0x1c0
go.etcd.io/bbolt.(*Bucket).Cursor(...)
go.etcd.io/bbolt/bucket.go:84
go.etcd.io/bbolt.(*Bucket).Get(0x0, 0xc00033fe78, 0xa, 0x20, 0xa, 0x20, 0x0)
go.etcd.io/bbolt/bucket.go:260 +0x3e
github.com/fluofoxxo/outrun/db/dbaccess.Get.func1(0xc00022a1c0, 0x2030000, 0xc00022a1c0)
github.com/fluofoxxo/outrun/db/dbaccess/db.go:37 +0x120
go.etcd.io/bbolt.(*DB).View(0xc00022c000, 0xc00033ffe0, 0x0, 0x0)
go.etcd.io/bbolt/db.go:725 +0xaf
github.com/fluofoxxo/outrun/db/dbaccess.Get(0x917f0d, 0x7, 0xc0002170b0, 0xa, 0x86aec0, 0x9bf2f0, 0x86aec0, 0xc00018ad80, 0x86aec0)
github.com/fluofoxxo/outrun/db/dbaccess/db.go:35 +0xcb
github.com/fluofoxxo/outrun/db.GetPlayer(0xc0002170b0, 0xa, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
github.com/fluofoxxo/outrun/db/assistants.go:109 +0x8a
github.com/fluofoxxo/outrun/muxhandlers.Login(0xc000210cc0)
github.com/fluofoxxo/outrun/muxhandlers/login.go:62 +0x554
github.com/fluofoxxo/outrun/muxhandlers/muxobj.Handle.func1(0x9d1580, 0xc00022a0e0, 0xc0001e8300)
github.com/fluofoxxo/outrun/muxhandlers/muxobj/objMuxHandler.go:38 +0x10d
net/http.HandlerFunc.ServeHTTP(0xc000190100, 0x9d1580, 0xc00022a0e0, 0xc0001e8300)
net/http/server.go:2007 +0x4b
github.com/gorilla/mux.(*Router).ServeHTTP(0xc0001b4000, 0x9d1580, 0xc00022a0e0, 0xc0001e8100)
github.com/gorilla/mux/mux.go:210 +0xe9
main.removePrependingSlashes.func1(0x9d1580, 0xc00022a0e0, 0xc0001e8100)
github.com/fluofoxxo/outrun/main1.go:57 +0x128
net/http.HandlerFunc.ServeHTTP(0xc000191500, 0x9d1580, 0xc00022a0e0, 0xc0001e8100)
net/http/server.go:2007 +0x4b
net/http.serverHandler.ServeHTTP(0xc00022a000, 0x9d1580, 0xc00022a0e0, 0xc0001e8100)
net/http/server.go:2802 +0xab
net/http.(*conn).serve(0xc000316000, 0x9d21c0, 0xc000192bc0)
net/http/server.go:1890 +0x87c
created by net/http.(*Server).Serve
net/http/server.go:2927 +0x395