maufl / go-fosp

Offical FOSP implementation in go

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes, probably when updating subscriptions

maufl opened this issue · comments

goroutine 1772 [running]:
runtime.panic(0x6aa740, 0xa1401d)
/usr/lib/go/src/pkg/runtime/panic.c:266 +0xb6
github.com/maufl/go-fosp/fosp.(_Object).Merge(0xc210090a00, 0xc210090980)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/object.go:90 +0x19e
github.com/maufl/go-fosp/fosp.(_Database).Update(0xc2100507a0, 0xc2101f7090, 0xe, 0xc21016d740, 0xc210090980, ...)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/database.go:136 +0x421
github.com/maufl/go-fosp/fosp.(_ServerConnection).handleUpdate(0xc210257d90, 0xc2101f7090, 0xe, 0xc21016d780, 0x1)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/server-connection-request-handling.go:102 +0x132
github.com/maufl/go-fosp/fosp.(_ServerConnection).handleRequest(0xc210257d90, 0xc21016d780, 0xc21016d780)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/server-connection-request-handling.go:54 +0x1f4
github.com/maufl/go-fosp/fosp.(_ServerConnection).handleMessage(0xc210257d90, 0x7f998ba788b0, 0xc21016d780)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/server-connection-message-handling.go:20 +0x5d
github.com/maufl/go-fosp/fosp.(_ServerConnection).HandleMessage(0xc210257d90, 0x7f998ba788b0, 0xc21016d780)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/server-connection.go:97 +0x4f
github.com/maufl/go-fosp/fosp.(*Connection).listen(0xc210257d90)
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/connection.go:97 +0x2de
created by github.com/maufl/go-fosp/fosp.NewServerConnection
/home/maufl/Code/go/src/github.com/maufl/go-fosp/fosp/server-connection.go:43 +0x166